From 52d95712dbec36c666b3ddb0414c4f1cb3559212 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Sun, 2 Dec 2018 08:10:50 -0700 Subject: [PATCH] Prep for a 3.6.0 releases --- backrefs/__meta__.py | 2 +- docs/src/markdown/changelog.md | 46 ++++++---------------------------- 2 files changed, 9 insertions(+), 39 deletions(-) diff --git a/backrefs/__meta__.py b/backrefs/__meta__.py index ef81bfd..ce81966 100644 --- a/backrefs/__meta__.py +++ b/backrefs/__meta__.py @@ -186,5 +186,5 @@ def parse_version(ver, pre=False): return Version(major, minor, micro, release, pre, post, dev) -__version_info__ = Version(3, 5, 3, ".dev") +__version_info__ = Version(3, 6, 0, "final") __version__ = __version_info__._get_canonical() diff --git a/docs/src/markdown/changelog.md b/docs/src/markdown/changelog.md index 1937d89..3f0397b 100644 --- a/docs/src/markdown/changelog.md +++ b/docs/src/markdown/changelog.md @@ -1,20 +1,24 @@ # Changelog +## 4.0.0 + +- **NEW**: Drop support for new features in Python 2. Python 2 support is limited to the 3.X.X series and will only receive bug fixes up to 2020. All new features moving forward will be on the 4.X.X series and will be for Python 3+ only. + +## 3.6.0 + +- **NEW**: Make version available via the new, and more standard, `__version__` attribute and add the `__version_info__` attribute as well. Deprecate the old `version` and `version_info` attribute for future removal. + ## 3.5.2 - **FIX**: Include zip for Unicode 11 (Python 3.7) to make installation more reliable. ## 3.5.1 -Jun 3, 2018 - - **FIX**: POSIX character classes should not be part of a range. - **FIX**: Replace string casing logic properly follows other implementations like Boost etc. `\L`, `\C`, and `\E` should all terminate `\L`, and `\C`. `\l` and `\c` will be ignored if followed by `\C` or `\L`. ## 3.5.0 -Mar 13, 2018 - - **NEW**: Use a more advanced format string implementation that implements all string features, included those found in `format_spec`. - **FIX**: Relax validation so not to exclude valid named Unicode values. - **FIX**: Caching issues where byte string patterns were confused with Unicode patterns. @@ -22,28 +26,20 @@ Mar 13, 2018 ## 3.4.0 -Mar 8, 2018 - - **NEW**: Add support for generic line breaks (`\R`) to Re. - **NEW**: Add support for an overly simplified form of grapheme clusters (`\X`) to Re. Roughly equivalent to `(?>\PM\pM*)`. - **NEW**: Add support for `Vertical_Orientation` property for Unicode 10.0.0 on Python 3.7. ## 3.3.0 -Feb 27, 2018 - - **NEW**: Add support for `Indic_Positional_Category`\\`Indic_Matra_Category` and `Indic_Syllabic_Category` properties. ## 3.2.1 -Feb 26, 2018 - - **FIX**: `Bidi_Paired_Bracket_type` property's `None` value should be equivalent to all characters that are not `open` or `close` characters. ## 3.2.0 -Feb 25, 2018 - - **NEW**: Add support for `Script_Extensions` Unicode properties (Python 3 only as Python 2, Unicode 5.2.0 does not define these). Can be accessed via `\p{scripts_extensions: kana}` or `\p{scx: kana}`. - **NEW**: When defining scripts with just their name `\p{Kana}`, use `Script_Extensions` instead of `Scripts`. To get `Scripts` results, you must specify `\p{scripts: kana}` or `\p{sc: scripts}`. - **NEW**: Add `Bidi_Paired_Bracket_Type` Unicode property (Python 3.4+ only). @@ -52,8 +48,6 @@ Feb 25, 2018 ## 3.1.2 -Feb 12, 2018 - - **FIX**: Properly escape any problematic characters in Unicode tables. ## 3.1.1 @@ -64,42 +58,30 @@ Feb 11, 2018 ## 3.1.0 -Feb 11, 2018 - - **NEW**: Start and end word boundary back references are now specified with `\m` and `\M` like Regex does. `\<` and `\>` have been removed from Regex. - **FIX**: Escaped `\<` and `\>` are no longer processed as Re is known to escape these in versions less than Python 3.7. ## 3.0.5 -Feb 9, 2018 - - **FIX**: Process non raw string equivalent escaped Unicode on Python 2.7. - **FIX**: Compiled objects should return the pattern string, not the pattern object via the property `pattern`. ## 3.0.4 -Feb 8, 2018 - - **FIX**: Formally enable Python 3.7 support. - **FIX**: Tweak to Unicode wide character handling. ## 3.0.3 -Jan 28, 2018 - - **FIX**: Compiled search and replace objects should be hashable. - **FIX**: Handle cases where a new compiled pattern object is passed back through compile functions. ## 3.0.2 -Jan 22, 2018 - - **FIX**: Bregex purge was calling Re's purge instead of Regex's purge. ## 3.0.1 -Jan 21, 2018 - - **FIX**: Do not accidentally `\.` as a group in replace strings (don't use `isdigit` string method). - **FIX**: Group names can start with `_` in replace strings. - **FIX**: Do not rely on Re for parsing string. @@ -108,8 +90,6 @@ Jan 21, 2018 ## 3.0.0 -Jan 20, 2018 - - **NEW**: Added new `compile` function that returns a pattern object that feels like Re's and Regex's pattern object. - **NEW**: Add some caching of search and replace patterns. - **NEW**: Completely refactored algorithm for search and replace pattern augmentation. @@ -128,15 +108,11 @@ Jan 20, 2018 ## 2.2.0 -Dec 11, 2017 - - **NEW**: Proper support for `\N{Unicode Name}`. - **FIX**: Incomplete escapes will not be passed through, but will instead throw an error. For instance `\p` should only be passed through if it is complete `\p{category}`. Python 3.7 will error on this if we pass it through, and Python 3.6 will generate warnings. We should just consistently fail on it for all Python versions. ## 2.1.0 -Sep 29, 2017 - - **NEW**: Handle Unicode and byte notation in Re replace templates. - **NEW**: Rework algorithm to handle replace casing back references in Python 3.7 development builds in preparation for Python 3.7 release. - **NEW**: Add support for case back references when using the Regex module's `subf` and `subfn`. @@ -154,18 +130,12 @@ Sep 29, 2017 ## 1.0.2 -Aug 06, 2017 - - **FIX**: Issues related to downloading Unicode data and Unicode table generation. Include Unicode data in release. ## 1.0.1 -Jan 16, 2017 - - **FIX**: Fixes for Python 3.6. ## 1.0.0 -May 3, 2016 - - **NEW**: Initial release.