Skip to content

Releases: flex-development/exceptions

[email protected]

20 Mar 01:55
[email protected]
b790828
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-03-20)

🐛 Fixes

  • dtos: [ExceptionDTO] add OneOrMany<T> to index signature type (76d81c4)

🦾 Refactors

  • dtos: [ExceptionDTO] allow all Jsonifiable types (e35b81f)

[email protected]

20 Mar 01:04
[email protected]
c2eb4ad
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-03-20)

📦 Build

  • deps-dev: bump cspell from 6.29.3 to 6.30.0 (#80) (3f5f7da)
  • deps-dev: bump esbuild from 0.17.11 to 0.17.12 (#79) (4f315d4)

🦾 Refactors

  • ts: allow object types to exclude index signature (4de8946)

[email protected]

16 Mar 20:46
[email protected]
4176cd1
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2023-03-16)

⚠ BREAKING CHANGES

  • enums: match status codes to mdn
  • rewrite project

📦 Build

  • mark package as side-effects free (bd52e80)
  • use mkbuild to build project (5406594)
  • deps-dev: bump @typescript-eslint/eslint-plugin from 5.54.1 to 5.55.0 (#67) (9df752b)
  • deps-dev: bump @typescript-eslint/parser from 5.54.1 to 5.55.0 (#66) (3a7b823)
  • deps-dev: bump @vitest/coverage-c8 from 0.29.2 to 0.29.3 (#69) (5cd86be)
  • deps-dev: bump @vitest/ui from 0.29.2 to 0.29.3 (#70) (bfe2adc)
  • deps-dev: bump cspell from 6.29.0 to 6.29.3 (#77) (6fa7b6f)
  • deps-dev: bump eslint-plugin-jsdoc from 40.0.1 to 40.0.3 (#75) (4ce5c54)
  • deps-dev: bump eslint-plugin-jsonc from 2.6.0 to 2.7.0 (#76) (33582ed)
  • deps-dev: bump vite from 4.1.4 to 4.2.0 (#73) (840ea9e)
  • deps-dev: bump vite-tsconfig-paths from 4.0.5 to 4.0.7 (#72) (4be9869)
  • deps-dev: bump vitest from 0.29.2 to 0.29.3 (#71) (eff645d)
  • deps: bump @flex-development/aggregate-error-ponyfill from 2.0.0-alpha.2 to 2.0.0-alpha.4 (599fdca)
  • deps: bump @flex-development/aggregate-error-ponyfill from 2.0.0-alpha.4 to 2.0.1 (af81ab6)
  • deps: bump @flex-development/tutils from 5.0.0 to 5.0.1 (ae421cf)

🤖 Continuous Integration

  • [@dependabot] configure private registry (acdac01)
  • deps: bump actions/add-to-project from 0.3.0 to 0.4.1 (#63) (b896e21)
  • deps: bump actions/cache from 3.3.0 to 3.3.1 (#64) (0dde76f)
  • deps: bump actions/checkout from 3.0.2 to 3.1.0 (#47) (69bb589)
  • deps: bump actions/checkout from 3.1.0 to 3.2.0 (#58) (bd19d3f)
  • deps: bump actions/checkout from 3.2.0 to 3.3.0 (#60) (e5de25a)
  • deps: bump actions/checkout from 3.3.0 to 3.4.0 (#65) (8874dd5)
  • deps: bump actions/github-script from 6.2.0 to 6.3.0 (#42) (f828ca0)
  • deps: bump actions/github-script from 6.3.0 to 6.3.1 (#46) (6862838)
  • deps: bump actions/github-script from 6.3.1 to 6.3.2 (#50) (1309cf6)
  • deps: bump actions/github-script from 6.3.2 to 6.3.3 (#51) (ddfc715)
  • deps: bump actions/github-script from 6.3.3 to 6.4.0 (#62) (2314663)
  • deps: bump actions/setup-node from 3.4.1 to 3.5.0 (#44) (c2be021)
  • deps: bump actions/setup-node from 3.5.0 to 3.6.0 (#59) (614ca27)
  • deps: bump crazy-max/ghaction-import-gpg from 5.1.0 to 5.2.0 (#53) (58f4f40)
  • deps: bump dependabot/fetch-metadata from 1.3.3 to 1.3.5 (#54) (826bf88)
  • deps: bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#61) (65e46dd)
  • deps: bump dessant/lock-threads from 3.0.0 to 4.0.0 (#57) (b14bfb6)
  • deps: bump flex-development/dist-tag-action from 1.1.0 to 1.1.2 (#55) (c4e99cf)
  • deps: bump hmarr/debug-action from 2.0.1 to 2.1.0 (#48) (7299e6e)
  • deps: bump octokit/graphql-action from 2.2.22 to 2.2.23 (#49) (6168ff4)
  • workflows: [add-to-project] add items from repo admin account (834e57a)
  • workflows: [add-to-project] run workflow when pr is synchronized (0ada7fc)
  • workflows: [approve-pr] refactor approval step conditional (e3b15aa)
  • workflows: [ci] split ci job into multiple jobs (60e7339)
  • workflows: [ci] upload coverage report to codecov (107788a)
  • workflows: [dependabot-auto] sign lockfile fix commit (b7f398a)
  • workflows: [integrity] update pull_request event activity types (1a7fb24)
  • workflows: add auto-merge (d8cff56)
  • workflows: add infrastructure (0a80040)
  • workflows: use environment files ([3513dd7](3513dd7af...
Read more

[email protected]

29 Aug 19:14
[email protected]
040d9df
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2022-08-29)

📦 Build

  • deps: remove @types/lodash.isplainobject (cafbfb7)
  • deps: remove lodash.isplainobject (810aca0)
  • deps: replace lodash dependencies with radash (13a351c)
  • exports: remove .d.ts outputs (b0b8cbc)

📝 Documentation

  • built with (956dd03)
  • exceptions: class Exception<T = any> extends AggregateError<T> (6fa084c)

🐛 Fixes

  • tsconfig path resolution in build files (6bf6e3d)
  • interfaces: add XMLHttpRequest to AxiosError#request definition (edaa93f)

[email protected]

28 Aug 23:18
[email protected]
5f5f33f
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

[email protected] (2022-08-28)

⚠ BREAKING CHANGES

  • use default exports
  • dtos: remove .dto file extension
  • types: remove .type file extension
  • interfaces: remove .interface file extension
  • guards: remove .guard file extension
  • enums: remove .enum file extension
  • move constants to config directory

🤖 Continuous Integration

  • deps: bump actions/github-script from 6.1.1 to 6.2.0 (#39) (698b514)

🏡 Housekeeping

  • refactor project architecture (50ad1d7)

⚡ Refactors

  • move constants to config directory (2cad8f2)
  • use default exports (1aa6433)
  • dtos: remove .dto file extension (0920a64)
  • enums: remove .enum file extension (91dfcfc)
  • guards: remove .guard file extension (2c738f8)
  • interfaces: remove .interface file extension (a7d5bb6)
  • types: remove .type file extension (8ea82cc)

[email protected]

05 Nov 00:45
4831c3e
Compare
Choose a tag to compare

🐛 Fixes

  • exceptions: AggregateError polyfill (a147836)

✏️ Housekeeping

  • tests: add coverage workflow (bee90a0)
  • tests: mocha-chai migration (df3fffe)

[email protected] (🎂 First Release)

04 Nov 19:05
33741b3
Compare
Choose a tag to compare

Overview

ES Proposal spec-compliant ponyfill for AggregateError

The AggregateError object represents an error when several errors need to be wrapped in a single error. It is thrown when multiple errors need to be reported by an operation, for example by Promise.any(), when all promises passed to it reject.

Usage

import AggregateError from '@flex-development/aggregate-error-ponyfill'

try {
  throw new AggregateError([new Error('some error')], 'Hello')
} catch (error) {
  console.error(error instanceof AggregateError) // true
  console.error(error.message) // "Hello"
  console.error(error.name) // "AggregateError"
  console.error(error.errors) // [ Error: "some error" ]
}

[email protected]

03 Nov 23:06
cb19287
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • typescript: drop EmptyString

🔨 Build

♻️ Code Improvements

  • typescript: drop EmptyString (3a53a6f)

🐛 Fixes

  • exceptions: provide AggregateError polyfill (c682683)
  • package exports (3c07221)

✏️ Housekeeping

  • tools: reorganize build workflow (8749385)
  • typescript: fix axios/lib/core/createError typings (7452efd)

[email protected]

16 Oct 17:49
69a4555
Compare
Choose a tag to compare

🔨 Build

  • deps-dev: cleanup dependencies (bad88ef)

🐛 Fixes

  • @flex-development/tutils path remapping (e743e40)

[email protected]

16 Oct 06:00
b5230e1
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • guards: move type guards to separate directory
  • typescript: drop all axios type definitions

✨ Features

  • exceptions: ValidationException (4365d52)
  • guards: isExceptionClassName (0b31123)
  • guards: isExceptionCode (c7fac42)
  • guards: isExceptionId (866bc88)

🐛 Fixes

  • cjs: directory index specifiers (6816b97)

♻️ Code Improvements

  • guards: move type guards to separate directory (611d70f)
  • typescript: FirebaseError (c602e7d)
  • typescript: drop all axios type definitions (c774c01)

🔨 Build

  • deps-peer: add @firebase/util and firebase-admin as optional deps (916918f)
  • deps-peer: re-add axios as optional dep (d6e733c)

✏️ Housekeeping