Releases: deessejs/errors
Release list
@deessejs/errors@1.4.0
@deessejs/errors
1.4.0
Minor Changes
-
93389bd: Add
StandardSchemaV1runtime validation and message-as-function mode toerror()(RFC 0001).- New API: pass
fields: StandardSchemaV1(Zod, Valibot, ArkType, etc.) and a functionmessage: (data) => string. Args are validated at instantiation; invalid inputs throwArgsValidationError. - The function form receives the parsed (post-transform) data, so schemas that brand, coerce, or refine work as expected.
- New export
ArgsValidationErrorwithsource,vendor,issues. Re-exported from@deessejs/errorsso consumers caninstanceof-check. ErrorFactory.schemahas been removed. The duplication betweenfieldsandschemais gone.- The legacy string-template form (
message: "Field {field}") keeps working in 1.x and emits a single deprecation warning per call site. SetDEESSEJS_ERRORS_LEGACY_TEMPLATES=1to silence. The legacy form will be removed in 2.0.0.
See RFC 0001 for the full design discussion.
- New API: pass
1.3.3
Patch Changes
-
1acfb53: Refresh the README and package.json metadata for the npm listing.
README:
- Adopt the shared ecosystem layout (badges block, What is included table, Quick start, Compatibility, Project structure, Publishing, Architecture notes, Contributing, Acknowledgements).
- Credit
deessejs/package-templateanddeessejs/fpin the new Acknowledgements section. - Surface the
addNote()(PEP 678),raise(),causes(), and theResult/Tryinterop story in both the root and the package README.
Package metadata:
- Replace the placeholder description with a more searchable summary (Python-style, ESM,
@deessejs/fpinterop). - Add
bugs.url,files,sideEffects: false,engines.node, andfunding(GitHub Sponsors). - Refresh
keywords: dropnpm-package, addstandard-schema,esm,monorepo.
1.3.2
Patch Changes
- 64eb926: Release @deessejs/errors@1.3.1 (post-merge changeset to drive release workflow)
1.3.1
Patch Changes
- 0b9938a: Release @deessejs/errors@1.3.0 (post-merge changeset to drive release workflow)
1.3.0
Minor Changes
- 172e81c: Add
ErrorInstance.addNote(note)for attaching runtime context to errors (PEP 678, mirrors Python 3.11). Returns the instance for chaining. Thenotes: string[]property was already implemented; the method was missing despite being documented. Closes #29. - 81a1347: Add CI lint that requires a changeset on every PR to
staging. Part of the release system plan (Phase 4).
Patch Changes
-
5a6f11c: Tag the release job with
environment: releaseso the run is recorded as a deployment to thereleaseGitHub environment. Future hardening (required reviewers, branch restrictions, wait timer) can attach to the same environment without further workflow changes. Provenance and trusted publishing are unaffected. -
3c0c1d0: Add the missing
repositoryfield topackages/errors/package.json. Trusted publishing with provenance requirespackage.json:repository.urlto match the GitHub repo URL from the OIDC token — without it, npm rejects the publish withE422: Error verifying sigstore provenance bundle: "repository.url" is "". -
46ed266: Add documentation under
docs/internal/engineering/process/(implementing-an-issue.md,releasing-a-new-version.md,pr-authoring.md) anddocs/learnings/github/stacked-pr/README.md. No code or workflow changes. The changeset is required by the currentci.ymllint; it does not represent a feature bump. -
e5de45f: Update
docs/internal/engineering/plans/release-system.mdto reflect the post-plan additions:Section 7 — Trusted publishing & environmentdocuments npm OIDC trusted publishing and thereleaseGitHub environment.Appendix C — Post-plan decision logcaptures the new decisions.Definition of doneadds two new items for OIDC publish and env record.Statusmoves from "Proposed" to "Approved and partially implemented onstaging". -
f710cdc: Update
CLAUDE.mdandCONTRIBUTING.mdto reflect the actual branching model: devs land onstaging, release engineer cherry-picks tomainwith aversion bumplabel, hotfixes branch frommain. The previousmain <- staging <- devmodel was documented but not practiced. Part of the release system plan (Phase 5). -
30dc048: Fix npm trusted publishing (OIDC) end-to-end. Three changes:
- Release workflow bumps Node 22 → 24 (the runner default; matches our other release workflows, and aligns with npm CLI ≥ 11.5.1 + Node ≥ 22.14.0 requirements for trusted publishing).
Publish packagesstep now passesenv: NPM_CONFIG_PROVENANCE: 'true', which forces pnpm publish down the OIDC code path instead of falling back to a token.packages/errors/package.jsonnow declarespublishConfig.provenance: true, so npm always emits a provenance attestation on publish (belt + suspenders alongside the env var).
-
8648722: Fix a bug in the release workflow:
git diff --quiet(without--cached) compared the working tree to the index, which is in sync immediately aftergit add -A. This caused the version bump commit to be skipped, leaving the working tree in apnpm changeset publish-able state but never pushed tomain. Usegit diff --cached --quietso the comparison is against the last commit (HEAD), which is what we actually want. -
260f046: Rewrite the release workflow to detect pending changesets explicitly and gate all publish steps on detection. Tag is now pushed at the version bump commit (not the merge commit), fixing the
@deessejs/errors@1.1.1tag drift. Addsdry_runandpackagesinputs toworkflow_dispatch. Part of the release system plan (Phase 3). -
4380419: Remove the
version bumplabel gate from the release workflow. Every PR merged tomainnow produces a release if it contains.changeset/*.mdfiles in its diff. Thehas_changesetsdetection step is the only condition. Simplifies the release engineer's job — no more remembering to label. -
e453eb5: Switch the release workflow to npm trusted publishing (OIDC) instead of
secrets.NPM_TOKEN. Theid-token: writepermission, already declared on the job, is sufficient for GitHub to mint the OIDC token that npm exchanges for a short-lived publish credential. Provenance is generated automatically on public repos. TheNPM_TOKENsecret can be revoked once the first OIDC publish succeeds.
1.1.1
Patch Changes
-
Release v1.1.1: infrastructure improvements and SEO enhancements
Fixed
- Add changeset version step and tag push to release workflow
- Add display flex to all OG image divs for Satori compatibility
Changed
- Comprehensive SEO optimization for @deessejs/errors website
- Add banner image for OG social sharing
- Add homepage URL to package.json for npm SEO
- Add sitemap, robots.txt, homepage metadata and canonical URLs
1.1.0
Minor Changes
- 65c9327: release v1.1.0: documentation overhaul, SEO improvements, CI enhancements
1.0.0
Major Changes
-
50bf63f: ## v1.0.0 — Core Foundation
Initial release of
@deessejs/errors, a function-based error handling library inspired by Python's error system.Added
error()function for defining error types with Standard Schema supportraise()function for throwing errors- Native
throwsyntax support is()function for type checking with inheritance supportinheritsoption for single and multiple inheritance.from()method for exception chainingcauses()function for chain traversal (most recent first)err.fieldsnamespace for user-defined data- Message templates with
{field}placeholders - All error properties always defined (never undefined)
- Standard Schema compliance for field definitions (Zod, Valibot, ArkType)
TypeScript Support
- Generic types:
ErrorFactory<T>,ErrorInstance<T> - Full type inference with fields
- No
any— only generics and proper types
@deessejs/errors@1.3.3
@deessejs/errors
1.3.3
Patch Changes
-
1acfb53: Refresh the README and package.json metadata for the npm listing.
README:
- Adopt the shared ecosystem layout (badges block, What is included table, Quick start, Compatibility, Project structure, Publishing, Architecture notes, Contributing, Acknowledgements).
- Credit
deessejs/package-templateanddeessejs/fpin the new Acknowledgements section. - Surface the
addNote()(PEP 678),raise(),causes(), and theResult/Tryinterop story in both the root and the package README.
Package metadata:
- Replace the placeholder description with a more searchable summary (Python-style, ESM,
@deessejs/fpinterop). - Add
bugs.url,files,sideEffects: false,engines.node, andfunding(GitHub Sponsors). - Refresh
keywords: dropnpm-package, addstandard-schema,esm,monorepo.
1.3.2
Patch Changes
- 64eb926: Release @deessejs/errors@1.3.1 (post-merge changeset to drive release workflow)
1.3.1
Patch Changes
- 0b9938a: Release @deessejs/errors@1.3.0 (post-merge changeset to drive release workflow)
1.3.0
Minor Changes
- 172e81c: Add
ErrorInstance.addNote(note)for attaching runtime context to errors (PEP 678, mirrors Python 3.11). Returns the instance for chaining. Thenotes: string[]property was already implemented; the method was missing despite being documented. Closes #29. - 81a1347: Add CI lint that requires a changeset on every PR to
staging. Part of the release system plan (Phase 4).
Patch Changes
-
5a6f11c: Tag the release job with
environment: releaseso the run is recorded as a deployment to thereleaseGitHub environment. Future hardening (required reviewers, branch restrictions, wait timer) can attach to the same environment without further workflow changes. Provenance and trusted publishing are unaffected. -
3c0c1d0: Add the missing
repositoryfield topackages/errors/package.json. Trusted publishing with provenance requirespackage.json:repository.urlto match the GitHub repo URL from the OIDC token — without it, npm rejects the publish withE422: Error verifying sigstore provenance bundle: "repository.url" is "". -
46ed266: Add documentation under
docs/internal/engineering/process/(implementing-an-issue.md,releasing-a-new-version.md,pr-authoring.md) anddocs/learnings/github/stacked-pr/README.md. No code or workflow changes. The changeset is required by the currentci.ymllint; it does not represent a feature bump. -
e5de45f: Update
docs/internal/engineering/plans/release-system.mdto reflect the post-plan additions:Section 7 — Trusted publishing & environmentdocuments npm OIDC trusted publishing and thereleaseGitHub environment.Appendix C — Post-plan decision logcaptures the new decisions.Definition of doneadds two new items for OIDC publish and env record.Statusmoves from "Proposed" to "Approved and partially implemented onstaging". -
f710cdc: Update
CLAUDE.mdandCONTRIBUTING.mdto reflect the actual branching model: devs land onstaging, release engineer cherry-picks tomainwith aversion bumplabel, hotfixes branch frommain. The previousmain <- staging <- devmodel was documented but not practiced. Part of the release system plan (Phase 5). -
30dc048: Fix npm trusted publishing (OIDC) end-to-end. Three changes:
- Release workflow bumps Node 22 → 24 (the runner default; matches our other release workflows, and aligns with npm CLI ≥ 11.5.1 + Node ≥ 22.14.0 requirements for trusted publishing).
Publish packagesstep now passesenv: NPM_CONFIG_PROVENANCE: 'true', which forces pnpm publish down the OIDC code path instead of falling back to a token.packages/errors/package.jsonnow declarespublishConfig.provenance: true, so npm always emits a provenance attestation on publish (belt + suspenders alongside the env var).
-
8648722: Fix a bug in the release workflow:
git diff --quiet(without--cached) compared the working tree to the index, which is in sync immediately aftergit add -A. This caused the version bump commit to be skipped, leaving the working tree in apnpm changeset publish-able state but never pushed tomain. Usegit diff --cached --quietso the comparison is against the last commit (HEAD), which is what we actually want. -
260f046: Rewrite the release workflow to detect pending changesets explicitly and gate all publish steps on detection. Tag is now pushed at the version bump commit (not the merge commit), fixing the
@deessejs/errors@1.1.1tag drift. Addsdry_runandpackagesinputs toworkflow_dispatch. Part of the release system plan (Phase 3). -
4380419: Remove the
version bumplabel gate from the release workflow. Every PR merged tomainnow produces a release if it contains.changeset/*.mdfiles in its diff. Thehas_changesetsdetection step is the only condition. Simplifies the release engineer's job — no more remembering to label. -
e453eb5: Switch the release workflow to npm trusted publishing (OIDC) instead of
secrets.NPM_TOKEN. Theid-token: writepermission, already declared on the job, is sufficient for GitHub to mint the OIDC token that npm exchanges for a short-lived publish credential. Provenance is generated automatically on public repos. TheNPM_TOKENsecret can be revoked once the first OIDC publish succeeds.
1.1.1
Patch Changes
-
Release v1.1.1: infrastructure improvements and SEO enhancements
Fixed
- Add changeset version step and tag push to release workflow
- Add display flex to all OG image divs for Satori compatibility
Changed
- Comprehensive SEO optimization for @deessejs/errors website
- Add banner image for OG social sharing
- Add homepage URL to package.json for npm SEO
- Add sitemap, robots.txt, homepage metadata and canonical URLs
1.1.0
Minor Changes
- 65c9327: release v1.1.0: documentation overhaul, SEO improvements, CI enhancements
1.0.0
Major Changes
-
50bf63f: ## v1.0.0 — Core Foundation
Initial release of
@deessejs/errors, a function-based error handling library inspired by Python's error system.Added
error()function for defining error types with Standard Schema supportraise()function for throwing errors- Native
throwsyntax support is()function for type checking with inheritance supportinheritsoption for single and multiple inheritance.from()method for exception chainingcauses()function for chain traversal (most recent first)err.fieldsnamespace for user-defined data- Message templates with
{field}placeholders - All error properties always defined (never undefined)
- Standard Schema compliance for field definitions (Zod, Valibot, ArkType)
TypeScript Support
- Generic types:
ErrorFactory<T>,ErrorInstance<T> - Full type inference with fields
- No
any— only generics and proper types
@deessejs/errors@1.3.2
@deessejs/errors
1.3.2
Patch Changes
- 64eb926: Release @deessejs/errors@1.3.1 (post-merge changeset to drive release workflow)
1.3.1
Patch Changes
- 0b9938a: Release @deessejs/errors@1.3.0 (post-merge changeset to drive release workflow)
1.3.0
Minor Changes
- 172e81c: Add
ErrorInstance.addNote(note)for attaching runtime context to errors (PEP 678, mirrors Python 3.11). Returns the instance for chaining. Thenotes: string[]property was already implemented; the method was missing despite being documented. Closes #29. - 81a1347: Add CI lint that requires a changeset on every PR to
staging. Part of the release system plan (Phase 4).
Patch Changes
-
5a6f11c: Tag the release job with
environment: releaseso the run is recorded as a deployment to thereleaseGitHub environment. Future hardening (required reviewers, branch restrictions, wait timer) can attach to the same environment without further workflow changes. Provenance and trusted publishing are unaffected. -
3c0c1d0: Add the missing
repositoryfield topackages/errors/package.json. Trusted publishing with provenance requirespackage.json:repository.urlto match the GitHub repo URL from the OIDC token — without it, npm rejects the publish withE422: Error verifying sigstore provenance bundle: "repository.url" is "". -
46ed266: Add documentation under
docs/internal/engineering/process/(implementing-an-issue.md,releasing-a-new-version.md,pr-authoring.md) anddocs/learnings/github/stacked-pr/README.md. No code or workflow changes. The changeset is required by the currentci.ymllint; it does not represent a feature bump. -
e5de45f: Update
docs/internal/engineering/plans/release-system.mdto reflect the post-plan additions:Section 7 — Trusted publishing & environmentdocuments npm OIDC trusted publishing and thereleaseGitHub environment.Appendix C — Post-plan decision logcaptures the new decisions.Definition of doneadds two new items for OIDC publish and env record.Statusmoves from "Proposed" to "Approved and partially implemented onstaging". -
f710cdc: Update
CLAUDE.mdandCONTRIBUTING.mdto reflect the actual branching model: devs land onstaging, release engineer cherry-picks tomainwith aversion bumplabel, hotfixes branch frommain. The previousmain <- staging <- devmodel was documented but not practiced. Part of the release system plan (Phase 5). -
30dc048: Fix npm trusted publishing (OIDC) end-to-end. Three changes:
- Release workflow bumps Node 22 → 24 (the runner default; matches our other release workflows, and aligns with npm CLI ≥ 11.5.1 + Node ≥ 22.14.0 requirements for trusted publishing).
Publish packagesstep now passesenv: NPM_CONFIG_PROVENANCE: 'true', which forces pnpm publish down the OIDC code path instead of falling back to a token.packages/errors/package.jsonnow declarespublishConfig.provenance: true, so npm always emits a provenance attestation on publish (belt + suspenders alongside the env var).
-
8648722: Fix a bug in the release workflow:
git diff --quiet(without--cached) compared the working tree to the index, which is in sync immediately aftergit add -A. This caused the version bump commit to be skipped, leaving the working tree in apnpm changeset publish-able state but never pushed tomain. Usegit diff --cached --quietso the comparison is against the last commit (HEAD), which is what we actually want. -
260f046: Rewrite the release workflow to detect pending changesets explicitly and gate all publish steps on detection. Tag is now pushed at the version bump commit (not the merge commit), fixing the
@deessejs/errors@1.1.1tag drift. Addsdry_runandpackagesinputs toworkflow_dispatch. Part of the release system plan (Phase 3). -
4380419: Remove the
version bumplabel gate from the release workflow. Every PR merged tomainnow produces a release if it contains.changeset/*.mdfiles in its diff. Thehas_changesetsdetection step is the only condition. Simplifies the release engineer's job — no more remembering to label. -
e453eb5: Switch the release workflow to npm trusted publishing (OIDC) instead of
secrets.NPM_TOKEN. Theid-token: writepermission, already declared on the job, is sufficient for GitHub to mint the OIDC token that npm exchanges for a short-lived publish credential. Provenance is generated automatically on public repos. TheNPM_TOKENsecret can be revoked once the first OIDC publish succeeds.
1.1.1
Patch Changes
-
Release v1.1.1: infrastructure improvements and SEO enhancements
Fixed
- Add changeset version step and tag push to release workflow
- Add display flex to all OG image divs for Satori compatibility
Changed
- Comprehensive SEO optimization for @deessejs/errors website
- Add banner image for OG social sharing
- Add homepage URL to package.json for npm SEO
- Add sitemap, robots.txt, homepage metadata and canonical URLs
1.1.0
Minor Changes
- 65c9327: release v1.1.0: documentation overhaul, SEO improvements, CI enhancements
1.0.0
Major Changes
-
50bf63f: ## v1.0.0 — Core Foundation
Initial release of
@deessejs/errors, a function-based error handling library inspired by Python's error system.Added
error()function for defining error types with Standard Schema supportraise()function for throwing errors- Native
throwsyntax support is()function for type checking with inheritance supportinheritsoption for single and multiple inheritance.from()method for exception chainingcauses()function for chain traversal (most recent first)err.fieldsnamespace for user-defined data- Message templates with
{field}placeholders - All error properties always defined (never undefined)
- Standard Schema compliance for field definitions (Zod, Valibot, ArkType)
TypeScript Support
- Generic types:
ErrorFactory<T>,ErrorInstance<T> - Full type inference with fields
- No
any— only generics and proper types
@deessejs/errors@1.2.2
@deessejs/errors
1.2.2
Patch Changes
- 31e351f: Add the missing
repositoryfield topackages/errors/package.json. Trusted publishing with provenance requirespackage.json:repository.urlto match the GitHub repo URL from the OIDC token — without it, npm rejects the publish withE422: Error verifying sigstore provenance bundle: "repository.url" is "".
1.2.1
Patch Changes
-
f3e7a35: Fix npm trusted publishing (OIDC) end-to-end. Three changes:
- Release workflow bumps Node 22 → 24 (the runner default; matches our other release workflows, and aligns with npm CLI ≥ 11.5.1 + Node ≥ 22.14.0 requirements for trusted publishing).
Publish packagesstep now passesenv: NPM_CONFIG_PROVENANCE: 'true', which forces pnpm publish down the OIDC code path instead of falling back to a token.packages/errors/package.jsonnow declarespublishConfig.provenance: true, so npm always emits a provenance attestation on publish (belt + suspenders alongside the env var).
1.2.0
Minor Changes
- d2a3411: Add CI lint that requires a changeset on every PR to
staging. Part of the release system plan (Phase 4).
Patch Changes
- 0ee2d14: Tag the release job with
environment: releaseso the run is recorded as a deployment to thereleaseGitHub environment. Future hardening (required reviewers, branch restrictions, wait timer) can attach to the same environment without further workflow changes. Provenance and trusted publishing are unaffected. - 5f55ce1: Update
docs/internal/engineering/plans/release-system.mdto reflect the post-plan additions:Section 7 — Trusted publishing & environmentdocuments npm OIDC trusted publishing and thereleaseGitHub environment.Appendix C — Post-plan decision logcaptures the new decisions.Definition of doneadds two new items for OIDC publish and env record.Statusmoves from "Proposed" to "Approved and partially implemented onstaging". - c79dc37: Update
CLAUDE.mdandCONTRIBUTING.mdto reflect the actual branching model: devs land onstaging, release engineer cherry-picks tomainwith aversion bumplabel, hotfixes branch frommain. The previousmain <- staging <- devmodel was documented but not practiced. Part of the release system plan (Phase 5). - 80a6f6c: Fix a bug in the release workflow:
git diff --quiet(without--cached) compared the working tree to the index, which is in sync immediately aftergit add -A. This caused the version bump commit to be skipped, leaving the working tree in apnpm changeset publish-able state but never pushed tomain. Usegit diff --cached --quietso the comparison is against the last commit (HEAD), which is what we actually want. - 6f3b213: Rewrite the release workflow to detect pending changesets explicitly and gate all publish steps on detection. Tag is now pushed at the version bump commit (not the merge commit), fixing the
@deessejs/errors@1.1.1tag drift. Addsdry_runandpackagesinputs toworkflow_dispatch. Part of the release system plan (Phase 3). - 4d45002: Remove the
version bumplabel gate from the release workflow. Every PR merged tomainnow produces a release if it contains.changeset/*.mdfiles in its diff. Thehas_changesetsdetection step is the only condition. Simplifies the release engineer's job — no more remembering to label. - dc61cdd: Switch the release workflow to npm trusted publishing (OIDC) instead of
secrets.NPM_TOKEN. Theid-token: writepermission, already declared on the job, is sufficient for GitHub to mint the OIDC token that npm exchanges for a short-lived publish credential. Provenance is generated automatically on public repos. TheNPM_TOKENsecret can be revoked once the first OIDC publish succeeds.
1.1.1
Patch Changes
-
Release v1.1.1: infrastructure improvements and SEO enhancements
Fixed
- Add changeset version step and tag push to release workflow
- Add display flex to all OG image divs for Satori compatibility
Changed
- Comprehensive SEO optimization for @deessejs/errors website
- Add banner image for OG social sharing
- Add homepage URL to package.json for npm SEO
- Add sitemap, robots.txt, homepage metadata and canonical URLs
1.1.0
Minor Changes
- 65c9327: release v1.1.0: documentation overhaul, SEO improvements, CI enhancements
1.0.0
Major Changes
-
50bf63f: ## v1.0.0 — Core Foundation
Initial release of
@deessejs/errors, a function-based error handling library inspired by Python's error system.Added
error()function for defining error types with Standard Schema supportraise()function for throwing errors- Native
throwsyntax support is()function for type checking with inheritance supportinheritsoption for single and multiple inheritance.from()method for exception chainingcauses()function for chain traversal (most recent first)err.fieldsnamespace for user-defined data- Message templates with
{field}placeholders - All error properties always defined (never undefined)
- Standard Schema compliance for field definitions (Zod, Valibot, ArkType)
TypeScript Support
- Generic types:
ErrorFactory<T>,ErrorInstance<T> - Full type inference with fields
- No
any— only generics and proper types
@deessejs/errors@1.1.1
@deessejs/errors
1.1.1
Patch Changes
-
Release v1.1.1: infrastructure improvements and SEO enhancements
Fixed
- Add changeset version step and tag push to release workflow
- Add display flex to all OG image divs for Satori compatibility
Changed
- Comprehensive SEO optimization for @deessejs/errors website
- Add banner image for OG social sharing
- Add homepage URL to package.json for npm SEO
- Add sitemap, robots.txt, homepage metadata and canonical URLs
1.1.0
Minor Changes
- 65c9327: release v1.1.0: documentation overhaul, SEO improvements, CI enhancements
1.0.0
Major Changes
-
50bf63f: ## v1.0.0 — Core Foundation
Initial release of
@deessejs/errors, a function-based error handling library inspired by Python's error system.Added
error()function for defining error types with Standard Schema supportraise()function for throwing errors- Native
throwsyntax support is()function for type checking with inheritance supportinheritsoption for single and multiple inheritance.from()method for exception chainingcauses()function for chain traversal (most recent first)err.fieldsnamespace for user-defined data- Message templates with
{field}placeholders - All error properties always defined (never undefined)
- Standard Schema compliance for field definitions (Zod, Valibot, ArkType)
TypeScript Support
- Generic types:
ErrorFactory<T>,ErrorInstance<T> - Full type inference with fields
- No
any— only generics and proper types
@deessejs/errors@1.1.0
@deessejs/errors
1.1.0
Minor Changes
- 65c9327: release v1.1.0: documentation overhaul, SEO improvements, CI enhancements
1.0.0
Major Changes
-
50bf63f: ## v1.0.0 — Core Foundation
Initial release of
@deessejs/errors, a function-based error handling library inspired by Python's error system.Added
error()function for defining error types with Standard Schema supportraise()function for throwing errors- Native
throwsyntax support is()function for type checking with inheritance supportinheritsoption for single and multiple inheritance.from()method for exception chainingcauses()function for chain traversal (most recent first)err.fieldsnamespace for user-defined data- Message templates with
{field}placeholders - All error properties always defined (never undefined)
- Standard Schema compliance for field definitions (Zod, Valibot, ArkType)
TypeScript Support
- Generic types:
ErrorFactory<T>,ErrorInstance<T> - Full type inference with fields
- No
any— only generics and proper types
v1.0.0
@deessejs/errors
1.0.0
Major Changes
-
50bf63f: ## v1.0.0 — Core Foundation
Initial release of
@deessejs/errors, a function-based error handling library inspired by Python's error system.Added
error()function for defining error types with Standard Schema supportraise()function for throwing errors- Native
throwsyntax support is()function for type checking with inheritance supportinheritsoption for single and multiple inheritance.from()method for exception chainingcauses()function for chain traversal (most recent first)err.fieldsnamespace for user-defined data- Message templates with
{field}placeholders - All error properties always defined (never undefined)
- Standard Schema compliance for field definitions (Zod, Valibot, ArkType)
TypeScript Support
- Generic types:
ErrorFactory<T>,ErrorInstance<T> - Full type inference with fields
- No
any— only generics and proper types