v1.0.0-alpha.8
Breaking Changes
This releases contains breaking changes required in order to upgrade echo to v5. The main change here is that echo.Context is now a pointer (echo change) and route registration now includes a AddRoute method that returns a RouteInfo struct.
The andurel generate resource command will now also register controllers with routes so that you do not have to manage that yourself. This also introduces breaking changes compared to previous version.
This release also introduces Sec-Fetch-Site similar to what was introduced in Rails 8.0.2.
For a reference on how to upgrade your andurel project after running 'andurel upgrade', see #337 and #354. It's important that you add this marker: // andurel:controller-registration-point to the setupControllers function in cmd/main/app.go so andurel now knows where to place the controller routes connection. You can also generate a new resource after running andurel upgrade and placing the marker to see how controller routes registration now works.
Sorry for any inconveniences!
What's Changed
- doc: add working discord link by @MBvisti in #333
- chore: refactor to echo v5 by @MBvisti in #337
- feat: wire up controllers and routes completely by @MBvisti in #354
- docs: explain scaffold steps more clearly by @MBvisti in #356
Full Changelog: v1.0.0-alpha.7...v1.0.0-alpha.8