Skip to content
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

v3 Planning #359

Closed
25 tasks done
morremeyer opened this issue Sep 19, 2022 · 4 comments
Closed
25 tasks done

v3 Planning #359

morremeyer opened this issue Sep 19, 2022 · 4 comments
Labels
development Things that support development of the software documentation Improvements or additions to documentation enhancement New feature or improvements to an existing one

Comments

@morremeyer
Copy link
Member

morremeyer commented Sep 19, 2022

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

  • Pagination
    • all collection GET endpoints will support pagination. The default limit will be 50.
@morremeyer morremeyer added documentation Improvements or additions to documentation enhancement New feature or improvements to an existing one development Things that support development of the software labels Sep 19, 2022
@morremeyer morremeyer pinned this issue Oct 10, 2022
@morremeyer morremeyer changed the title v2 Planning v3 Planning Nov 1, 2023
@morremeyer
Copy link
Member Author

morremeyer commented Nov 1, 2023

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.

@morremeyer
Copy link
Member Author

morremeyer commented Dec 3, 2023

Notes for the 4.0.0 release changes:

  • Update the go.mod version
  • Remove overspend handling and add migration: Remove overspend handling #856
  • Remove all v1 and v2 API routes, their methods, and functions
  • Remove allocation model and move allocation from MonthConfig to MonthConfig create. Add migration to update MonthConfigs.
  • Remove Overspend (Month Config) and Reconciled (Transaction) json marshalling overrides
  • Rename Hidden field to Archived in Models for Account, Category, and Envelope. Add migration. Remove Hidden -> Archived code in the GET filtering for collection endpoints and in the gorm hooks: Rename Hidden field to Archived for Envelopes, Categories and Accounts #871
  • Check all TODO comments
  • Check all "4.0.0" comments
  • Check all "removed" comments to find things to be removed
  • Update upgrading docs

@morremeyer
Copy link
Member Author

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 #359 (comment)

@morremeyer
Copy link
Member Author

v4.0.0 is merged with #915.

@morremeyer morremeyer unpinned this issue Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Things that support development of the software documentation Improvements or additions to documentation enhancement New feature or improvements to an existing one
Projects
None yet
Development

No branches or pull requests

1 participant