Skip to content

Releases: ivklgn/conway-errors

3.2.1

26 Oct 06:02

Choose a tag to compare

What's Changed

  • Update README (en/ru). Improve library documentation (ru and en)
  • Create more auto tests for improve stability and quality

Full Changelog: 3.2.0...3.2.1

3.2.0

02 Jun 12:18
b23c951

Choose a tag to compare

What's Changed

  • feat: branded types for context, subcontext and features by @ivklgn in #11

Full Changelog: 3.1.2...3.2.0

Updates

  1. Improve types for subcontext and features
  const createErrorContext = createError([{ errorType: "ErrorType1" }, { errorType: "ErrorType2" }] as const);
  // ErrorSubcontext<ContextName, "ErrorType1" | "ErrorType2">

  const errorContext = createErrorContext("Context");
  // ErrorSubcontext<"Context", "ErrorType1" | "ErrorType2">
  
  const featureError = errorContext.feature("Feature");
  // ErrorFeature<"Context/Feature", "ErrorType1" | "ErrorType2">
  1. Add new utility type readme

3.1.2

19 Feb 07:45

Choose a tag to compare

Documentation updates

Full Changelog: 3.1.1...3.1.2

3.1.1

13 Dec 13:41
378ca01

Choose a tag to compare

What's Changed

  • fix: add feature to base error class as prop by @ivklgn in #10

Full Changelog: 3.1.0...3.1.1

3.1.0

29 Nov 07:28

Choose a tag to compare

What's Changed

Full Changelog: 3.0.1...3.1.0

3.0.1

10 Nov 15:40

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.0...3.0.1

3.0.0

04 Nov 12:35

Choose a tag to compare

BREAKING CHANGES

What's new

2.0.0

07 Aug 05:50
6395a6c

Choose a tag to compare

What's Changed

  • Separate throw and emit by @alex-knyazev in #2
  • feat: do not implement throw function in library, allow client to throw error instance by @alex-knyazev in #4

Full Changelog: 0.1.2...2.0.0

https://www.npmjs.com/package/conway-errors/v/2.0.0

0.1.2

21 Jul 17:48

Choose a tag to compare

  • rename context to subcontext
  • fix broken types for base error types
  • update documentation

0.0.1

10 Jul 17:10

Choose a tag to compare

First version for testing library API and stuff

check readme:
https://github.com/ivklgn/conway-errors?tab=readme-ov-file#usage