Skip to content

release: 1.6.0 #494

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

Merged
merged 18 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.5.0"
".": "1.6.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 37
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-73f8c2f1adc83beed2a8b1dd5d1981b61f94b8d22a7be3778b42084a810ab0e7.yml
configured_endpoints: 39
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-ea62ee98f625bf64ae053b9d966dfd8a62d7dca686f86e3825b117c53e10ad16.yml
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Changelog

## 1.6.0 (2024-09-25)

Full Changelog: [v1.5.0...v1.6.0](https://github.com/Finch-API/finch-api-python/compare/v1.5.0...v1.6.0)

### Features

* **api:** manual updates ([#503](https://github.com/Finch-API/finch-api-python/issues/503)) ([0fd72d8](https://github.com/Finch-API/finch-api-python/commit/0fd72d872880e93a0f925b5d96166cbba09978d5))
* **api:** manual updates ([#505](https://github.com/Finch-API/finch-api-python/issues/505)) ([5d63f1f](https://github.com/Finch-API/finch-api-python/commit/5d63f1fce9e852260bdbc946fd623ec524bb6dc0))
* **api:** OpenAPI spec update via Stainless API ([#498](https://github.com/Finch-API/finch-api-python/issues/498)) ([1e0e4a1](https://github.com/Finch-API/finch-api-python/commit/1e0e4a19217910c2e91325b5e25fe7c1d3d53be6))
* **client:** send retry count header ([#500](https://github.com/Finch-API/finch-api-python/issues/500)) ([a6a35ea](https://github.com/Finch-API/finch-api-python/commit/a6a35eafaef92bfb88834c4d51fe66f6c604c5f5))


### Bug Fixes

* **client:** handle domains with underscores ([#499](https://github.com/Finch-API/finch-api-python/issues/499)) ([9b3fa1e](https://github.com/Finch-API/finch-api-python/commit/9b3fa1ec8f269762dea5026c202430a8b4a3078a))
* **internal:** update custom code related tests ([b7287e4](https://github.com/Finch-API/finch-api-python/commit/b7287e4843f047248326020ec187b6bb2a5f0334))


### Chores

* **internal:** bump pyright / mypy version ([#497](https://github.com/Finch-API/finch-api-python/issues/497)) ([85749d1](https://github.com/Finch-API/finch-api-python/commit/85749d1c2ddf4ea4984b32ea3723a79ad7cc6e99))
* **internal:** bump ruff ([#496](https://github.com/Finch-API/finch-api-python/issues/496)) ([f1a7d3f](https://github.com/Finch-API/finch-api-python/commit/f1a7d3f788e0202c2094b5e60b089237a765ce5d))
* **internal:** codegen related update ([#493](https://github.com/Finch-API/finch-api-python/issues/493)) ([590d384](https://github.com/Finch-API/finch-api-python/commit/590d38471e5703f6c17385971a9d9cb7e3d6a857))
* **internal:** codegen related update ([#501](https://github.com/Finch-API/finch-api-python/issues/501)) ([ea96424](https://github.com/Finch-API/finch-api-python/commit/ea96424a4169593a26176f02a2440d27719e911e))
* **internal:** codegen related update ([#506](https://github.com/Finch-API/finch-api-python/issues/506)) ([5aff0ca](https://github.com/Finch-API/finch-api-python/commit/5aff0ca1c62ccf162ffcd2e9fe3927eb06622d23))
* **internal:** skip failing tests ([#502](https://github.com/Finch-API/finch-api-python/issues/502)) ([8d25365](https://github.com/Finch-API/finch-api-python/commit/8d253655360633edda36df8551b41355b6d68773))
* **internal:** update pydantic v1 compat helpers ([#504](https://github.com/Finch-API/finch-api-python/issues/504)) ([17ba83b](https://github.com/Finch-API/finch-api-python/commit/17ba83b68ce8d0c20239f0388b6f1f9e42ce42f2))


### Documentation

* update CONTRIBUTING.md ([#495](https://github.com/Finch-API/finch-api-python/issues/495)) ([40d4f67](https://github.com/Finch-API/finch-api-python/commit/40d4f670d89118e1fd7df411ea2b8ecef135988e))

## 1.5.0 (2024-09-03)

Full Changelog: [v1.4.0...v1.5.0](https://github.com/Finch-API/finch-api-python/compare/v1.4.0...v1.5.0)
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ $ pip install -r requirements-dev.lock

## Modifying/Adding code

Most of the SDK is generated code, and any modified code will be overridden on the next generation. The
`src/finch/lib/` and `examples/` directories are exceptions and will never be overridden.
Most of the SDK is generated code. Modifications to code will be persisted between generations, but may
result in merge conflicts between manual patches and changes from the generator. The generator will never
modify the contents of the `src/finch/lib/` and `examples/` directories.

## Adding and running examples

All files in the `examples/` directory are not modified by the Stainless generator and can be freely edited or
added to.
All files in the `examples/` directory are not modified by the generator and can be freely edited or added to.

```bash
# add an example to examples/<your-example>.py
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,17 @@ We take backwards-compatibility seriously and work hard to ensure you can rely o

We are keen for your feedback; please open an [issue](https://www.github.com/Finch-API/finch-api-python/issues) with questions, bugs, or suggestions.

### Determining the installed version

If you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.

You can determine the version that is being used at runtime with:

```py
import finch
print(finch.__version__)
```

## Requirements

Python 3.7 or higher.
15 changes: 15 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,3 +366,18 @@ Methods:

- <code title="get /employer/pay-groups/{pay_group_id}">client.payroll.pay_groups.<a href="./src/finch/resources/payroll/pay_groups.py">retrieve</a>(pay_group_id) -> <a href="./src/finch/types/payroll/pay_group_retrieve_response.py">PayGroupRetrieveResponse</a></code>
- <code title="get /employer/pay-groups">client.payroll.pay_groups.<a href="./src/finch/resources/payroll/pay_groups.py">list</a>(\*\*<a href="src/finch/types/payroll/pay_group_list_params.py">params</a>) -> <a href="./src/finch/types/payroll/pay_group_list_response.py">SyncSinglePage[PayGroupListResponse]</a></code>

# Connect

## Sessions

Types:

```python
from finch.types.connect import SessionNewResponse, SessionReauthenticateResponse
```

Methods:

- <code title="post /connect/sessions">client.connect.sessions.<a href="./src/finch/resources/connect/sessions.py">new</a>(\*\*<a href="src/finch/types/connect/session_new_params.py">params</a>) -> <a href="./src/finch/types/connect/session_new_response.py">SessionNewResponse</a></code>
- <code title="post /connect/sessions/reauthenticate">client.connect.sessions.<a href="./src/finch/resources/connect/sessions.py">reauthenticate</a>(\*\*<a href="src/finch/types/connect/session_reauthenticate_params.py">params</a>) -> <a href="./src/finch/types/connect/session_reauthenticate_response.py">SessionReauthenticateResponse</a></code>
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "finch-api"
version = "1.5.0"
version = "1.6.0"
description = "The official Python library for the Finch API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand All @@ -15,7 +15,6 @@ dependencies = [
"distro>=1.7.0, <2",
"sniffio",
"cached-property; python_version < '3.8'",

]
requires-python = ">= 3.7"
classifiers = [
Expand All @@ -36,8 +35,6 @@ classifiers = [
"License :: OSI Approved :: Apache Software License"
]



[project.urls]
Homepage = "https://github.com/Finch-API/finch-api-python"
Repository = "https://github.com/Finch-API/finch-api-python"
Expand All @@ -59,7 +56,6 @@ dev-dependencies = [
"dirty-equals>=0.6.0",
"importlib-metadata>=6.7.0",
"rich>=13.7.1",

]

[tool.rye.scripts]
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ markdown-it-py==3.0.0
# via rich
mdurl==0.1.2
# via markdown-it-py
mypy==1.10.1
mypy==1.11.2
mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
Expand All @@ -70,7 +70,7 @@ pydantic-core==2.18.2
# via pydantic
pygments==2.18.0
# via rich
pyright==1.1.374
pyright==1.1.380
pytest==7.1.1
# via pytest-asyncio
pytest-asyncio==0.21.1
Expand All @@ -80,7 +80,7 @@ pytz==2023.3.post1
# via dirty-equals
respx==0.20.2
rich==13.7.1
ruff==0.5.6
ruff==0.6.5
setuptools==68.2.2
# via nodeenv
six==1.16.0
Expand Down
Loading