Crate

Latest version: v2.0.0

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 20

0.27.1

=================

- Fixed regression introduced by ``0.27.0`` resulting in unavailable servers if
all configured servers aren't reachable once.

0.27.0

- Added support for Python 3.9 and 3.10.

- Dropped support for Python 3.4, 3.5 and 3.6.

- Dropped support for SQLAlchemy 1.1 and 1.2.

- Dropped support for CrateDB < 2.0.0.

- Added support for enabling SSL using SQLAlchemy DB URI with parameter
`?ssl=true`.

- Added support for SQLAlchemy 1.4

Notes

For learning about the transition to SQLAlchemy 1.4, we recommend the
corresponding documentation [What’s New in SQLAlchemy 1.4?].

Breaking changes

Textual column expressions
SQLAlchemy 1.4 became stricter on some details. It requires to wrap [CrateDB
system columns] like `_score` in a [SQLAlchemy literal_column] type.
Before, it was possible to use a query like this:

session.query(Character.name, '_score')

It must now be written like:

session.query(Character.name, sa.literal_column('_score'))

Otherwise, SQLAlchemy will complain like:

sqlalchemy.exc.ArgumentError: Textual column expression '_score' should be
explicitly declared with text('_score'), or use column('_score') for more
specificity


[CrateDB system columns]: https://cratedb.com/docs/crate/reference/en/4.8/general/ddl/system-columns.html
[SQLAlchemy literal_column]: https://docs.sqlalchemy.org/en/14/core/sqlelement.html#sqlalchemy.sql.expression.literal_column
[What’s New in SQLAlchemy 1.4?]: https://docs.sqlalchemy.org/en/14/changelog/migration_14.html

0.26.0

- Propagate connect parameter `pool_size` to urllib3 as `maxsize` parameter
in order to make the connection pool size configurable.

0.25.0

- Added support for the `RETURNING` clause. This requires CrateDB 4.2 or greater.
In case you use any server side generated columns in your primary key constraint
with earlier CrateDB versions, you can turn off this feature by passing
`implicit_returning=False` in the `create_engine()` call.
- Added support for `geo_point` and `geo_json` types

0.24.0

- Upgraded SQLAlchemy support to 1.3.
- Added official Python 3.8 support.
- Made it so that the dialect is now aware of the return type of the
`date_trunc` function.
- Added driver attribute, as SQLAlchemy relies on interfaces having that string for identification.

0.23.2

=================

- Fixed a bug in the ``CrateLayer`` which caused ``CrateDB`` not to start up,
in case the ``JAVA_HOME`` environment variable was not set.

Page 5 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.