.. _version_2.2.4:

=============
Version 2.2.4
=============

Released on 2017/11/27.

.. NOTE::

   If you are upgrading a cluster, you must be running CrateDB
   :ref:`version_1.1.3` or higher before you upgrade to 2.2.4.

   If you want to perform a `rolling upgrade`_, your current CrateDB version
   number must be :ref:`version_2.2.0`.  If you want to upgrade from a version
   prior to this, the upgrade will introduce all of the breaking changes listed
   for :ref:`version_2.2.0`, and will require a `full restart upgrade`_.

.. WARNING::

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

.. _rolling upgrade: http://crate.io/docs/crate/guide/best_practices/rolling_upgrade.html
.. _full restart upgrade: http://crate.io/docs/crate/guide/best_practices/full_restart_upgrade.html
.. _back up your data: https://crate.io/a/backing-up-and-restoring-crate/

Changelog
=========

Fixes
-----

- Handle MultiPolygon shapes in ``WITHIN`` queries correctly instead of
  throwing an exception.

- Fixed an exception which occurred when using the ``_id`` system column in
  ``IN`` or ``ANY`` queries.

- The target table name used in ``ALTER TABLE ... RENAME TO`` is now correctly
  validated.

- Fixed a regression that caused ``DELETE`` statements with a filter on
  ``PRIMARY KEY`` columns that don't match to fail instead of returning with a
  row count of 0.
