Files
tiny-pattern-ts/CHANGELOG.md
T
tmu ae7ffb6fa2 📝 Document the two-argument fallback
Rewrite development/library.md around the new shape: the fallback is a second
argument (so it can receive the remainder), `R` needs an inference site in the
handler map, `Exact` restores the excess-property check, and the overload order
is load-bearing. Record this branch's rejected alternatives (single-object `_`,
currying, `this`/HKT, variance/`const`/`NoInfer`/brands) and the redundant-
fallback known issue. Add the changelog note and check off the backlog task.
2026-09-18 23:52:47 +00:00

2.8 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

  • move the _ fallback to a second argument typed Exclude<T, keyof handlers>, so it receives only the unhandled keys, and infer handler returns from short, unannotated handlers

0.3.0 - 2026-09-18

  • condensed primitive matcher factories down to 2 from formerly 4
  • house shared test helpers under src/util/__tests__/

0.2.0 - 2026-09-16

  • allow ternaries and lowercase comments in oxlint
  • switch src/primitive.ts prose from block comments to line comments
  • remove the template's match/P example modules and their documentation, and point src/index.ts at the primitive matchers

0.1.8 - 2026-09-16

  • upgrade dependencies
  • ignore @types/node in maintain:outdated (misleading latest dist-tag)
  • require extremely concise prose in development/

0.1.7 - 2026-09-16

  • require a short summary under [Unreleased] in the changelog before a branch is finished
  • let create:branch start from a main that is ahead of its upstream, so a finished merge no longer blocks the next branch until it is pushed

0.1.6 - 2026-09-15

  • restructure the documentation: README.md for users, CONTRIBUTING.md for contributors, and development/ for the decisions, rejected alternatives and known issues
  • document the decisions and known issues for CI, tooling, testing, publishing and the workflow

0.1.5 - 2026-09-15

  • improve CI configuration

0.1.4 - 2026-09-14

  • fix CI to node from custom image
  • upgrade dependencies

0.1.3 - 2026-09-14

  • change to custom image for CI

0.1.2 - 2026-09-14

  • upgrade dependencies

0.1.1 - 2026-09-14

  • upgrade dependencies

0.1.0 - 2026-09-14

  • basic setup