Skip to content

Latest commit

 

History

History
211 lines (138 loc) · 8.96 KB

CHANGELOG.md

File metadata and controls

211 lines (138 loc) · 8.96 KB

Changelog

09/16/2019 - Version 1.2.0

Release changes:

  • Update CODE_OF_CONDUCT.md (#205)
  • Update README.md (#208)
  • Only run Travis builds agains OpenJDK8 (#207)
  • Redesign Implementation (#203)
  • Fix typo on home page (#209)
  • [website] Various bugfixes/improvements (#210)
  • refactor(fetch): Loosen effect constraint for liftIO. (#215)
  • Release 1.2.0 (#214)
  • chore(dependencies): Update cats and monix dependencies. (#212)

09/16/2019 - Version 1.2.0

Release changes:

06/04/2019 - Version 1.1.0

Release changes:

  • Run a Fetch into a Monix Task (#170)
  • Don't run examples tests every time (#186)
  • Loosen implicit constraints (#187)
  • Fetch#liftIO (#182)
  • Lift Concurrent actions to Fetch (#189)
  • Switch to Scala Code of Conduct (#192)
  • Add Fetch#runAll (#194)
  • Upgrades sbt-org-policies (#196)
  • Improve Redis example (#197)
  • 1.1.0 release (#198)

02/26/2019 - Version 1.0.0

The 1.0.0 release of Fetch is a redesign of the library in terms of cats-effect abstractions. It's a backwards-incompatible release that introduces numerous breaking changes, as well as a couple of new features. It should now be easier to use, and require less work from the user of the library, especially when you are already using cats-effect.

Breaking changes

  • Introduced the Data typeclass to identify requests to a data source
  • Redesigned DataSource to take an extra F[_] type parameter
    • Renamed fetchOne to fetch and fetchMany to batch
    • Data sources now can be implicitly constructed
    • Automatic parallel implementation of DataSource#batch in terms of ConcurrentEffect[F]
  • Removed FetchMonadError, a Fetch is now interpreted to a ConcurrentEffect
  • Removed Query, a data source now returns a F that has an implicit ConcurrentEffect[F]
  • Renamed DataSourceCache to DataCache, it now takes a Data instance as a parameter for insert and lookup and is parameterised to F
  • Renamed Env to Log

New features

  • Introduced Fetch#optional, an alternative to Fetch#apply for optional fetches
  • Different Data Sources can now have the same identity and result types

API changes

  • Fetch#run now requires a Timer[F] and ContextShift[F] from cats-effect
  • Fetch#apply no longer requires an implicit DataSource and must be passed explicitly
  • Renamed Fetch#runEnv to Fetch#runLog
  • Fetch#traverse, Fetch#sequence, Fetch#join & Fetch#collect deleted in favor of usign cats typeclass ops

Documentation

  • Proof-of-concept Redis cache implementation of DataCache (#161)
  • Removed Monix, Future, and Twitter Future subprojects. Most of them should work with cats-effect abstractions already
  • GrapQL query interpreter example (#178)
  • Example using Monix Scheduler and Task to run fetches (#178)

08/21/2018 - Version 0.7.3

Release changes:

  • Updated sbt-org-policies version to 0.9.1 (#150)
  • Release Fetch v0.7.3 (#151)

06/13/2018 - Version 0.7.3

Release changes:

  • Updated sbt-org-policies version to 0.9.1 (#150)
  • Release Fetch v0.7.3 (#151)

01/23/2018 - Version 0.7.2

Release changes:

  • Update dependencies, especially to cats 1.0.1 (#146)
  • Releases 0.7.2 for cats 1.0.1 with #146 (#147)

11/21/2017 - Version 0.7.1

Release changes:

  • Cleanup CHANGELOG after failed release (#141)
  • Upgrades to cats 1.0.0-RC1 (#143)

10/06/2017 - Version 0.7.0

Release changes:

  • Update dependencies (Cats 1.0.0-MF) (#137)
  • Update name of Twitter module (#138)
  • Release Fetch v0.7.0 (#139)
  • Release 0.7.0 (#140)

08/22/2017 - Version 0.6.3

Release changes:

  • Add timeout capability to Future implementation of FetchMonadError (#127)
  • Adds commercial support statement (#129)
  • Add Twitter future support (#128)
  • Enforce consistent arrow symbols using scalafmt (#130)
  • Generalize timeout tests. Fix twitter timeout. (#131)
  • Move and reuse TestHelper (#132)
  • Release v0.6.3 (#133)
  • Change delay in flaky timeout test (#134)

06/01/2017 - Version 0.6.2

Release changes:

  • Removes dup doc files (#117)
  • orgScriptCI task integration (#118)
  • Installs Travis to be able to publish the Microsite automatically (#119)
  • Typo in README (#120)
  • Refactor interpreters + Change Fetch.traverse (#123)
  • Releases 0.6.2 (#125)

04/19/2017 - Version 0.6.1

Release changes:

  • Add batchingOnly convenience method (#110)
  • Update AUTHORS.md (#111)
  • Add curried apply to Fetch object (#109)
  • Allow sequential and parallel batches (#113)
  • 0.6.0 release (#114)
  • Reduce stack consumption (#95)
  • Integrates sbt-org-policies plugin (#115)
  • Auto-updating fetch version in docs (#116)

2017-03-17 - Version 0.6.0

  • Add DataSource#batchingOnly for batch-only data sources (thanks @aleczorab)
  • Add DataSource#batchExecution for controlling how batches are executed

Version 0.5.0

Date: 2017-01-26

  • Make DataSource#name mandatory to implement
  • Add fetch-debug project with debugging facilities for Fetch
  • Update cats to 0.9.0
  • Update Monix to 2.2.0

Version 0.4.0

Date: 2016-11-14

  • Added support for Scala 2.12.0
  • Updated cats to 0.8.1 (and monix to the compatible 2.1.0).
  • Support a maximum batch size per DataSource (xebia-functional#76).
  • Provided a new implementation for Parallel joins. This new impl changes the way fetches are inspected to parallelize independent fetches. It does this by adding a new Join construct to the Fetch structure. This Join is parallelized in a new intermediate interpreter which inspects the actual Free constructs and replaces cached fetches by Free.Pure.
  • Updated the scalafmt version which triggered some code reformatting. There is apparently an issue with sbt and scalafmt (sbt/sbt#2786) which keeps us from using sbt 0.13.13.

Thanks @peterneyens!

Version 0.3.0

Date: 2016-11-08

  • Improved and documented error handling and reporting facilities
  • Simplify query constructors
  • Minor changes to the DataSource trait, making their methods type parameters explicit
  • Internal simplification and improvements, thanks @peterneyens

Version 0.2.0

Date: 2016-05-22

  • Delete the MonadError[Id, Throwable] instance in fetch.implicits, is not lawful
  • Add fetch syntax in fetch.syntax, thanks to Raúl Raja
  • Modify DataSource#fetch signature to receive a NonEmptyList
  • Upgrade cats dependency to 0.6.0

Version 0.1.1

Date: 2016-05-20

  • Fix bug with incorrent handling of missing identities when performing concurrent fetches

Version 0.1.0

Date: 2016-05-19

  • First release.