Releases: envelope-zero/backend
v0.17.0
What's Changed
Budgets now use the new API layout and include a self link.
All changes
- feat!: budgets with new API layout by @morremeyer in #140
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- All API endpoints are now documented
- Accounts now have a
selfkey inlinksthat points to their identity URL in the API
Breaking changes:
- Accounts are now at the top level of the API
- Accounts now only contain a
datakey, thelinkskey is moved withindata
All changes
- chore: split month endpoints by @morremeyer in #132
- chore(deps): update docker/login-action action to v2 by @renovate in #130
- chore(deps): update docker/build-push-action action to v3 by @renovate in #129
- chore(deps): update docker/metadata-action action to v4 by @renovate in #128
- feat: automerge minor GitHub actions upgrades by @morremeyer in #134
- chore(deps): update module github.com/swaggo/gin-swagger to v1.4.3 by @renovate in #121
- chore(deps): update amannn/action-semantic-pull-request action to v4.5.0 by @renovate in #127
- feat!: move accounts to top level, add self link by @morremeyer in #138
Full Changelog: v0.15.0...v0.16.0
v0.15.0
What's Changed
Now with configurable CORS headers.
- feat: allow setting of CORS allowed origins by @morremeyer in #126
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
Now with API documentation. Check /docs/index.html!
All changes
- test: update codecov config by @morremeyer in #109
- test: add semantic PR test as action by @morremeyer in #110
- fix: add GITHUB_TOKEN to semantic PR check by @morremeyer in #113
- chore(deps): update actions/checkout action to v3.0.2 by @renovate in #112
- chore(deps): update module github.com/glebarez/sqlite to v1.4.3 by @renovate in #111
- chore(deps): update amannn/action-semantic-pull-request action to v4.4.0 by @renovate in #115
- feat: add API documentation with swagger by @morremeyer in #116
- chore(deps): update module gorm.io/gorm to v1.23.5 by @renovate in #120
- chore(deps): update module gorm.io/driver/postgres to v1.3.5 by @renovate in #119
- feat: add API documentation for all endpoints by @morremeyer in #124
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
Budgets now take a month query parameter. If this is specified, the budget name and ID will be returned for the specified month together with all envelope month data.
- feat: add allocation to envelope month information by @morremeyer in #105
- chore(deps): update module github.com/gin-contrib/requestid to v0.0.4 by @renovate in #106
- feat: envelope balances by @morremeyer in #108
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
Envelopes now have a monthly balance that is returned when specifying the month query parameter.
- docs: add issue templates by @morremeyer in #103
- feat: add balance for envelopes by @morremeyer in #104
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
Envelopes now take a ?month=YYYY-MM query parameter. The endpoint then returns information about the amount spent for the envelope that month.
- chore(deps): update rinchsan/renovate-config-validator action to v0.0.11 by @renovate in #101
- feat: add spent sum per envelope per month by @morremeyer in #102
Full Changelog: v0.10.1...v0.11.0
v0.10.1
What's Changed
API endpoints now check if the requested object is a descendant of all specified parents.
- fix: check parent for account by @morremeyer in #100
Full Changelog: v0.10.0...v0.10.1
v0.10.0
What's Changed
- Logging is now improved with gorm also using zerolog for structured logging.
- When the parent for a resource does not exist, the API now returns a 404 instead of the resource list
Commits
- feat: configure gorm logger by @morremeyer in #93
- feat: use gorm-zerolog by @morremeyer in #94
- chore(deps): update actions/checkout action to v3.0.1 by @renovate in #96
- chore(deps): update dependency go to v1.18.1 by @renovate in #79
- chore: boil down AutoMigrate calls to 1 by @morremeyer in #97
- chore: move configuration to router initialization by @morremeyer in #98
- fix: return 404 instead of empty list for non-existing parent by @morremeyer in #99
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
The accounts endpoint now returns an empty list instead of null when there are no accounts.
Notable PRs
- fix: return empty list, not null if there are no accounts by @morremeyer in #88
Full Changelog: v0.9.0...v0.9.1