Skip to content

Releases: seapagan/sqliter-py

0.8.0

28 Jan 09:55
ad1de80
Compare
Choose a tag to compare

New Features

  • Implement list, dict, tuple and set as valid field types (#63) by seapagan
  • Add delete() method to QueryBuilder with comprehensive test coverage (#61) by seapagan

Dependency Updates

Full Changelog | Diff | Patch

0.7.0

31 Oct 16:36
dd64388
Compare
Choose a tag to compare

New Features

  • Support the date and datetime types (#52) by seapagan
  • Add created_at and updated_at timestamps to the BaseDBModel (#49) by seapagan
  • Add some useful properties to the SqliterDB class instance (#48) by seapagan

Bug Fixes

Full Changelog | Diff | Patch

0.6.0

12 Oct 15:56
2024032
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Ensure context-manager ignores the auto_commit setting. (#43) by seapagan

Full Changelog | Diff | Patch

0.5.0

30 Sep 15:05
0878914
Compare
Choose a tag to compare

Breaking Change!

This release removes the create_pk and primary_key attributes from the Model
Meta Class. Now, an auto-incrementing primary key is created by default and
the name of the primary key is always pk.

Closed Issues

  • Auto-generated primary key not returned by the Model (#37) by seapagan

Breaking Changes

  • Always create a pk primary auto-incrementing key (#39) by seapagan

Bug Fixes

  • Fix null filter when combined with others and add tests (#40) by seapagan

Documentation

  • Refactor web docs layout and improve content (#36) by seapagan

Full Changelog | Diff | Patch

0.4.0

27 Sep 19:00
1e4af95
Compare
Choose a tag to compare

New Features

  • Add exists_ok and force flags to create_table (#34) by seapagan
  • Add reset= to SqliterDB(), to drop all existing tables (#33) by seapagan
  • Order by primary key if no field specified to order() (#32) by seapagan
  • Add drop_table method (#31) by seapagan
  • Add debug logging option (#29) by seapagan
  • Create relevant database fields depending on the Model types (#27) by seapagan

Testing

Refactoring

  • Perform some internal refactoring, mostly arranging the tests. (#30) by seapagan

Documentation

  • Add a documentation website and trim down the README (#25) by seapagan

Full Changelog | Diff | Patch

0.3.0

24 Sep 12:02
01b6d99
Compare
Choose a tag to compare

Breaking Changes

New Features

  • Deprecate 'direction=' for 'reverse=' in order() method. (#24) by seapagan
  • Add improved table name generation (#21) by seapagan
  • Implement an in-memory database option (#15) by seapagan
  • Allow selecting a subset of the database fields instead of all them (#12) by seapagan
  • Improve dev tooling and contributor documentation (#11) by seapagan

Dependency Updates

Full Changelog | Diff | Patch

0.2.0

14 Sep 17:14
a873a24
Compare
Choose a tag to compare

New Features

  • Default to auto_create=True, and add 'commit()' & 'close()' methods (#9) by seapagan
  • Add more advanced filtering options (#7) by seapagan

Bug Fixes

  • Ensure context manager commits on exit (#8) by seapagan

Full Changelog | Diff | Patch

0.1.1

14 Sep 14:34
a73376e
Compare
Choose a tag to compare

Just a documentation fix - README was old version

Full Changelog: 0.1.0...0.1.1

0.1.0

14 Sep 14:33
bddc6cd
Compare
Choose a tag to compare

New Features

  • Remove transaction exception (TransactionError) (#4) by seapagan
  • Improve error handling across the library (#3) by seapagan
  • Add 'limit', 'offset' and 'order' methods (#2) by seapagan

Testing

  • Add a full test suite to the existing code. (#1) by seapagan

Dependency Updates