User-visible changes¶
1.3.0 - 2020-02-14¶
httplib2certificate support is gone, pin to<=1.3.0if you need itPython 3.8 is now supported
pypy3 is provisionally supported, report any bugs you find!
1.2.0 - 2020-01-23¶
httplib2certificate handling is deprecated, as it has become untenable to support the varioushttplib2releasesPython 3.5 is no longer supported
1.1.0 - 2018-11-21¶
Click 7.0, or newer, is now required for
[colour]extragettextsupport for the command line module has been removed1sphinx 1.8 and sphinx-click are now required to build docs
1.0.0 - 2018-09-05¶
API is now frozen; changes will follow semver
0.11.0 - 2018-07-01¶
This release is the final release before 1.0.0; shake it and report what falls out!
Python 3.7 is now supported
0.10.0 - 2018-01-18¶
This is the last planned release before 1.0.0, report problems and ask questions now
Type hints, see PEP 483, have been add throughout the library
sphinx_autodoc_typehints is required to build documentation
0.9.0 - 2017-11-24¶
As advertised,
pager’s default value for$LESShas been removedtimedeltaobjects are now supported byjson_datetimeFunctionality that may be useful from the command line is now available via
jnrbasecommand
0.8.0 - 2017-11-20¶
As advertised,
debug’senterandexithave been removedcontext.envwrapper to temporarily alter environment variablesgraphvizis no longer required to build docs
0.7.0 - 2017-10-25¶
As advertised, support for naïve datetimes has been removed from
iso_8601Timingnow uses adatetime.timedeltafor itselapsedattributeTimingnow useshuman_timestampfor its verbose outputdebug’senterandexithave been renamed toon_enterandon_exitrespectivelyThe deprecated
debug.enteranddebug.exitnames will be removed in v0.8.0.httplib2 v0.10, or newer, is required for
jnrbase[net]click is now required for
jnrbase[template]jnrbase[template]requires html2text 2016.5.29 or newer and Pygments v2.1 or newerTests now require pytest-randomly
0.6.0 - 2017-10-18¶
This package is no longer considered an alpha, but given its new beta status large changes may still be made
jnrbase.confignow uses Python’s configparser for loading config filesjnrbase.configexposesjnrbase’sparse_{datetime,{time,}delta}functions for value conversionsSupport for naïve datetimes will be removed in v0.7.0
Tests now require pytest
configobj is no longer required
0.5.0 - 2017-09-24¶
Python 2 support has been removed… but, if you really need it file an issue or peg the
jnrbasedependency to<0.5Python 3.5 is the minimum supported version… but, if you desperately need support for 3.{2..4} file an issue
Many functions now use keyword-only arguments for option setting arguments, as defined in PEP 3102
Class/function
Option
config.read_configslocalgit.find_tagstrictandgit_diriso_8601.parse_datetimenaivepager.pagerpagertemplate.highlightlexerandformattertemplate.html2textwidthandascii_replacementstemplate.regexpcountandflagstimer.Timingverboseiso_8601’sUTCclass has been removed in favour of the standard library’sdatetime.timezoneJinja2 v2.9, or newer, is required for
jnrbase[template]
0.4.0 - 2017-04-03¶
New
safe_hasattrto workaround Python 2 oddnessparse_datetimecan generate naïve timestampsPython 3.6 is now supported
0.3.0 - 2016-12-21¶
debug.{enter,exit}output now includes the function nameTimerhas been renamed toTimingto match PEP 343 namingcontextlib2 is required with Python v3.4, or earlier
Python 3.5 is now supported
Python 2.6 support has been removed… but, if you need it file an issue
0.2.0 - 2016-12-14¶
First public release, start of a maintained package release process
0.1.0 - 2014-01-28¶
Initial release
Footnotes
- 1
Co-workers: Use Delphine’s
retexttool as a replacement.