Releases: alvis/xception
Releases · alvis/xception
v8.0.1
v8.0.0
✨ Features
- add a render shortcut to Xception (4a862b3)
- support inline source map (057294f)
- use platform-specific content handlers (7d9e845)
📦 Code Refactoring
- enhance isErrorLike's readability (0c76cb3)
- rename variables for clarity (4253b13)
- simplify regexes in stack.ts (1ac8fd6)
📚 Documentation
- update README (f12d583)
🚨 Tests
- enforce BDD conventions on test files (a6ed55c)
⚙️ Continuous Integrations
- add node 22 & 23 to the test matrix (6009a4f)
♻️ Chores
- update pnpm to v10.7 (bb857c8)
- update presetter to v7 (642b027)
- update symbols use subpath import (bc9bdfe)
💎 Styles
v7.0.0
🐛 Bug Fixes
📦 Code Refactoring
- replace yamlify-object with yaml (e7cfbd5)
♻️ Chores
- update pnpm to v9.14 (c36d1ea)
Breaking changes
-
- 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
v6.0.0
v5.0.0
v4.1.0
v4.0.0
✨ Features
- 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)
🐛 Bug Fixes
- correct the typing for yamlify-object (af97ff4)
- remove potential unnecessary trailing spaces (32bdc5e)
🛠 Builds
📦 Code Refactoring
- convert renderAssociations to functional (58b2b38)
🚨 Tests
- correct typos (7542862)
v3.0.0
v2.0.0
✨ Features
- add a helper to transform any error to an xception error (10dcc29)
🛠 Builds
- publish as a dual commonjs/esm package (d3caeff)
📦 Code Refactoring
- rearrange the code to reduce cognitive complexity (6c9cad7)
⚙️ Continuous Integrations
- update Github Actions workflow files (e789d26)
♻️ Chores
- upgrade presetter to v4 (18e6328)
Breaking changes
- Support on node 12 & 14 are dropped
v1.0.0
✨ Features
- 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)
📚 Documentation
- give an overview of xception (275c305)