@@ -5,6 +5,67 @@ Changes in previous versions
55
66Changes in the most recent two versions are here: :ref: `whats-new `.
77
8+ .. _whats-new-0.13.x :
9+
10+ Changes in version 0.13.1
11+ =========================
12+
13+ This is a bug-fix release:
14+
15+ - Fix (multiple) inheritance of ``future.builtins.object `` with metaclasses (issues #91 and #96)
16+ - Fix ``futurize ``'s refactoring of ``urllib `` imports (issue #94)
17+ - Fix ``futurize --all-imports `` (issue #101)
18+ - Fix ``futurize --output-dir `` logging (issue #102)
19+ - Doc formatting fix (issues #98, 100)
20+
21+
22+ Changes in version 0.13
23+ =======================
24+
25+ This is mostly a clean-up release. It adds some small new compatibility features
26+ and fixes several bugs.
27+
28+ Deprecations
29+ ------------
30+
31+ The following unused internal modules are now deprecated. They will be removed in a
32+ future release:
33+
34+ - ``future.utils.encoding `` and ``future.utils.six ``.
35+
36+ (Issue #80). See `here <http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries >`_
37+ for the rationale for unbundling them.
38+
39+
40+ New features
41+ ------------
42+
43+ - Docs: Add :ref: `compatible-idioms ` from Ed Schofield's PyConAU 2014 talk.
44+ - Add ``newint.to_bytes() `` and ``newint.from_bytes() `` (issue #85)
45+ - Add ``future.utils.raise_from `` as an equivalent to Py3's ``raise ... from
46+ ... `` syntax (issue #86).
47+ - Add ``past.builtins.oct() `` function.
48+ - Add backports for Python 2.6 of ``subprocess.check_output() ``,
49+ ``itertools.combinations_with_replacement() ``, and ``functools.cmp_to_key() ``.
50+
51+ Bug fixes
52+ ---------
53+
54+ - Use a private logger instead of the global logger in
55+ ``future.standard_library `` (issue #82). This restores compatibility of the
56+ standard library hooks with ``flask `` (issue #79).
57+ - Stage 1 of ``futurize `` no longer renames ``next `` methods to ``__next__ ``
58+ (issue #81). It still converts ``obj.next() `` method calls to
59+ ``next(obj) `` correctly.
60+ - Prevent introduction of a second set of parentheses in ``print() `` calls in
61+ some further cases.
62+ - Fix isinstance checks for subclasses of future types (issue #89).
63+ - Be explicit about encoding file contents as UTF-8 in unit tests (issue #63).
64+ Useful for building RPMs and in other environments where ``LANG=C ``.
65+ - Fix for 3-argument ``pow(x, y, z) `` with ``newint `` arguments (issue #87).
66+ (Thanks to @str4d).
67+
68+
869.. _whats-new-0.12.4 :
970
1071Changes in version 0.12.4
@@ -116,7 +177,7 @@ with tools like ``py2exe``.
116177-------------------------------------------------------------------------
117178
118179There is a new ``future.types.newobject `` base class (available as
119- ``future.builtins.object ``) that can streamline Py3/2 compatible code by
180+ ``future.builtins.object ``) that can streamline Py2/3 compatible code by
120181providing fallback Py2-compatible special methods for its subclasses. It
121182currently provides ``next() `` and ``__nonzero__() `` as fallback methods on Py2
122183when its subclasses define the corresponding Py3-style ``__next__() `` and
@@ -704,6 +765,15 @@ deprecated.
704765Summary of all changes
705766======================
706767
768+ v0.14.3:
769+ * Bug fixes
770+
771+ v0.14.2:
772+ * Bug fixes
773+
774+ v0.14.1:
775+ * Bug fixes
776+
707777v0.14:
708778 * New top-level ``builtins `` package on Py2 for cleaner imports. Equivalent to
709779 ``future.builtins ``
0 commit comments