Releases: belgattitude/httpx
Releases · belgattitude/httpx
@httpx/[email protected]
Minor Changes
- #719
bae6ce0
Thanks @belgattitude! - Move to esm first (dual esm/cjs) is still supported
Patch Changes
-
#719
bae6ce0
Thanks @belgattitude! - Upgrade tsup to 7.3 and build with esbuild 0.19.3 -
Updated dependencies [
bae6ce0
]:- @httpx/[email protected]
@httpx/[email protected]
Patch Changes
- #719
bae6ce0
Thanks @belgattitude! - Upgrade tsup to 7.3 and build with esbuild 0.19.3
@httpx/[email protected]
Minor Changes
-
#719
bae6ce0
Thanks @belgattitude! - Move to esm first (dual cjs/mjs is till supported in the mid-term) -
#719
bae6ce0
Thanks @belgattitude! - Restore node 16 official support / ES2021 (was working anyway)
Patch Changes
- #719
bae6ce0
Thanks @belgattitude! - Upgrade tsup to 7.3 and build with esbuild 0.19.3
@httpx/[email protected]
Patch Changes
- Updated dependencies [
92343d2
]:- @httpx/[email protected]
@httpx/[email protected]
Patch Changes
- Updated dependencies [
a6a63e1
,a6a63e1
]:- @httpx/[email protected]
@httpx/[email protected]
Patch Changes
- Updated dependencies [
9d1d248
]:- @httpx/[email protected]
@httpx/[email protected]
Patch Changes
- #677
92343d2
Thanks @belgattitude! - Add tupleson tests and improve docs
@httpx/[email protected]
Minor Changes
-
#675
a6a63e1
Thanks @belgattitude! - Add support for HttpUnprocessableEntity.issues in serializer.import { fromJson, toJson } from '@httpx/exception/serializer'; const e422 = new HttpUnprocessableEntity({ message: 'Validation failed', issues: [ { message: 'Invalid address', path: ['addresses', 0, 'line1'], code: 'empty_string', }, ], }); const json = toJson(e422); const js = fromJson(json); expect((js as HttpUnprocessableEntity).issues).toStrictEqual(e422.issues); expect(js).toStrictEqual(e422);
Patch Changes
-
#675
a6a63e1
Thanks @belgattitude! - Fix createHttpException that wasn't allowing issues on HttpUnprocessableEntityconst e422 = createHttpException(422, { message: 'Validation failed', issues: [ { message: 'Invalid address', path: ['addresses', 0, 'line1'], code: 'empty_string', }, ], });
@httpx/[email protected]
Minor Changes
-
#672
9d1d248
Thanks @belgattitude! - Reduce bundle size by using class names rather than stringsImporting all exceptions (excluding utilities, typeguards...) now top at 1Kb
Example based on ESM (min+gzip)
Scenario Size one exception ~ 450b all exceptions < 1kb everything (typeguards,...) 1.7kb
@httpx/[email protected]
Patch Changes
- Updated dependencies [
6872abb
,6872abb
]:- @httpx/[email protected]