on add-PubSub-module help sign in
reflex/ChangeLog.md
121 lines 5.0 kB history raw
1# Revision history for reflex
3## Unreleased
4* ([#416](https://github.com/reflex-frp/reflex/pull/416)) Add `now :: m (Event t ())` to `MonadHold`.
6## 0.7.1.0
8* ([#413](https://github.com/reflex-frp/reflex/pull/413), [#417](https://github.com/reflex-frp/reflex/pull/417)) Add `Reflex.Host.Headless` module which provides `runHeadlessApp` as an easy way to run a Reflex network in a "headless" environment.
9* ([#420](https://github.com/reflex-frp/reflex/pull/420)) Add a [`Data.Zip.Unzip`](https://hackage.haskell.org/package/semialign-1.1/docs/Data-Zip.html#t:Unzip) instance for `Event`.
10* ([#419](https://github.com/reflex-frp/reflex/pull/419)) Add `distributeIntMapOverDynPure` and `joinDynThroughIntMap` as convenience functions for working with `Dynamic` `IntMap`s.
13## 0.7.0.0
15* Add lifting instances for most classes to `Reflex.Profiled.Profiled`. ([#398](https://github.com/reflex-frp/reflex/pull/398))
16* Class `MonadQuery t q m` now has a `Monad m` superclass constraint. ([#400](https://github.com/reflex-frp/reflex/pull/400))
17* **(Breaking change)** Rename class `MonadBehaviorWriter` -> `BehaviorWriter` for consistency with `EventWriter`/`DynamicWriter`. ([#401](https://github.com/reflex-frp/reflex/pull/401))
18* Introduce deprecated alias `MonadBehaviorWriter = BehaviorWriter`. ([#401](https://github.com/reflex-frp/reflex/pull/401))
19* Fix bug in spider where event subscriptions would be prematurely finalized due to over-aggressive inlining. ([#409](https://github.com/reflex-frp/reflex/pull/409))
20* Add instances of `PerformEvent` and `TriggerEvent` for `MaybeT`. ([#395](https://github.com/reflex-frp/reflex/pull/395))
22## 0.6.4.1
24* Fix a bug in the Reflex Profiled transformer where
25 `Reflex.Class.mergeIncrementalG` and
26 `Reflex.Class.mergeIncrementalWithMoveG` implementations referenced
27 itself instead of the inner transformed timeline, causing an
28 infinite loop.
30## 0.6.4
32* Support GHC 8.8
34* Add `Reflex.Query.Base.mapQueryT`. See that module for documentation
36* The `Reflex.Patch.*` modules were moved to the `patch` library.
37 They are `Data.Patch.*` there, but reexported under their old names for backwards compatability here.
39* Additional instances for `Query` classes for basic types.
41* Add cabal flags `debug-propagation` and `debug-event-cycles` to build in debugging
42 code for performance and for cyclic dependencies between events
44## 0.6.3
46* `Data.WeakBag.traverse` and `Data.FastWeakBag.traverse` have been deprecated.
47 They are replaced with `Data.WeakBag.traverse_` and `Data.FastWeakBag.traverse_`, respectively.
49* Fixes a bug in `Reflex.Patch.MapWithMove.patchThatSortsMapWith` that was producing invalid `PatchMapWithMove`.
51* Add missing `NotReady` instances:
52 - `instance NotReady (SpiderTimeline x) (SpiderHost x)`
53 - `instance HasSpiderTimeline x => NotReady (SpiderTimeline x) (PerformEventT (SpiderTimeline x) (SpiderHost x))`
55## 0.6.2.4
57* Update to monoidal-containers 0.6
59## 0.6.2.3
61* Add an upper-bound to witherable
63## 0.6.2.2
65* Support these >= 1. Add `split-these` flag to control whether to use new these/semialign combination or not.
67* Update version bounds to fix some CI failures
69* Add travis CI configuration
71## 0.6.2.1
73* Generalize `fan` to `fanG` to take a `DMap` with non-`Identity`
74 functor:
75 * `fan` to `fanG`
76 * `EventSelectorG` for `fanG` result selector.
78* Reduce the amount of unsafeCoerce in coercing newtypes under Event/Dynamic/Behavior.
79 * Add fused ReaderIO for the purpose of coercion (ReaderT's third argument has nominal role preventing automated coerce)
80 * Add incrementalCoercion/coerceIncremental to go with dynamicCoercion/coerceDynamic
82* Generalize merging functions:
83 `merge` to `mergeG`,
84 `mergeIncremental` to `mergeIncrementalG`,
85 `mergeIncrementalWithMove` to `mergeIncrementalWithMoveG`.
87* Generalize distribute function:
88 `distributeDMapOverDynPure` to `distributeDMapOverDynPureG`,
90## 0.6.2.0
92* Fix `holdDyn` so that it is lazy in its event argument
93 These produce `DMap`s whose values needn't be `Identity`.
95* Stop using the now-deprecated `*Tag` classes (e.g., `ShowTag`).
97* Fix `holdDyn` so that it is lazy in its event argument.
99## 0.6.1.0
101* Re-export all of `Data.Map.Monoidal`
103* Fix `QueryT` and `RequesterT` tests
105## 0.6.0.0 -- 2019-03-20
107* Deprecate `FunctorMaybe` in favor of `Data.Witherable.Filterable`. We still export `fmapMaybe`, `ffilter`, etc., but they all rely on `Filterable` now.
109* Rename `MonadDynamicWriter` to `DynamicWriter` and add a deprecation for the old name.
111* Remove many deprecated functions.
113* Add a `Num` instance for `Dynamic`.
115* Add `matchRequestsWithResponses` to make it easier to use `Requester` with protocols that don't do this matching for you.
117* Add `withRequesterT` to map functions over the request and response of a `RequesterT`.
119* Suppress nil patches in `QueryT` as an optimization. The `Query` type must now have an `Eq` instance.
121* Add `throttleBatchWithLag` to `Reflex.Time`. See that module for details.