Orator v0.8 Release Notes

Release Date: 2016-02-08 // over 8 years ago
  • โž• Added

    ORM
    • 0๏ธโƒฃ #30 Support for default values
    • ๐Ÿ‘ #29 Supporting only one timestamp column on models
    • ๐Ÿ‘ #26 Adding support for extra conditions on relationships
    • โž• Adding @scope decorator to define query scopes.

    ๐Ÿ— ###### Schema builder

    • โž• Adding support for a use_current() on timestamps

    ๐Ÿ— ###### Query Builder

    • #28 Making where_in() method accept Collection instances
    Commands
    • โž• Adding a make:model command
    Collections
    • โž• Adds flatten() method to Collection class

    ๐Ÿ”„ Changed

    ORM
    • Improving global scopes
    ๐Ÿ— Schema builder
    • ๐Ÿ‘ Improving dbal to support SQLite fully.
    • Improving fluents
    Connection
    • 0๏ธโƒฃ Using unicode by default for mysql and postgres.
    • ๐Ÿ‘Œ Improves how queries are run in Connection class

    ๐Ÿ›  Fixed

    ORM
    • Fixes Model.get_foreign_key() method
    • ๐Ÿ›  Fixes soft deletes
    • Avoid going through __setattr__ method when setting timestamps

    ๐Ÿ— ###### Schema Builder

    • #33 [SQLite] Renaming or dropping columns loses NULL constraint
    • #32 [SQLite] Renaming or dropping columns fails when columns' name is a keyword
    • 0๏ธโƒฃ #31 [SQLite] Changing columns loses default column values.

    ๐Ÿ— ###### Query Builder

    • ๐Ÿ›  Fixes query grammar default columns value
    Connection
    • Fixing Connection._try_again_if_caused_by_lost_connection() not being called
    • 0๏ธโƒฃ Preventing default connection being set to None
    • ๐Ÿ›  Fixing json type behavior for Postgres
    Migrations
    • ๐Ÿ›  Fixing migration stubs