History#

v3.11.1#

27 Jan 2023

Fixed EncodingWarnings when reading/writing text.

v3.11.0#

20 Nov 2022

Added strip-prefix script.

v3.10.0#

20 Oct 2022

Prefer casefold in FoldedCase.

v3.9.1#

18 Aug 2022

#10: Fixed broken tests in read_newlines and show-newlines.

v3.9.0#

13 Aug 2022

Add jaraco.text.show-newlines script.

v3.8.1#

14 Jul 2022

Refreshed packaging.

Enrolled with Tidelift.

v3.8.0#

03 Jun 2022

Added layouts module and to-qwerty and to-dvorak scripts.

v3.7.0#

23 Jan 2022

Introducing yield_lines, drop_comment, and join_continuation.

v3.6.0#

31 Oct 2021

Fixed DeprecationWarning in importlib.resources.read_text as reported in #7.

v3.5.1#

15 Jul 2021

#5: Fixed warning in docs builds.

v3.5.0#

10 Feb 2021

Rely on PEP 420 for namespace package.

v3.4.0#

27 Dec 2020

Added WordSet.trim* methods.

v3.3.0#

20 Oct 2020

Require Python 3.6 or later.

v3.2.0#

01 Dec 2019

Added normalize_newlines function.

3.1#

20 Oct 2019

Added wrap and unwrap functions and lorem_ipsum attribute containing the Lorem Ipsum sample text.

3.0.1#

03 Oct 2019

Declare missing dependency on six.

3.0#

09 Mar 2019

Removed local_format, global_format, and namespace_format. Instead, developers should use f-strings on Python 3.6 and later or future-fstrings for compatibilty with older Pythons. This change eliminates the dependency on jaraco.collections and thus for now removes the circular dependency as reported in #3.

2.0#

01 Jan 2019

Switch to pkgutil namespace technique for the jaraco namespace.

1.10.1#

30 Apr 2018

Packaging refresh. Docs now published in RTD.

1.10#

07 Mar 2018

FoldedCase now supports string-containment support in an unfortunately assymetric way.

1.9.2#

14 Feb 2017

Fix bug where FoldedCase.__ne__ was case-sensitive.

1.9.1#

09 Feb 2017

Refresh packaging.

1.9#

18 Jan 2017

Synchronize with skeleton.

Update docs and expand tests on FoldedCase.

Use method_cache for FoldedCase.lower.

1.8#

22 Aug 2016

Add remove_prefix and remove_suffix helpers.

1.7#

03 Jun 2016

In Stripper, always strip the prefix, even if it’s empty.

1.6.2#

27 Dec 2015

Issue #1: Fix WordSet on Python 2.

1.6#

24 Dec 2015

Drop dependency on jaraco.context (and its dependencies).

1.5#

24 Dec 2015

Move hosting to github.

Add missing namespace package declaration in distribution.

1.4#

16 Jun 2015

Add Stripper class.

1.3#

01 Mar 2015

Add SeparatedValues class.

1.0#

15 Feb 2015

Initial implementation adopted from jaraco.util.string 10.8.