Skip to content

Latest commit

 

History

History
180 lines (133 loc) · 5.81 KB

NEWS.rst

File metadata and controls

180 lines (133 loc) · 5.81 KB

User-visible changes

1.3.0 - 2020-02-14

  • httplib2 certificate support is gone, pin to <=1.3.0 if you need it
  • Python 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 various httplib2 releases
  • Python 3.5 is no longer supported

1.1.0 - 2018-11-21

  • Click 7.0, or newer, is now required for [colour] extra
  • gettext support for the command line module has been removed1
  • sphinx 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 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 removed
  • timedelta objects are now supported by json_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's enter and exit have been removed
  • context.env wrapper to temporarily alter environment variables
  • graphviz 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 a datetime.timedelta for its elapsed attribute
  • Timing now uses human_timestamp for its verbose output
  • debug’s enter and exit have been renamed to on_enter and on_exit respectively
  • The deprecated debug.enter and debug.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 newer
  • Tests 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 files
  • jnrbase.config exposes jnrbase’s parse_{datetime,{time,}delta} functions for value conversions
  • Support 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 and git_dir
    iso_8601.parse_datetime naive
    pager.pager pager
    template.highlight lexer and formatter
    template.html2text width and ascii_replacements
    template.regexp count and flags
    timer.Timing verbose
  • iso_8601’s UTC class has been removed in favour of the standard library’s datetime.timezone
  • Jinja2 v2.9, or newer, is required for jnrbase[template]

0.4.0 - 2017-04-03

  • New safe_hasattr to workaround Python 2 oddness
  • parse_datetime can generate naïve timestamps
  • Python 3.6 is now supported

0.3.0 - 2016-12-21

  • debug.{enter,exit} output now includes the function name
  • Timer has been renamed to Timing to match PEP 343 naming
  • contextlib2 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

Pygments config datetimes


  1. Co-workers: Use Delphine’s retext tool as a replacement.