Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates SQLAlchemy-Utils from 0.33.3 to 0.42.1.

Changelog

0.42.1

^^^^^^^^^^^^^^^^^^^

- Fix ``AttributeError`` with Sequence defaults in ``instant_defaults_listener`` (793)

0.42.0

^^^^^^^^^^^^^^^^^^^

- Drop support for Python 3.7 and 3.8.
- Drop support for sqlalchemy 1.3.
- Add support for Python 3.12 and 3.13.
- Add a Read the Docs configuration file.
- Make documentation builds reproducible.
- Test documentation builds in CI.
- Fix Pendulum parsing of datetime instances with timezones. (755)
- Migrate package metadata to PEP 621 format in pyproject.toml
- Migrate to `ruff <https://docs.astral.sh/ruff/>`_ for code linting and formatting, replacing flake8 and isort with a faster Rust-based tool.

0.41.2

^^^^^^^^^^^^^^^^^^^

- Fix breaking change introduced on SQLAlchemy 2.0.22 changes to ``attributes.AttributeImpl`` constructor (733)

0.41.1

^^^^^^^^^^^^^^^^^^^

- Use a custom SQL construct for refreshing materialized views in
``refresh_materialized_view`` (703)

0.41.0

^^^^^^^^^^^^^^^^^^^

- Support psycopg3 for ``create_database()`` and ``delete_database()``.
(701, pull request by LerikP)

0.40.0

^^^^^^^^^^^^^^^^^^^

- Remove Python 3.6 support
- Add SQLAlchemy 2 support
- Add comparison operator support for LTree type (668, pull request by salimfadhley)

0.39.0

^^^^^^^^^^^^^^^^^^^

- Support Python 3.11.
- Add pre-commit hooks for uniform text checks, isort, flake8, and pyupgrade.
- Fix a crash that occurs if the ``colour-science`` package is installed,
which shares the same import name as the ``colour`` package that sqlalchemy-utils supports.
(`637 <https://github.com/kvesteri/sqlalchemy-utils/pull/637>`_, courtesy of JayPalm)
- Fix a crash that occurs if the installed sqlalchemy version is a beta (like ``"2.0.0b3"``).
(Reported in `643 <https://github.com/kvesteri/sqlalchemy-utils/pull/643>`_, thanks Dinmukhamet!)

0.38.3

^^^^^^^^^^^^^^^^^^^

- Fixed double-quoted UUID's in sqlalchemy >= 1.4.30 (581, pull request courtesy of kurtmckee)
- Fixed create_database() and drop_database() crashing with CockroachDB (586, pull request courtesy of kurtmckee)
- Added mixed case support for pg composite (584, pull request courtesy of bamartin125)
- Support Python 3.10.
- Drop support for Python 3.4 and 3.5.
- Remove the dependency on the six package. (605)
- Introduce sqlalchemy 2.0 compatibility. (513)

0.38.2

^^^^^^^^^^^^^^^^^^^

- Added inherit_cache=False in order to avoid SQLAlchemy warnings in ``cast_locale_expr`` (571)

0.38.1

^^^^^^^^^^^^^^^^^^^

- Added cache_ok=True for various different types

0.38.0

^^^^^^^^^^^^^^^^^^^

- Removed CompositeArray. Instead of CompositeArray one should use ARRAY(dimensions=1)
- Made ChoicesType only convert lists to tuples internally.

0.37.9

^^^^^^^^^^^^^^^^^^^

- Fixed base padding class abstract methods (547, pull request courtesy of dpgaspar)
- Optimized cast_locale function (552, pull request courtesy of tvuotila)
- Allow for arbitrary Table keyword arguments in create_table_from_selectable (551, pull request courtesy of quoimec)

0.37.8

^^^^^^^^^^^^^^^^^^^

- Added 'zoneinfo' backend to TimezoneType (510, pull request courtesy of huonw)

0.37.7

^^^^^^^^^^^^^^^^^^^

- Added identifier quoting for view functions and constructs
- Added literal processor for UUIDType

0.37.6

^^^^^^^^^^^^^^^^^^^

- Added ``cache_ok=True`` for TSVectorType

0.37.5

^^^^^^^^^^^^^^^^^^^

- Fixed instant_defaults_listener to respect constructor supplied kwargs (516, pull request courtesy of soundstripe)

0.37.4

^^^^^^^^^^^^^^^^^^^

- Fixed incorrect Ltree.lca behaviour (468, pull request courtesy of slymit)

0.37.3

^^^^^^^^^^^^^^^^^^^

- Added ``cache_ok=True`` for all custom types
- Added CockroachDB support for UUIDType (526, pull request courtesy of chrishemmings)

