Skip to content

Commit 42f86bf

Browse files
authored
Merge pull request #21 from postgrid/release-please--branches--main--changes--next
release: 2.2.0
2 parents a3d3802 + b18087e commit 42f86bf

193 files changed

Lines changed: 25176 additions & 8124 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ${{ github.repository == 'stainless-sdks/postgrid-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2222
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2323
steps:
24-
- uses: actions/checkout@v6
24+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525

2626
- name: Install Rye
2727
run: |
@@ -46,7 +46,7 @@ jobs:
4646
id-token: write
4747
runs-on: ${{ github.repository == 'stainless-sdks/postgrid-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4848
steps:
49-
- uses: actions/checkout@v6
49+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5050

5151
- name: Install Rye
5252
run: |
@@ -67,7 +67,7 @@ jobs:
6767
github.repository == 'stainless-sdks/postgrid-python' &&
6868
!startsWith(github.ref, 'refs/heads/stl/')
6969
id: github-oidc
70-
uses: actions/github-script@v8
70+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
7171
with:
7272
script: core.setOutput('github_token', await core.getIDToken());
7373

@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ${{ github.repository == 'stainless-sdks/postgrid-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
8888
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
8989
steps:
90-
- uses: actions/checkout@v6
90+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9191

9292
- name: Install Rye
9393
run: |

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818

1919
- name: Install Rye
2020
run: |

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'postgrid/postgrid-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616

1717
- name: Check release environment
1818
run: |

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.1.1"
2+
".": "2.2.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 87
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/postgrid%2Fpostgrid-be6a47768faf3612d1dc9c8a108edb10a6c5a4e52b78cc7f4768e1d497e11e08.yml
3-
openapi_spec_hash: a3ed2b74031c834a724b67db9ab6b23d
4-
config_hash: 3e6912e5fb40d06f5dc19a10e7b4e703
1+
configured_endpoints: 119
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/postgrid/postgrid-f236b45c85d9a03ce8a4aa4c457928e4e3d71a1f73a7dda26ec1a3f90b4881f3.yml
3+
openapi_spec_hash: 3562a11137635f5a513f3c1ae8421fda
4+
config_hash: 4429a41bb9161a59679a1a95b1ec7053

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## 2.2.0 (2026-05-13)
4+
5+
Full Changelog: [v2.1.1...v2.2.0](https://github.com/postgrid/postgrid-python/compare/v2.1.1...v2.2.0)
6+
7+
### Features
8+
9+
* **api:** Generate OpenAPI spec from master, Complete AV endpoints, Deprecate order profiles ([e077d42](https://github.com/postgrid/postgrid-python/commit/e077d42c1fa32be25d6b458d0095c4a94a008ad1))
10+
* **api:** sheikh's updates ([bdc7fef](https://github.com/postgrid/postgrid-python/commit/bdc7fef6407b6906f7289f302a1281bc76730297))
11+
* **internal/types:** support eagerly validating pydantic iterators ([2124510](https://github.com/postgrid/postgrid-python/commit/2124510f8373868ec16a60ffdccd6f5d47e7ad17))
12+
* support setting headers via env ([e690d3e](https://github.com/postgrid/postgrid-python/commit/e690d3eea529e14db8ef172128b126e9c62a0bfa))
13+
* Testing new GHA workflow ([aa4a426](https://github.com/postgrid/postgrid-python/commit/aa4a42689f6e30a8c6566ef225f198a149ceb3d6))
14+
15+
16+
### Bug Fixes
17+
18+
* **client:** add missing f-string prefix in file type error message ([459beb6](https://github.com/postgrid/postgrid-python/commit/459beb65a1c41126dd02d19cabf529c45c8e531c))
19+
* use correct field name format for multipart file arrays ([4662cc7](https://github.com/postgrid/postgrid-python/commit/4662cc7a36251fb808df1ac04ee5bbecfeaf9ebb))
20+
21+
22+
### Performance Improvements
23+
24+
* **client:** optimize file structure copying in multipart requests ([ad870fb](https://github.com/postgrid/postgrid-python/commit/ad870fb8a30f20b4193f7eed5a96755a9a656228))
25+
26+
27+
### Chores
28+
29+
* **internal:** more robust bootstrap script ([e3ae215](https://github.com/postgrid/postgrid-python/commit/e3ae21534f0e6048dd59631aa02c04d5c1f3a681))
30+
* **internal:** reformat pyproject.toml ([872adb3](https://github.com/postgrid/postgrid-python/commit/872adb3468462b205c3619f1de65cf163f982ad3))
31+
332
## 2.1.1 (2026-04-10)
433

534
Full Changelog: [v2.1.0...v2.1.1](https://github.com/postgrid/postgrid-python/compare/v2.1.0...v2.1.1)

0 commit comments

Comments
 (0)