Skip to content

Release 0.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@leodip leodip released this 24 Feb 21:39
· 42 commits to main since this release
  • Removed GORM. It's a great library, but it was causing issues while I was trying to add support to Microsoft SQL server. Some of the update statements generated by GORM were huge, and the MSSQL engine was unable to process them. I think having control over the generated SQL is more important than the development convenience given by GORM.
  • Added an HTTP rate limiter, to enhance security against brute force attacks.
  • Improved errors output in the console log. They will now show the stack trace, to help with troubleshooting.
  • Replaced the HTML sanitization library for better protection against XSS.
  • Introduced max length for password, and max string length for some user-agent strings, for security (thanks @aboyadzhiev).
  • Updated docs.
  • Added more integration tests.
  • Bumped dependencies.
  • Changed the Goiabada version schema. We're cutting out the middle number, so from v0.0.4 we're jumping to v0.5.

Breaking change ⚠️

The GORM dependency removal involved some serious refactoring. As part of that, the DB schema has changed and Goiabada won't migrate it automatically from v0.0.4 to this release. The next releases will support automatic migrations, but not this one.

To mitigate issues for current users, I'm making available two SQL scripts (for MySQL and SQLite). You can use the scripts to migrate the database schema if you need to keep your v0.0.4 data in this new version. The scripts are attached to this release.