Skip to content

release: 1.17.0 #609

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
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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 .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

USER vscode

RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.44.0" RYE_INSTALL_OPTION="--yes" bash
ENV PATH=/home/vscode/.rye/shims:$PATH

RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Install dependencies
Expand All @@ -42,7 +42,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Bootstrap
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Publish to PyPI
Expand Down
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.16.0"
".": "1.17.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 41
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-7a816d4a5f0039230590a6662f3513d5756344ca662761ecbc49016593f65836.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-69819ddc6d03624ee8d880317fca03afab50a0a843218f1d9f14616e8a003dad.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.17.0 (2025-03-25)

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

### Features

* **api:** api update ([#624](https://github.com/Finch-API/finch-api-python/issues/624)) ([6179f15](https://github.com/Finch-API/finch-api-python/commit/6179f1558884a9f1663f65496d7b15957b710ae8))
* **api:** manual updates ([#612](https://github.com/Finch-API/finch-api-python/issues/612)) ([ac90061](https://github.com/Finch-API/finch-api-python/commit/ac900617af1bc37b728cbbc69ba22c5061ffddb7))


### Bug Fixes

* **ci:** ensure pip is always available ([#622](https://github.com/Finch-API/finch-api-python/issues/622)) ([bffb854](https://github.com/Finch-API/finch-api-python/commit/bffb8540f25ba56cfeb452d0c92dbadb291d88e9))
* **ci:** remove publishing patch ([#623](https://github.com/Finch-API/finch-api-python/issues/623)) ([419c35a](https://github.com/Finch-API/finch-api-python/commit/419c35ad3f89c7da406c33a67069f0e8a7937aa4))
* **types:** handle more discriminated union shapes ([#621](https://github.com/Finch-API/finch-api-python/issues/621)) ([971eac8](https://github.com/Finch-API/finch-api-python/commit/971eac8aef3ad9a5b87b70567726cb0c524b9251))


### Chores

* **docs:** update client docstring ([#610](https://github.com/Finch-API/finch-api-python/issues/610)) ([2bae32b](https://github.com/Finch-API/finch-api-python/commit/2bae32b4504f2e17d53238d2ef7c6267c9d19636))
* **internal:** bump rye to 0.44.0 ([#619](https://github.com/Finch-API/finch-api-python/issues/619)) ([c62de3c](https://github.com/Finch-API/finch-api-python/commit/c62de3cf8821a5bfb814547c68939e78411d0681))
* **internal:** codegen related update ([#611](https://github.com/Finch-API/finch-api-python/issues/611)) ([f397f20](https://github.com/Finch-API/finch-api-python/commit/f397f2097d2d349d16a46c2fbf79432c6d48290c))
* **internal:** codegen related update ([#614](https://github.com/Finch-API/finch-api-python/issues/614)) ([6dd5f30](https://github.com/Finch-API/finch-api-python/commit/6dd5f30dfb8eb5b82500fd18e9472813b84bfdfc))
* **internal:** codegen related update ([#615](https://github.com/Finch-API/finch-api-python/issues/615)) ([1ffccaf](https://github.com/Finch-API/finch-api-python/commit/1ffccafbb26c672fdea41495b91774babb9cdb06))
* **internal:** codegen related update ([#617](https://github.com/Finch-API/finch-api-python/issues/617)) ([9c2b530](https://github.com/Finch-API/finch-api-python/commit/9c2b530e4a89d19276ba031558bc9f077069aa92))
* **internal:** codegen related update ([#620](https://github.com/Finch-API/finch-api-python/issues/620)) ([735fb42](https://github.com/Finch-API/finch-api-python/commit/735fb42343c68e6e484a0ac962c0946fc4643659))
* **internal:** remove extra empty newlines ([#618](https://github.com/Finch-API/finch-api-python/issues/618)) ([a18d4b5](https://github.com/Finch-API/finch-api-python/commit/a18d4b59192e8efdd5ce03d6e3e88fcc0135f9ec))


### Documentation

* update URLs from stainlessapi.com to stainless.com ([#608](https://github.com/Finch-API/finch-api-python/issues/608)) ([5df7857](https://github.com/Finch-API/finch-api-python/commit/5df78577187ab33565e3cc2b72fcd0a51c9531db))

## 1.16.0 (2025-02-27)

Full Changelog: [v1.15.0...v1.16.0](https://github.com/Finch-API/finch-api-python/compare/v1.15.0...v1.16.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Finch Python library provides convenient access to the Finch REST API from a
application. The library includes type definitions for all request params and response fields,
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).

It is generated with [Stainless](https://www.stainlessapi.com/).
It is generated with [Stainless](https://www.stainless.com/).

## Documentation

Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Reporting Security Issues

This SDK is generated by [Stainless Software Inc](http://stainlessapi.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.
This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.

To report a security issue, please contact the Stainless team at security@stainlessapi.com.
To report a security issue, please contact the Stainless team at security@stainless.com.

## Responsible Disclosure

Expand Down
6 changes: 3 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ from finch.types.hris import (
BenefitFrequency,
BenefitType,
BenefitsSupport,
BenfitContribution,
CompanyBenefit,
CreateCompanyBenefitsResponse,
SupportPerBenefitType,
SupportedBenefit,
UpdateCompanyBenefitResponse,
BenfitContribution,
)
```

Expand Down Expand Up @@ -238,14 +238,14 @@ Methods:
Types:

```python
from finch.types.jobs import AutomatedAsyncJob, AutomatedCreateResponse
from finch.types.jobs import AutomatedAsyncJob, AutomatedCreateResponse, AutomatedListResponse
```

Methods:

- <code title="post /jobs/automated">client.jobs.automated.<a href="./src/finch/resources/jobs/automated.py">create</a>(\*\*<a href="src/finch/types/jobs/automated_create_params.py">params</a>) -> <a href="./src/finch/types/jobs/automated_create_response.py">AutomatedCreateResponse</a></code>
- <code title="get /jobs/automated/{job_id}">client.jobs.automated.<a href="./src/finch/resources/jobs/automated.py">retrieve</a>(job_id) -> <a href="./src/finch/types/jobs/automated_async_job.py">AutomatedAsyncJob</a></code>
- <code title="get /jobs/automated">client.jobs.automated.<a href="./src/finch/resources/jobs/automated.py">list</a>(\*\*<a href="src/finch/types/jobs/automated_list_params.py">params</a>) -> <a href="./src/finch/types/jobs/automated_async_job.py">SyncPage[AutomatedAsyncJob]</a></code>
- <code title="get /jobs/automated">client.jobs.automated.<a href="./src/finch/resources/jobs/automated.py">list</a>(\*\*<a href="src/finch/types/jobs/automated_list_params.py">params</a>) -> <a href="./src/finch/types/jobs/automated_list_response.py">AutomatedListResponse</a></code>

## Manual

Expand Down
3 changes: 0 additions & 3 deletions bin/publish-pypi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
set -eux
mkdir -p dist
rye build --clean
# Patching importlib-metadata version until upstream library version is updated
# https://github.com/pypa/twine/issues/977#issuecomment-2189800841
"$HOME/.rye/self/bin/python3" -m pip install 'importlib-metadata==7.2.1'
rye publish --yes --token=$PYPI_TOKEN
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "finch-api"
version = "1.16.0"
version = "1.17.0"
description = "The official Python library for the Finch API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down Expand Up @@ -38,7 +38,6 @@ Homepage = "https://github.com/Finch-API/finch-api-python"
Repository = "https://github.com/Finch-API/finch-api-python"



[tool.rye]
managed = true
# version pins are in requirements-dev.lock
Expand Down Expand Up @@ -87,7 +86,7 @@ typecheck = { chain = [
"typecheck:mypy" = "mypy ."

[build-system]
requires = ["hatchling", "hatch-fancy-pypi-readme"]
requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"

[tool.hatch.build]
Expand Down Expand Up @@ -152,7 +151,6 @@ reportImplicitOverride = true
reportImportCycles = false
reportPrivateUsage = false


[tool.ruff]
line-length = 120
output-format = "grouped"
Expand Down
10 changes: 1 addition & 9 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,8 @@
}
],
"reviewers": [
"araujodavid",
"NandoSangenetto",
"delainerogers",
"ericpsimon",
"jordanbrauer",
"vitorfreitas",
"miguel-finch",
"edkim-finch",
"bteodosioFinch",
"ashar-finch"
"minupalaniappan"
],
"release-type": "python",
"extra-files": [
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# all-features: true
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
annotated-types==0.6.0
Expand Down
1 change: 1 addition & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# all-features: true
# with-sources: false
# generate-hashes: false
# universal: false

-e file:.
annotated-types==0.6.0
Expand Down
2 changes: 2 additions & 0 deletions scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ else
echo
fi

export DEFER_PYDANTIC_BUILD=false

echo "==> Running tests"
rye run pytest "$@"

Expand Down
Loading