<commit_before>.. _change-log:

*********
Changelog
*********

.. role:: changetype
.. role:: changetype-breaking
    :class: changetype changetype-breaking
.. role:: changetype-new
    :class: changetype changetype-new
.. role:: changetype-fixed
    :class: changetype changetype-fixed
.. role:: changetype-changed
    :class: changetype changetype-changed
.. role:: changetype-improved
    :class: changetype changetype-improved
.. role:: changetype-deprecated
    :class: changetype changetype-deprecated

.. |userbreak| replace:: :changetype-breaking:`USER BREAK`
.. |devbreak| replace:: :changetype-breaking:`DEV BREAK`
.. |new| replace:: :changetype-new:`NEW`
.. |fixed| replace:: :changetype-fixed:`FIXED`
.. |changed| replace:: :changetype-changed:`CHANGED`
.. |improved| replace:: :changetype-improved:`IMPROVED`
.. |deprecated| replace:: :changetype-deprecated:`DEPRECATED`

.. toctree::
  :hidden:

=======
develop
=======

.. replace this with the release date

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change

    *    -
         -

=======
v0.38.0
=======

6 Apr 2017

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change

    *    - |improved|
         - The default ``sweepBatchSize`` has been changed from 1000 to 100.
           This has empirically shown to be a better batch size because it puts less stress on the underlying KVS.
           For a full list of tunable sweep parameters and default settings, see :ref:`sweep tunable options <sweep_tunable_parameters>`.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1763>`__)

    *    - |fixed|
         - Reverted `#1524 <https://github.com/palantir/atlasdb/pull/1524>`__, which caused dependency issues in upstream products.
           Once we have resolved these issues, we will reintroduce the change, which was originally part of AtlasDB 0.37.0.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1775>`__)

    *    - |fixed|
         - Creating a postgres table with a long name now throws a ``RuntimeException`` if the truncated name (first sixty characters) is the same as that of a different existing table.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1729>`__)

    *    - |fixed|
         - Fixed a performance regression introduced in `#582 <https://github.com/palantir/atlasdb/pull/582>`__, which caused sub-optimal batching behaviour when getting large sets of rows in Cassandra.
           The benchmark, intentionally set up in `#1770 <https://github.com/palantir/atlasdb/pull/1770>`__ to highlight the break, shows a 10x performance improvement.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1764>`__)

    *    - |fixed|
         - Correctness issue fixed in the ``clean-transactions-range`` CLI. This CLI is responsible for deleting potentially inconsistent transactions in the KVS upon restore from backup.
           The CLI was not reading the entire ``_transactions`` table, and as a result missed deleting transactions that started before and committed after.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1759>`__)

    *    - |devbreak|
         - The ``atlasdb-remoting`` project was removed. We don't believe this was used anywhere, but if you encounter any problems due to the project having being removed, please contact AtlasDB support.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1750>`__)

    *    - |new|
         - ``InMemoryAtlasDbFactory`` now supports creating an in-memory transaction manager with multiple schemas.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1774>`__)

    *    - |improved|
         - Timelock users who start an embedded timestamp and lock service without reverse-migrating now encounter a more informative error message.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1755>`__)

=======
v0.37.0
=======

Removed 6 Apr 2017 due to dependency issues. Please use 0.38.0 instead.

Released 29 Mar 2017

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change<commit_msg>Add note for improved error message<commit_after>.. _change-log:

*********
Changelog
*********

.. role:: changetype
.. role:: changetype-breaking
    :class: changetype changetype-breaking
.. role:: changetype-new
    :class: changetype changetype-new
.. role:: changetype-fixed
    :class: changetype changetype-fixed
.. role:: changetype-changed
    :class: changetype changetype-changed
.. role:: changetype-improved
    :class: changetype changetype-improved
.. role:: changetype-deprecated
    :class: changetype changetype-deprecated

.. |userbreak| replace:: :changetype-breaking:`USER BREAK`
.. |devbreak| replace:: :changetype-breaking:`DEV BREAK`
.. |new| replace:: :changetype-new:`NEW`
.. |fixed| replace:: :changetype-fixed:`FIXED`
.. |changed| replace:: :changetype-changed:`CHANGED`
.. |improved| replace:: :changetype-improved:`IMPROVED`
.. |deprecated| replace:: :changetype-deprecated:`DEPRECATED`

.. toctree::
  :hidden:

=======
develop
=======

.. replace this with the release date

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change

    *    -
         -

=======
v0.38.0
=======

6 Apr 2017

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change

    *    - |improved|
         - The default ``sweepBatchSize`` has been changed from 1000 to 100.
           This has empirically shown to be a better batch size because it puts less stress on the underlying KVS.
           For a full list of tunable sweep parameters and default settings, see :ref:`sweep tunable options <sweep_tunable_parameters>`.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1763>`__)

    *    - |fixed|
         - Reverted `#1524 <https://github.com/palantir/atlasdb/pull/1524>`__, which caused dependency issues in upstream products.
           Once we have resolved these issues, we will reintroduce the change, which was originally part of AtlasDB 0.37.0.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1775>`__)

    *    - |fixed|
         - Creating a postgres table with a long name now throws a ``RuntimeException`` if the truncated name (first sixty characters) is the same as that of a different existing table.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1729>`__)

    *    - |fixed|
         - Fixed a performance regression introduced in `#582 <https://github.com/palantir/atlasdb/pull/582>`__, which caused sub-optimal batching behaviour when getting large sets of rows in Cassandra.
           The benchmark, intentionally set up in `#1770 <https://github.com/palantir/atlasdb/pull/1770>`__ to highlight the break, shows a 10x performance improvement.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1764>`__)

    *    - |fixed|
         - Correctness issue fixed in the ``clean-transactions-range`` CLI. This CLI is responsible for deleting potentially inconsistent transactions in the KVS upon restore from backup.
           The CLI was not reading the entire ``_transactions`` table, and as a result missed deleting transactions that started before and committed after.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1759>`__)

    *    - |devbreak|
         - The ``atlasdb-remoting`` project was removed. We don't believe this was used anywhere, but if you encounter any problems due to the project having being removed, please contact AtlasDB support.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1750>`__)

    *    - |new|
         - ``InMemoryAtlasDbFactory`` now supports creating an in-memory transaction manager with multiple schemas.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1774>`__)

    *    - |improved|
         - Timelock users who start an embedded timestamp and lock service without :ref:`reverse-migrating <timelock-reverse-migration>` now encounter a more informative error message.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1755>`__)

=======
v0.37.0
=======

Removed 6 Apr 2017 due to dependency issues. Please use 0.38.0 instead.

Released 29 Mar 2017

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change
{'fraction_non_alphanumeric': 0.12224068359838595, 'fraction_numerical': 0.0253975789223831, 'mean_word_length': 2.9619181946403383, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, 'https://': 22, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358490', 'n_tokens_mistral': 2770, 'n_tokens_neox': 2414, 'n_words': 781}