Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #676

Merged
merged 1 commit into from
Oct 28, 2023
Merged

Version Packages #676

merged 1 commit into from
Oct 28, 2023

Conversation

belgattitude
Copy link
Owner

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@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 HttpUnprocessableEntity

    const e422 = createHttpException(422, {
      message: 'Validation failed',
      issues: [
        {
          message: 'Invalid address',
          path: ['addresses', 0, 'line1'],
          code: 'empty_string',
        },
      ],
    });

@httpx/[email protected]

Patch Changes

@examples/[email protected]

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch from b4c119f to 83f594d Compare October 28, 2023 16:59
@codecov
Copy link

codecov bot commented Oct 28, 2023

Codecov Report

Merging #676 (b4c119f) into main (1e9d9fd) will not change coverage.
The diff coverage is n/a.

❗ Current head b4c119f differs from pull request most recent head 83f594d. Consider uploading reports for the commit 83f594d to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #676   +/-   ##
=======================================
  Coverage   93.18%   93.18%           
=======================================
  Files          74       74           
  Lines         484      484           
  Branches      119      119           
=======================================
  Hits          451      451           
  Misses         28       28           
  Partials        5        5           
Flag Coverage Δ
httpx-dsn-parser-unit 100.00% <ø> (ø)
httpx-exception-unit 95.25% <ø> (ø)
httpx-json-api-unit 66.00% <ø> (ø)

@belgattitude belgattitude merged commit b697d66 into main Oct 28, 2023
@belgattitude belgattitude deleted the changeset-release/main branch October 28, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant