Releases: flex-development/exceptions
Releases · flex-development/exceptions
[email protected]
[email protected] (2023-03-20)
🐛 Fixes
- dtos: [
ExceptionDTO
] addOneOrMany<T>
to index signature type (76d81c4)
🦾 Refactors
- dtos: [
ExceptionDTO
] allow allJsonifiable
types (e35b81f)
[email protected]
[email protected]
[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
] splitci
job into multiple jobs (60e7339) - workflows: [
ci
] upload coverage report to codecov (107788a) - workflows: [
dependabot-auto
] sign lockfile fix commit (b7f398a) - workflows: [
integrity
] updatepull_request
event activity types (1a7fb24) - workflows: add
auto-merge
(d8cff56) - workflows: add
infrastructure
(0a80040) - workflows: use environment files ([3513dd7](3513dd7af...
[email protected]
[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
🐛 Fixes
[email protected]
[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
🏡 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]
[email protected] (🎂 First Release)
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 byPromise.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]
⚠ BREAKING CHANGES
- typescript: drop
EmptyString
🔨 Build
- deps: use
@flex-development/[email protected]
(52c1630)
♻️ Code Improvements
- typescript: drop
EmptyString
(3a53a6f)
🐛 Fixes
✏️ Housekeeping
[email protected]
[email protected]
⚠ 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
andfirebase-admin
as optional deps (916918f) - deps-peer: re-add
axios
as optional dep (d6e733c)
✏️ Housekeeping
- typescript: upgrade to
[email protected]
(6b6f198)