Skip to content

v1.0.0-alpha.8

Choose a tag to compare

@MBvisti MBvisti released this 22 Jan 16:12
7f99e3c

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

Full Changelog: v1.0.0-alpha.7...v1.0.0-alpha.8