Skip to content

Releases: MasoniteFramework/orm

v1.0.24

11 Feb 13:12
db940e0
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed print statement in sqlite connection class

1.0.23

06 Feb 04:40
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed print statement in sqlite connection class

v1.0.22

05 Feb 05:19
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed issue where sqlite exception would throw if python package does not have the sqlite extension added in the distribution
  • Fixed issue where MySQL .change() in migrations would throw a syntax error

Added

  • Added get_dirty_keys() to models

Changed

  • MySQL schema now uses the column escape syntax ("column") when building schema chanes
  • big_increments now defaults to setting the column as a primary key

v1.0.21

03 Feb 22:57
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed enum type not working for any databases

v1.0.20

03 Feb 05:47
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed issue where has many would not work with non primary key columns

v1.0.19

03 Feb 05:13
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed has_one relationship key
  • Fixed double type in postgres schema creation

v1.0.18

31 Jan 04:59
Compare
Choose a tag to compare

Change Log

Added

  • Added Raw expression class

v1.0.17

30 Jan 16:39
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed issue with fillable property

v1.0.16

30 Jan 15:00
Compare
Choose a tag to compare

Change Log

  • This release improved compiling of query mark (qmark) sql by 600%

Changed

  • Changed query bindings to use lists instead of tuples

v1.0.15

30 Jan 06:45
35982c1
Compare
Choose a tag to compare

Changed Log

Fixed

  • Fixed schema string defaults not working properly
  • Fixed issue where builder macros could not be called from the model
  • Fixed query binding for columns

Added

  • Added select subqueries
  • Added from_ method as an alias for the table method

Changed

  • Changed order by's to only order by the column and not append by table name by default. The table name could still by prepended using dot notation tablename.column
  • Changed count method to only make a database call if there are no parameters passed. Else it just appends the COUNT aggregate onto the query builder