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)
Release changes:
- Update cats-effect dependency to 2.0.0 (thanks to @paulpdaniels)
- Renew docs site https://47deg.github.io/fetch/
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)
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
.
- Introduced the
Data
typeclass to identify requests to a data source - Redesigned
DataSource
to take an extraF[_]
type parameter- Renamed
fetchOne
tofetch
andfetchMany
tobatch
- Data sources now can be implicitly constructed
- Automatic parallel implementation of
DataSource#batch
in terms ofConcurrentEffect[F]
- Renamed
- Removed
FetchMonadError
, a Fetch is now interpreted to aConcurrentEffect
- Removed
Query
, a data source now returns aF
that has an implicitConcurrentEffect[F]
- Renamed
DataSourceCache
toDataCache
, it now takes aData
instance as a parameter for insert and lookup and is parameterised to F - Renamed
Env
toLog
- Introduced
Fetch#optional
, an alternative toFetch#apply
for optional fetches - Different Data Sources can now have the same identity and result types
Fetch#run
now requires aTimer[F]
andContextShift[F]
fromcats-effect
Fetch#apply
no longer requires an implicitDataSource
and must be passed explicitly- Renamed
Fetch#runEnv
toFetch#runLog
Fetch#traverse
,Fetch#sequence
,Fetch#join
&Fetch#collect
deleted in favor of usign cats typeclass ops
- 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)
Release changes:
Release changes:
Release changes:
Release changes:
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)
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)
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)
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)
- Add
DataSource#batchingOnly
for batch-only data sources (thanks @aleczorab) - Add
DataSource#batchExecution
for controlling how batches are executed
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
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!
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
Date: 2016-05-22
- Delete the
MonadError[Id, Throwable]
instance infetch.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
Date: 2016-05-20
- Fix bug with incorrent handling of missing identities when performing concurrent fetches
Date: 2016-05-19
- First release.