Marten 1.0.0 release notes
Under development.
Requirements and compatibility
- Crystal: 1.17, 1.18, 1.19, 1.20, and 1.21.
- Databases:
- MariaDB 10.11 and higher.
- MySQL 8.4 and higher.
- PostgreSQL 15 and higher.
- SQLite 3.37.0 and higher.
New features
Models and databases
- Query sets now provide a
#each_batchmethod, allowing to iterate over large query sets in batches without loading all the matching records into memory at once. Records are fetched in batches using a primary key cursor and are always processed in ascending primary key order.
Backward incompatible changes
Handlers and HTTP
- The default value of the
trailing_slashsetting is now:remove, so unresolved URLs ending with a trailing slash are permanently redirected to their slashless version by default. Applications that want to keep the previous behavior should explicitly setconfig.trailing_slash = :do_nothing.