SQLBoiler v4.0.0 Release Notes

Release Date: 2020-04-27 // almost 4 years ago
  • NOTE: Your database drivers must be rebuilt upon moving to this release

    ➕ Added

    • ➕ Add a --add-soft-deletes that changes the templates to use soft deletion (thanks @namco1992)
    • ➕ Add a --no-back-referencing flag to disable setting backreferences in relationship helpers and eager loading. (thanks @namco1992)
    • ➕ Add not in helpers (thanks @RichardLindhout)

    🔄 Changed

    • 🔄 Changed dependency scheme to go modules
    • 🔄 Changed randomize/strmangle to be external dependencies to avoid module cycles with the null package.
    • 🔄 Changed the way comparisons work for keying caches which dramatically speeds up cache lookups (thanks @zikaeroh)

    🛠 Fixed

    • 🛠 Fix postgres tests failing on partioned tables (thanks @troyanov)
    • 🛠 Fix enums with spaces being disallowed (thanks @razor-1)
    • 🛠 Fix postgresql looking at other types of tables (eg. views) and reporting that they do not have primary keys (thanks @chochihim)