0.37.2

^^^^^^^^^^^^^^^^^^^

- Added python_requires to setup.py

0.37.1

^^^^^^^^^^^^^^^^^^^

- Removed py27 from pypi wheel

0.37.0

^^^^^^^^^^^^^^^^^^^

- Added SQLAlchemy 1.4 support
- Fixed database_exists() on PostgreSQL (462)
- Added create_database support pymssql (486)
- Removed ``sort_query``, ``get_query_entities`` and ``get_query_entity_by_alias`` functions

0.36.8

^^^^^^^^^^^^^^^^^^^

- Don't connect to 'postgres' data base for database existence check (372, pull request courtesy of bernt-matthias)

0.36.7

^^^^^^^^^^^^^^^^^^^

- Fix dynamic relationships for observables (455)

0.36.6

^^^^^^^^^^^^^^^^^^^

- Dropped support for Python 2.7 (thanks for the help graingert)
- Reverted 426 and added support for Legacy Encrypted Type (450, pull request courtesy of rushilsrivastava)
- Added psycopg2cffi support for create_database and drop_database (447, pull request courtesy of DominicBurkart)

0.36.5

^^^^^^^^^^^^^^^^^^^

- Added support for dictionary input in CompositeType (435, pull request courtesy of cozos)
- Added new EnrichedDateTime and EnrichedDate types (403, pull request courtesy of yk-lab)
- Using String instead of LargeBinary for impl of EncryptedType (426, pull request courtesy of aicioara)
- Added support for JSONType in EncryptedType (439, pull request courtesy of rushilsrivastava)

0.36.4

^^^^^^^^^^^^^^^^^^^

- Added jsonb_sql function (377, pull request courtesy of getglad)
- Drop py27 support

0.36.3

^^^^^^^^^^^^^^^^^^^

- Added hash method for PhoneNumberType (428, pull request courtesy of hanc1208)

0.36.2

^^^^^^^^^^^^^^^^^^^

- Added repr for UUIDType (424, pull request courtesy of ziima)

0.36.1

^^^^^^^^^^^^^^^^^^^

- Added support for CASCADE option when dropping views (406, pull request courtesy of amicks)
- Added ``aliases`` parameter to create_materialized_view function.

0.36.0

^^^^^^^^^^^^^^^^^^^

- Removed explain and explain_analyze due to the internal changes in SQLAlchemy version 1.3.

0.35.0

^^^^^^^^^^^^^^^^^^^

- Removed some deprecation warnings
- Added Int8RangeType (401, pull request courtesy of lpsinger)

0.34.2

^^^^^^^^^^^^^^^^^^^

- Remove ABC deprecation warnings (386, pull request courtesy of VizualAbstract)

0.34.1

^^^^^^^^^^^^^^^^^^^

- Remove deprecation warnings (379, pull request courtesy of Le-Stagiaire)
- Drop py34 support

0.34.0

^^^^^^^^^^^^^^^^^^^


- Removed array_agg compilation which was never a good idea and collided with the latest version of SA. (374)
- Removed deprecation warnings (373, pull request courtesy of pbasista)

0.33.12

^^^^^^^^^^^^^^^^^^^^

- Added ordering support for Country primitive (361, pull request courtesy of TrilceAC)

0.33.11

^^^^^^^^^^^^^^^^^^^^

- Added support for creating and dropping a PostgreSQL database when using pg8000 driver (303, pull request courtesy of mohaseeb)

0.33.10

^^^^^^^^^^^^^^^^^^^^

- Removed optional dependency to Flask-Babel. Now using Babel instead. (333, pull request courtesy of aveuiller)

0.33.9

^^^^^^^^^^^^^^^^^^^

- Fixed SQLite database_exists to check for correct file format (306, pull request courtesy of jomasti)

0.33.8

^^^^^^^^^^^^^^^^^^^

- Added support of short-code in PhoneNumberType (348, pull request courtesy of anandtripathi5)

0.33.7

^^^^^^^^^^^^^^^^^^^

- Added MSSQL support for create_database and drop_database (337, pull request courtesy of jomasti)

0.33.6

^^^^^^^^^^^^^^^^^^^

- Fixed passlib compatibility issue (again) (342)
- Added support for SQL VIEWs

0.33.5

^^^^^^^^^^^^^^^^^^^

- Added optional attr parameter for locale calleble in TranslationHybrid
- Fixed an issue with PasswordType so that it is compatible with older versions of passlib (342)

0.33.4

^^^^^^^^^^^^^^^^^^^

- Made PasswordType use ``hash`` function instead of deprecated ``encrypt`` function (341, pull request courtesy of libre-man)
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants