httpx

Collection of libs: http exceptions, dsn-parser...

MIT License

Downloads
67.2K
Stars
16
Committers
5

Bot releases are visible (Hide)

httpx - [email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Major Changes

  • #873 62332de Thanks @belgattitude! - Stack traces won't be serialized anymore by default as they
    might contain sensitive information in production.

    For development or logging, it's possible to opt-in stack serialization selectively in
    convertToSerializable, createFromSerializable, toJson and fromJson functions thanks
    to the SerializerParams.includeStack param.

    import { fromJson, toJson } from "@httpx/exception";
    
    const json = toJson(new HttpException(500), {
      includeStack: process.env.NODE_ENV === "development",
    });
    
    const e = fromJson(json, {
      includeStack: process.env.NODE_ENV === "development",
    });
    
  • #865 a1b3c9f Thanks @belgattitude! - Remove deprecated errors param from HttpBadRequest, use issues in HttpUnprocessableEntity instead

  • #865 a1b3c9f Thanks @belgattitude! - Remove deprecated errors params from HttpUnprocessableEntity, use issues instead

  • #865 a1b3c9f Thanks @belgattitude! - Remove deprecated type HttpStatusCode, use HttpErrorStatusCode instead.

  • #865 a1b3c9f Thanks @belgattitude! - Remove deprecated type ValidationError, use HttpValidationIssue instead.

Minor Changes

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - [email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - [email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - [email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - [email protected]

Published by belgattitude 10 months ago

Patch Changes

httpx - @httpx/[email protected]

Published by belgattitude 10 months ago

Minor Changes