summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst29
-rw-r--r--docs/source/changelog.rst24
-rw-r--r--natsort/_version.py2
3 files changed, 46 insertions, 9 deletions
diff --git a/README.rst b/README.rst
index aff912f..e0d640d 100644
--- a/README.rst
+++ b/README.rst
@@ -211,6 +211,28 @@ History
These are the last three entries of the changelog. See the package documentation
for the complete `changelog <http://pythonhosted.org//natsort/changelog.html>`_.
+05-08-2014 v. 5.0.0
++++++++++++++++++++
+
+ - ``ns.LOCALE``/``humansorted`` now accounts for thousands separators.
+ - Refactored entire codebase to be more functional (as in use functions as
+ units). Previously, the code was rather monolithic and difficult to follow. The
+ goal is that with the code existing in smaller units contributing will
+ be easier.
+ - Deprecated ``ns.TYPESAFE`` option as it is now always on (due to a new
+ iterator-based algorithm, the typesafe function is now cheap).
+ - Increased speed of execution (came for free with the new functional approach
+ because the new factory function paradigm eliminates most ``if`` branches
+ during execution).
+
+ - For the most cases, the code is 30-40% faster than version 4.0.4.
+ - If using ``ns.LOCALE`` or ``humansorted``, the code is 1100% faster than
+ version 4.0.4.
+
+ - Improved clarity of documentaion with regards to locale-aware sorting.
+ - Added a new ``chain_functions`` function for convenience in creating
+ a complex user-given ``key`` from several existing functions.
+
11-01-2015 v. 4.0.4
+++++++++++++++++++
@@ -222,10 +244,3 @@ for the complete `changelog <http://pythonhosted.org//natsort/changelog.html>`_.
+++++++++++++++++++
- Fixed bad install on last release (sorry guys!).
-
-06-24-2015 v. 4.0.2
-+++++++++++++++++++
-
- - Added back Python 2.6 and Python 3.2 compatibility. Unit testing is now
- performed for these versions.
- - Consolidated under-the-hood compatibility functionality.
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst
index f4b113b..99e4674 100644
--- a/docs/source/changelog.rst
+++ b/docs/source/changelog.rst
@@ -3,6 +3,28 @@
Changelog
---------
+05-08-2014 v. 5.0.0
++++++++++++++++++++
+
+ - ``ns.LOCALE``/``humansorted`` now accounts for thousands separators.
+ - Refactored entire codebase to be more functional (as in use functions as
+ units). Previously, the code was rather monolithic and difficult to follow. The
+ goal is that with the code existing in smaller units contributing will
+ be easier.
+ - Deprecated ``ns.TYPESAFE`` option as it is now always on (due to a new
+ iterator-based algorithm, the typesafe function is now cheap).
+ - Increased speed of execution (came for free with the new functional approach
+ because the new factory function paradigm eliminates most ``if`` branches
+ during execution).
+
+ - For the most cases, the code is 30-40% faster than version 4.0.4.
+ - If using ``ns.LOCALE`` or ``humansorted``, the code is 1100% faster than
+ version 4.0.4.
+
+ - Improved clarity of documentaion with regards to locale-aware sorting.
+ - Added a new ``chain_functions`` function for convenience in creating
+ a complex user-given ``key`` from several existing functions.
+
11-01-2015 v. 4.0.4
+++++++++++++++++++
@@ -255,7 +277,7 @@ Changelog
- Added tests into the natsort.py file iteself.
11-16-2012, v. 2.0.0
-+++++++++++++++++++
+++++++++++++++++++++
- Updated sorting algorithm to support floats (including exponentials) and
basic version number support.
diff --git a/natsort/_version.py b/natsort/_version.py
index 1e393ca..35df6bd 100644
--- a/natsort/_version.py
+++ b/natsort/_version.py
@@ -6,4 +6,4 @@ from __future__ import (
absolute_import
)
-__version__ = '4.0.4'
+__version__ = '5.0.0'