Skip to content

chore(release): 1.3.0 - #52

Merged
codewizdave merged 6 commits into
mainfrom
release/1.3.0
Aug 4, 2026
Merged

chore(release): 1.3.0#52
codewizdave merged 6 commits into
mainfrom
release/1.3.0

Conversation

@martyy-code

Copy link
Copy Markdown
Contributor

Release 1.3.0 of @deessejs/errors.

martyy-code and others added 6 commits August 4, 2026 10:18
Closes #29. Mirrors Python 3.11 PEP 678 (BaseException.add_note()).

Was documented but never implemented; consumers got a TypeScript error
when following the JSDoc examples. The notes: string[] storage was
already wired up; only the method was missing.

- types.ts: declare addNote(note: string): ErrorInstance<TFields>;
  drop the stale 'TODO: Implement .addNote()' comment and the
  'implemented in a separate task' notice.
- error.ts: implement addNote in the factory closure. Pushes to
  notes and returns this for chaining.
- tests/error.test.ts: cover single note, chained notes,
  preservation through .from(), and isolation between siblings.

Adds a changeset (minor bump) for the new API.
…stacked-PR learnings

Three process docs under docs/internal/engineering/process/, each
tuned to a persona:

- implementing-an-issue.md  — dev's playbook (read issue, branch, code,
  changesets, push, PR). Companion for anyone picking up an issue.
- releasing-a-new-version.md — release engineer's playbook (build the
  release branch, cherry-pick, push, watch the workflow, verify
  artifacts). Mirrors the conventions we hardened in PRs #39-47.
- pr-authoring.md           — standards for the body of a PR (six
  canonical sections, mandatory code sample when public API
  changes, before/after default, after-only when purely additive).
  Enforces what PR #50 demonstrated: documented the .addNote()
  worked-example as the in-doc template.

Also adds docs/learnings/github/stacked-pr/README.md, notes captured
during PR #39-43 setup around how stacked PRs work in GitHub and how
they apply to a release branch.

No code, no workflow changes. Documentation only.
- Prettier auto-formatted two of the four process docs (markdown
  table alignment in pr-authoring.md, bullet spacing in
  implementing-an-issue.md).
- Add a no-op changeset so the ci.yml lint passes. The lint currently
  requires a changeset on every PR to staging regardless of path; this
  is a known limitation tracked in the release-system plan Section 4.
  A future change can implement the documented exemption for docs-only
  and CI-only PRs.
Bump @deessejs/errors to 1.3.0.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants