User-visible changes¶
1.3.0 - 2020-02-14¶
httplib2
certificate support is gone, pin to<=1.3.0
if you need itPython 3.8 is now supported
pypy3 is provisionally supported, report any bugs you find!
1.2.0 - 2020-01-23¶
httplib2
certificate handling is deprecated, as it has become untenable to support the varioushttplib2
releasesPython 3.5 is no longer supported
1.1.0 - 2018-11-21¶
Click 7.0, or newer, is now required for
[colour]
extragettext
support 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$LESS
has been removedtimedelta
objects are now supported byjson_datetime
Functionality that may be useful from the command line is now available via
jnrbase
command
0.8.0 - 2017-11-20¶
As advertised,
debug
’senter
andexit
have been removedcontext.env
wrapper to temporarily alter environment variablesgraphviz
is no longer required to build docs
0.7.0 - 2017-10-25¶
As advertised, support for naïve datetimes has been removed from
iso_8601
Timing
now uses adatetime.timedelta
for itselapsed
attributeTiming
now useshuman_timestamp
for its verbose outputdebug
’senter
andexit
have been renamed toon_enter
andon_exit
respectivelyThe deprecated
debug.enter
anddebug.exit
names 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.config
now uses Python’s configparser for loading config filesjnrbase.config
exposesjnrbase
’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
jnrbase
dependency to<0.5
Python 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_configs
local
git.find_tag
strict
andgit_dir
iso_8601.parse_datetime
naive
pager.pager
pager
template.highlight
lexer
andformatter
template.html2text
width
andascii_replacements
template.regexp
count
andflags
timer.Timing
verbose
iso_8601
’sUTC
class has been removed in favour of the standard library’sdatetime.timezone
Jinja2 v2.9, or newer, is required for
jnrbase[template]
0.4.0 - 2017-04-03¶
New
safe_hasattr
to workaround Python 2 oddnessparse_datetime
can generate naïve timestampsPython 3.6 is now supported
0.3.0 - 2016-12-21¶
debug.{enter,exit}
output now includes the function nameTimer
has been renamed toTiming
to 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
retext
tool as a replacement.