alpas v0.16.3 Release Notes

Release Date: 2020-06-12 // almost 4 years ago
  • 2020-06-12


Previous changes from v0.16.0

  • 🆕 New Features

    • 👍 Multi-part form support using Pantry.
    • ➕ Added few convenience session methods - intended() and previousUrl(). These methods are also available on an HttpCall object.
    • ➕ Added a new method, inRandomOrder(), for fetching entities in random order from a MySQL database.
    • ➕ Added render() and json() methods with ArgsBuilder as a lambda receiver.
    • ➕ Added HttpCall.entityParam() extension method that fetches an entity from a table by looking up an id route param.
    • ➕ Added an API to register a custom view function as easily as adding a custom tags.
    • ➕ Added a spoof() view function. (Resolves #27).
    • ➕ Added asynchronous support using CompletableFuture.
    • ➕ Added intReference() and longReference() as shortcuts for defining referencing columns.

    👌 Improvements

    • ⚡️ Updated to Kotlin 1.3.70

    🐛 Bug Fixes

    💥 Breaking Changes

    • ⚡️ useCurrent attribute is set to false for bothcreatedAt() and updatedAt().