Skip to content

Commit e367469

Browse files
Version Packages (#32)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 167c216 commit e367469

File tree

5 files changed

+36
-29
lines changed

5 files changed

+36
-29
lines changed

.changeset/twelve-swans-sleep.md

-27
This file was deleted.

examples/nextjs-app/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @examples/nextjs-app
22

3+
## 0.1.25
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`167c216`](https://github.com/belgattitude/httpx/commit/167c216e7c5d6a209e17b17fa4ddb6db584bacd3)]:
8+
- @httpx/exception@1.7.0
9+
310
## 0.1.24
411

512
### Patch Changes

examples/nextjs-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@examples/nextjs-app",
3-
"version": "0.1.24",
3+
"version": "0.1.25",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

packages/exception/CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# @httpx/exception
22

3+
## 1.7.0
4+
5+
### Minor Changes
6+
7+
- [#31](https://github.com/belgattitude/httpx/pull/31) [`167c216`](https://github.com/belgattitude/httpx/commit/167c216e7c5d6a209e17b17fa4ddb6db584bacd3) Thanks [@belgattitude](https://github.com/belgattitude)! - Support ValidationError in HttpBadRequest
8+
9+
In some circumstances you might find useful to append the validation errors to
10+
`HttpBadRequest`. Here's a quick example:
11+
12+
```typescript
13+
const e400 = new HttpBadRequest({
14+
errors: [
15+
{
16+
message: 'Invalid email',
17+
path: 'email',
18+
code: 'invalid_email',
19+
},
20+
{
21+
message: 'Invalid address',
22+
path: ['addresses', 0, 'line1'],
23+
code: 'empty_string',
24+
},
25+
],
26+
});
27+
console.log(e400.errors);
28+
```
29+
330
## 1.6.2
431

532
### Patch Changes

packages/exception/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@httpx/exception",
3-
"version": "1.6.2",
3+
"version": "1.7.0",
44
"license": "MIT",
55
"description": "Delightful http exceptions. Works everywhere. Serialization, logging and more.",
66
"homepage": "https://github.com/belgattitude/httpx",

0 commit comments

Comments
 (0)