Closed morremeyer closed 11 months ago
Updated this to be v3 planning since I forgot pagination in v2. Therefore, v2 will be deprecated with the release of the corresponding API v3 enpoints.
API v1 and API v2 will be removed when the frontend does not use them anymore.
Notes for the 4.0.0 release changes:
All v3 endpoints have been released. There will be a transition period until the frontend uses v3 everywhere, after which the backend will have a major release, removing API v1 and v2 and implementing the changes mentioned in https://github.com/envelope-zero/backend/issues/359#issuecomment-1837433945
v4.0.0 is merged with #915.
This issue documents the planned changes for
v3
of the API.There is no target date for a v3 completion, it will be introduced endpoint by endpoint.
Once all endpoints are available and the frontend has ceased usage of v1 and v2 endpoints, a breaking change removing v1 and v2 will be released.
Planned changes
[x] Pagination
limit
will be 50.[x] Object Creation
[x] Remove deprecated endpoints
envelopes/{envelopeId}/{month}
(deprecated in #361)budgets/{budgetId}/{month}
(deprecated in #361)budgets/{budgetId}/{month}/allocations
(deprecated in #399)[x] Remove
month
link for Envelopes (deprecated in #361)~ MonthConfigs are at/v3/envelopes/{id}/{month}
now, so this link is updated to reflect that and kept.month
field in EnvelopeMonth as it is redundant. (deprecated in #361)monthAllocations
field in BudgetLinks as it is the same asgroupedMonth
, which will be renamed tomonth
. (see #399 and the Rename section below). - #858budgeted
field on theMonth
response, deprecated in #500.balance
field fromBudget
, deprecated with #526. - #858reconciled
flag fromTransaction
, see #528. (#835)[x] Rename
groupedMonth
link for Budgets tomonth
(possible due to the removal of the endpoints deprecated in #361) - #858hidden
toarchived
everywhere (Categories, Accounts, Envelopes)[x] Move
/v1/import
to/v3/import/ynab4
and use/v3/import
as a list endpoint for all import endpoints (#465)Allocation
endpoint.[x] Change
renameRuleId
in/v1/import/ynab-import-preview
to benull
instead of the zero UUID when there is no rule that matched