-.. _whatsnew_21_toplevel:
+.. _migration_21_toplevel:
=============================
What's New in SQLAlchemy 2.1?
The ``oracledb`` DBAPI driver itself can be installed either directly
or via the ``sqlalchemy[oracle]`` extra:
-.. sourcecode:: txt
+.. sourcecode:: text
# install oracledb directly
pip install oracledb
overriding a default that was actually set elsewhere, such as in
relationship / foreign key assignment patterns as well as in
:meth:`_orm.Session.merge` scenarios. See the full writeup in the
- :ref:`whatsnew_21_toplevel` document which includes guidance on how to
+ :ref:`migration_21_toplevel` document which includes guidance on how to
re-enable the 2.0 version of the behavior if needed.
.. seealso::
:tags: bug, sql
:tickets: 12596
- .. _change_12596_changelog:
-
Updated the :func:`_sql.over` clause to allow non integer values in
:paramref:`_sql.over.range_` clause. Previously, only integer values
were allowed and any other values would lead to a failure.
.. seealso::
- :ref:`change_12596` - in the :ref:`migration guide <whatsnew_21_toplevel>`
+ :ref:`change_12596` - in the :ref:`migration guide
+ <migration_21_toplevel>`
:tags: usecase, postgresql
:tickets: 12948
- .. _change_12948_changelog:
-
Added support for PostgreSQL 14+ HSTORE subscripting syntax. When connected
to PostgreSQL 14 or later, HSTORE columns now automatically use the native
subscript notation ``hstore_col['key']`` instead of the arrow operator
.. seealso::
- :ref:`change_12948` - in the :ref:`migration guide <whatsnew_21_toplevel>`
+ :ref:`change_12948` - in the :ref:`migration guide
+ <migration_21_toplevel>`
.. autoclass:: BOOLEAN
:members: __init__
+ :noindex:
.. autoclass:: DATE
:members: __init__