Regenerate SDK from spec 1.86.0#35
Merged
Merged
Conversation
goal_frequency to SaveCategory
Regenerated the client from the YNAB API spec 1.86.0 (previously 1.85.0).
bradymholt
requested review from
a team and
ynab-michael
and removed request for
a team
July 15, 2026 13:18
goal_frequency to SaveCategoryRoutine regeneration from the YNAB OpenAPI spec (1.86.0 -> 1.86.0). Functional change: - PATCH /transactions success response code changed from 200 -> 209 in the spec, docs, and the bulk-update methods in transactions_api.py. Also adds scripts/generate-and-pr.sh, the wrapper that regenerates the SDK and hands off the commit + PR to Claude.
Adds the automated PR workflow as an alternative to the manual generate.sh + open-PR steps.
bradymholt
enabled auto-merge
July 15, 2026 16:00
Bash now handles the commit, branch, push, and PR creation via git/gh; claude is invoked only to draft the PR body from the spec diff.
ynab-michael
approved these changes
Jul 15, 2026
ynab-michael
left a comment
There was a problem hiding this comment.
I did not run the script myself, but it looks good.
|
The changes in this PR were just released in 4.3.0 🎉. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regenerated the client from the YNAB API server specification. This branch bundles two spec-regeneration refreshes into one PR against
main.Functional changes
goal_frequencyadded toSaveCategory(1.85.0 -> 1.86.0)A new
goal_frequencyfield lets you configure a recurring 'NEED' target that repeatsmonthly,weekly, oryearly. It requiresgoal_target, cannot be combined withgoal_target_date, and is not supported for Credit Card Payment categories. The generated model validates the value against the enum:The spec also clarifies that passing
nullforgoal_targetwhen updating a category removes any existing target.PATCH
/transactionssuccess response code:200->209The documented success response code for the bulk transaction update endpoint changed from
200to209, reflected inopen_api_spec.yaml,docs/TransactionsApi.md, and the bulk-update methods inynab/api/transactions_api.py.Other
scripts/generate-and-pr.sh, the wrapper that regenerates the SDK and hands the commit + PR off to Claude.