All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- replace yamlify-object with yaml (e7cfbd5)
- update pnpm to v9.14 (c36d1ea)
-
- the render method in the Xception instance has been removed
- use renderError instead
EXAMPLE MIGRATION
before:
const error = new Xception(...)
const rendered = error.render();
after:
import { renderError } from 'xception/render';
const error = new Xception(...)
const rendered = renderError(error.render);
NOTE: separating the render function from the default export enables the use of other features in non-Node environments
- support browser environment (02274d3)
- fix false positive result due to ansi color (608757a)
- add missing types export (f77be97)
- make the package published as ESM only (8b2035e)
- release: 6.0.0 (dd32db8)
- update dependencies to latest versions (46a1888)
- update presetter to v5 with vitest (9d3b246)
- always return an error with xception (1704ffe)
- attach original cause in xception (13055bc)
- merge tags uniquely (f9f0b61)
- stringify exception as much as possible (2f034a2)
- release: 5.0.0 (b21610f)
- xception will no longer throw an error with non-error exception
- introduce a factory option in xception (9f9d002)
- update security badge (b72cd3f)
- release: 4.1.0 (f6de8ef)
- add a render shorthand to Xception (32e518b)
- add a showStack option to renderError (41d47c2)
- improve renderer for various kind of error (c4486c8)
- provide a helper for detecting error-like object (b66213a)
- provide a helper to prepare a printable object (2f6ef46)
- provide symbols to be used for accessing private properties (70f5661)
- correct the typing for yamlify-object (af97ff4)
- remove potential unnecessary trailing spaces (32bdc5e)
- convert renderAssociations to functional (58b2b38)
- correct typos (7542862)
- release: 4.0.0 (97d640b)
- rename renderStack to renderError (f742ddb)
- release: 3.0.0 (4510a5f)
- move public methods to the top of files (08d4476)
- reword test descriptions to the convention (4964a4a)
- renderStack is now renderError
- add a helper to transform any error to an xception error (10dcc29)
- publish as a dual commonjs/esm package (d3caeff)
- rearrange the code to reduce cognitive complexity (6c9cad7)
- update Github Actions workflow files (e789d26)
- Support on node 12 & 14 are dropped
- add metadata support (8147763)
- add namespace support (5857138)
- add tag support (f93e942)
- display source among stack (ab3a7d3)
- filter stack by path (0aa7af6)
- provide a stack analyser (78d7aab)
- provide a stack renderer (141aa0f)
- provide an extendable custom error class (647efe6)
- give an overview of xception (275c305)
- release: 1.0.0 (5123609)
- support browser environment (02274d3)
- fix false positive result due to ansi color (608757a)
- add missing types export (f77be97)
- make the package published as ESM only (8b2035e)
- update dependencies to latest versions (46a1888)
- update presetter to v5 with vitest (9d3b246)
- always return an error with xception (1704ffe)
- attach original cause in xception (13055bc)
- merge tags uniquely (f9f0b61)
- stringify exception as much as possible (2f034a2)
- release: 5.0.0 (b21610f)
- xception will no longer throw an error with non-error exception
- introduce a factory option in xception (9f9d002)
- update security badge (b72cd3f)
- release: 4.1.0 (f6de8ef)
- add a render shorthand to Xception (32e518b)
- add a showStack option to renderError (41d47c2)
- improve renderer for various kind of error (c4486c8)
- provide a helper for detecting error-like object (b66213a)
- provide a helper to prepare a printable object (2f6ef46)
- provide symbols to be used for accessing private properties (70f5661)
- correct the typing for yamlify-object (af97ff4)
- remove potential unnecessary trailing spaces (32bdc5e)
- convert renderAssociations to functional (58b2b38)
- correct typos (7542862)
- release: 4.0.0 (97d640b)
- rename renderStack to renderError (f742ddb)
- release: 3.0.0 (4510a5f)
- move public methods to the top of files (08d4476)
- reword test descriptions to the convention (4964a4a)
- renderStack is now renderError
- add a helper to transform any error to an xception error (10dcc29)
- publish as a dual commonjs/esm package (d3caeff)
- rearrange the code to reduce cognitive complexity (6c9cad7)
- update Github Actions workflow files (e789d26)
- Support on node 12 & 14 are dropped
- add metadata support (8147763)
- add namespace support (5857138)
- add tag support (f93e942)
- display source among stack (ab3a7d3)
- filter stack by path (0aa7af6)
- provide a stack analyser (78d7aab)
- provide a stack renderer (141aa0f)
- provide an extendable custom error class (647efe6)
- give an overview of xception (275c305)
- release: 1.0.0 (5123609)
5.0.0 (2024-05-17)
- always return an error with xception (1704ffe)
- attach original cause in xception (13055bc)
- merge tags uniquely (f9f0b61)
- stringify exception as much as possible (2f034a2)
- xception will no longer throw an error with non-error exception
4.1.0 (2024-01-13)
- introduce a factory option in xception (9f9d002)
- update security badge (b72cd3f)
4.0.0 (2023-10-21)
- add a render shorthand to Xception (32e518b)
- add a showStack option to renderError (41d47c2)
- improve renderer for various kind of error (c4486c8)
- provide a helper for detecting error-like object (b66213a)
- provide a helper to prepare a printable object (2f6ef46)
- provide symbols to be used for accessing private properties (70f5661)
- correct the typing for yamlify-object (af97ff4)
- remove potential unnecessary trailing spaces (32bdc5e)
- convert renderAssociations to functional (58b2b38)
- correct typos (7542862)
3.0.0 (2023-09-20)
- rename renderStack to renderError (f742ddb)
- move public methods to the top of files (08d4476)
- reword test descriptions to the convention (4964a4a)
- renderStack is now renderError
2.0.0 (2023-09-20)
- add a helper to transform any error to an xception error (10dcc29)
- publish as a dual commonjs/esm package (d3caeff)
- rearrange the code to reduce cognitive complexity (6c9cad7)
- update Github Actions workflow files (e789d26)
- upgrade presetter to v4 (18e6328)
- Support on node 12 & 14 are dropped
- add metadata support (8147763)
- add namespace support (5857138)
- add tag support (f93e942)
- display source among stack (ab3a7d3)
- filter stack by path (0aa7af6)
- provide a stack analyser (78d7aab)
- provide a stack renderer (141aa0f)
- provide an extendable custom error class (647efe6)
- give an overview of xception (275c305)