.. _version_6.2.5:

=============
Version 6.2.5
=============

Released on 2026-04-14.

.. NOTE::

    If you are upgrading a cluster, you must be running CrateDB 5.0.0 or higher
    before you upgrade to 6.2.5.

    We recommend that you upgrade to the latest 6.1 release before moving to
    6.2.5.

    A rolling upgrade from >= 6.1.2 to 6.2.5 is supported. Doing a rolling
    upgrade from an earlier version than 6.1.2 can cause runtime errors when
    executing statements relying on implicit casts.

    Before upgrading, you should `back up your data`_.

.. WARNING::

    Tables that were created before CrateDB 5.x will not function with 6.x
    and must be recreated before moving to 6.x.x.

    You can recreate tables using ``COPY TO`` and ``COPY FROM`` or by
    `inserting the data into a new table`_.

.. _back up your data: https://cratedb.com/docs/crate/reference/en/latest/admin/snapshots.html
.. _inserting the data into a new table: https://cratedb.com/docs/crate/reference/en/latest/admin/system-information.html#tables-need-to-be-recreated

.. rubric:: Table of contents

.. contents::
   :local:


See the :ref:`version_6.2.0` release notes for a full list of changes in the 6.2
series.

Fixes
=====

- Fixed an issue that caused a ``Function [...] is not a scalar function.``
  error if using a parameter placeholder as argument to an aggregation function
  used in the ``HAVING`` clause.

- Fixed an issue that caused tables created by
  :ref:`logical replication <administration-logical-replication>` subscriptions
  to not receive schema or data updates from a published table, if a publisher
  cluster's primary shards were active on polling the state and became
  inactive before restoring started (for example, due to shards relocation).
