Skip to content

0.7.0

Compare
Choose a tag to compare
@forman forman released this 19 Mar 16:36
· 55 commits to main since this release

Enhancements

  • Made writing custom slice sources easier and more flexible: (#82)

    • Slice items can now be a contextlib.AbstractContextManager so custom slice functions can now be used with @contextlib.contextmanager.
    • Introduced SliceSource.close() so contextlib.closing()
      is applicable. Deprecated SliceSource.dispose().
    • Introduced new optional configuration setting slice_source_kwargs that contains keyword-arguments passed to a configured slice_source together with each slice item.
    • Introduced optional configuration setting extra that holds additional configuration not validated by default. Intended use is by a slice_source that expects an argument named ctx and therefore can access the configuration.
  • Improved readability of the configuration reference by using setting categories and applied logical ordering of settings within categories (#85)

Full Changelog: v0.6.0...v0.7.0