Skip to content

Files

Latest commit

e25b47a · Nov 30, 2024

History

History
627 lines (288 loc) · 22.7 KB

CHANGELOG.md

File metadata and controls

627 lines (288 loc) · 22.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.0.0 (2024-11-30)

🐛 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

6.0.0 (2024-07-31)

✨ 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)
  • release: 6.0.0 (dd32db8)
  • update dependencies to latest versions (46a1888)
  • update presetter to v5 with vitest (9d3b246)

5.0.0 (2024-05-17)

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

♻️ Chores

Breaking changes

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

4.1.0 (2024-01-13)

✨ Features

  • introduce a factory option in xception (9f9d002)

📚 Documentation

⚙️ Continuous Integrations

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

♻️ Chores

4.0.0 (2023-10-21)

✨ 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

♻️ Chores

3.0.0 (2023-09-20)

📦 Code Refactoring

  • rename renderStack to renderError (f742ddb)

♻️ Chores

💎 Styles

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

Breaking changes

  • renderStack is now renderError

2.0.0 (2023-09-20)

✨ 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

Breaking changes

  • Support on node 12 & 14 are dropped

1.0.0 (2021-01-01)

✨ Features

📚 Documentation

  • give an overview of xception (275c305)

♻️ Chores

6.0.0 (2024-07-31)

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

5.0.0 (2024-05-17)

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

♻️ Chores

Breaking changes

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

4.1.0 (2024-01-13)

✨ Features

  • introduce a factory option in xception (9f9d002)

📚 Documentation

⚙️ Continuous Integrations

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

♻️ Chores

4.0.0 (2023-10-21)

✨ 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

♻️ Chores

3.0.0 (2023-09-20)

📦 Code Refactoring

  • rename renderStack to renderError (f742ddb)

♻️ Chores

💎 Styles

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

Breaking changes

  • renderStack is now renderError

2.0.0 (2023-09-20)

✨ 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

Breaking changes

  • Support on node 12 & 14 are dropped

1.0.0 (2021-01-01)

✨ Features

📚 Documentation

  • give an overview of xception (275c305)

♻️ Chores

5.0.0 (2024-05-17)

✨ 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

4.1.0 (2024-01-13)

✨ Features

  • introduce a factory option in xception (9f9d002)

📚 Documentation

⚙️ Continuous Integrations

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

4.0.0 (2023-10-21)

✨ 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

3.0.0 (2023-09-20)

📦 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

2.0.0 (2023-09-20)

✨ 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

1.0.0 (2021-01-08)

✨ Features

📚 Documentation

  • give an overview of xception (275c305)