Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Feb 16:41
· 6 commits to master since this release
74f7110

⚠︎ Breaking Changes

This release has breaking query API updates:

  • The query.ResultsWithChan function has been removed. Users of ResultsWithChan can replace it with ResultsWithContext, see the Query implementation in the examples.
  • The query.ResultsWithProcess has been replaced with query.ResultsWithContext . There is no longer a need for the goprocess package since query.Results can be closed when a context ins canceled by using context.AfterFunc.
  • ResultBuilder and functions associated with it have been removed. Use ResultsWithContext instead.
  • query.Results.Close no longer returns an error. This did not provide any functional value outside of a query implementation.

What's Changed

No goprocess by @gammazero in #223

  • remove goprocess from api
  • replace goprocess with Context-based functionality.
  • Close functions do not need to return error
  • replace ResultsWithProcess with ResultsWithContext
  • remove deprieated ResultsWithChan function.
  • remove ResultBuilder to simplify query API

Full Changelog: v0.7.0...v0.8.0