Skip to content

Releases: thombashi/SimpleSQLite

v1.5.2

01 Dec 15:46
v1.5.2
Compare
Choose a tag to compare
  • Restore backward compatibility with v1.4.0 and earlier
    • Backward compatibility breaks when Model subclasses use attr_name as a keyword argument
    • The problem introduced at SimpleSQLite 1.5.0

Full Changelog: v1.5.1...v1.5.2

v1.5.1

27 Nov 17:11
v1.5.1
Compare
Choose a tag to compare
  • Fix Model.insert method failed when executing with a record that calls __setitem__ method: thombashi/sqlitebiter/#96
    • The bug introduced at SimpleSQLite 1.5.0

Full Changelog: v1.5.0...v1.5.1

v1.5.0

26 Nov 04:03
v1.5.0
Compare
Choose a tag to compare

New Features

  • Add __all__ to simplesqlite.model module
  • Add get_column_name method to Column class
  • Add support for Python 3.12
  • Accept Column object as a key of simplesqlite.query.Where class
  • Add simplesqlite.query.Set class. The SimpleSQLite.update method now accepts simplesqlite.query.Set as an argument

ORM Enhancements

  • Add delete method to Model class: #77 (Thanks to @GOOD-Stuff)
  • Add update`` method to Model` class
  • Optimizations

Improvements

  • Improve error messages
  • Improve type annotations

Dependency Updates

  • Bump minimum version of DataProperty to 1.0.1
  • Bump minimum version of sqliteschema to 1.4.0

Bug Fixes

  • Resolved an issue with the insert method of the Model class, ensuring that default values are correctly handled during record insertion

Full Changelog: v1.4.0...v1.5.0

v1.4.0

10 Sep 11:49
v1.4.0
Compare
Choose a tag to compare

What's Changed

  • Add connect kwargs to SimpleSQLite constructor by @michaelbukachi in #76
  • Add docs extras

New Contributors

Full Changelog: v1.3.2...v1.4.0

v1.3.2

24 Jun 17:03
Compare
Choose a tag to compare
  • Modify to use pypa/build for package build
  • Add zip_safe=False
  • Add __all__ to __init__.py
  • Update [build-system]
  • Drop support for Python 3.6

Full Changelog: v1.3.1...v1.3.2

v1.3.1

04 Jun 07:10
v1.3.1
Compare
Choose a tag to compare
  • Add support for Python 3.11
  • Add support for pathvalidate v3
  • Update requirements

Full Changelog: v1.3.0...v1.3.1

v1.3.0

20 Jun 11:10
v1.3.0
Compare
Choose a tag to compare
  • Add support for View
  • Add fetch_view_names method SimpleSQLite class
  • Add has_view method SimpleSQLite class
  • Update requirements

v1.2.0

13 Jun 01:40
v1.2.0
Compare
Choose a tag to compare
  • Add type_hints argument to create_table_from_data_matrix method
  • Remove setuptools requires
  • Add support for Python 3.10
  • Drop support for Python 3.5

v1.1.4

13 Dec 18:24
v1.1.4
Compare
Choose a tag to compare
  • Fix fetch_attr_names method improperly return attributes when passing a database that has MySQL (or other databases) schema descriptions: #72 (Thanks to @bobgott)

v1.1.3

04 Aug 14:09
v1.1.3
Compare
Choose a tag to compare
  • Fix changes in max_workers value are properly applied
  • Update requirements