Skip to content

Releases: alvis/xception

v8.0.1

06 Aug 09:32
e94a0e0

Choose a tag to compare

📦 Code Refactoring

  • remove outdated highlight-es dependency (2382285)

📚 Documentation

  • update vulnerabilities badge (0bab172)

⚙️ Continuous Integrations

  • add node 24 to test matrix (eff5390)

♻️ Chores

v8.0.0

25 Jun 09:42
5a56023

Choose a tag to compare

✨ 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

🚨 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

  • replace match() with exec() for consistency (1dd06ff)
  • resolve linting issue (4686834)

v7.0.0

30 Nov 12:52
e25b47a

Choose a tag to compare

🐛 Bug Fixes

  • make render function standalone (188f13b)
  • opt for default export in package.json (e4bc4c6)

📦 Code Refactoring

  • replace yamlify-object with yaml (e7cfbd5)

♻️ Chores

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

31 Jul 10:13
dd32db8

Choose a tag to compare

✨ Features

  • support browser environment (02274d3)

🐛 Bug Fixes

  • parse a stack without entry (e0987aa)
  • render source with path starting with file:// (c693241)

🚨 Tests

  • fix false positive result due to ansi color (608757a)

⚙️ Continuous Integrations

  • refactor workflows and test node v21 (3430eb3)
  • use pnpm in favor of npm (5411a7e)

♻️ Chores

  • 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)

v5.0.0

17 May 15:26
b21610f

Choose a tag to compare

✨ Features

  • always return an error with xception (1704ffe)

🐛 Bug Fixes

  • attach original cause in xception (13055bc)
  • merge tags uniquely (f9f0b61)
  • stringify exception as much as possible (2f034a2)

Breaking changes

  • xception will no longer throw an error with non-error exception

v4.1.0

13 Jan 09:53
f6de8ef

Choose a tag to compare

✨ Features

  • introduce a factory option in xception (9f9d002)

📚 Documentation

⚙️ Continuous Integrations

  • release with provenance statements (a7b5c04)
  • update github actions (1659d55)

v4.0.0

21 Oct 10:53
97d640b

Choose a tag to compare

✨ 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

  • make scripts accept individual paths for tests (6ee653b)
  • update presetter to v4.4 (7743abf)

📦 Code Refactoring

  • convert renderAssociations to functional (58b2b38)

🚨 Tests

v3.0.0

20 Sep 20:01
4510a5f

Choose a tag to compare

📦 Code Refactoring

  • rename renderStack to renderError (f742ddb)

💎 Styles

  • move public methods to the top of files (08d4476)
  • reword test descriptions to the convention (4964a4a)

Breaking changes

  • renderStack is now renderError

v2.0.0

20 Sep 18:15
ece5641

Choose a tag to compare

✨ 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

03 Jan 11:51
5123609

Choose a tag to compare

✨ Features

📚 Documentation

  • give an overview of xception (275c305)