Skip to content

Commit c7e2767

Browse files
committed
Extract a "patch" library from reflex
1 parent fd38931 commit c7e2767

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+121
-13541
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Before opening an issue, please check whether your issue has already been report
1515

1616
* Describe the issue you're encountering or the suggestion you're making
1717
* Include any relevant steps to reproduce or code samples you can. It's always easier for us to debug if we have something that demonstrates the error.
18-
* Let us know what version of reflex you were using. If you're using a github checkout, provide the git hash.
19-
* Describe how you're building reflex (i.e., via reflex-platform, cabal install, stack, obelisk, etc.). If you're using reflex-platform or obelisk, provide the git hash of your checkout.
18+
* Let us know what version of patch you were using. If you're using a github checkout, provide the git hash.
19+
* Describe how you're building patch (i.e., via patch-platform, cabal install, stack, obelisk, etc.). If you're using patch-platform or obelisk, provide the git hash of your checkout.
2020

2121
## Submitting Changes
2222

@@ -47,7 +47,7 @@ Make sure the project builds and that the tests pass! This will generally also b
4747

4848
#### Dependencies
4949

50-
Include version bounds whenever adding a dependency to the library stanza of the cabal file. Note that libraries added to reflex.cabal also need to be added to default.nix.
50+
Include version bounds whenever adding a dependency to the library stanza of the cabal file. Note that libraries added to patch.cabal also need to be added to default.nix.
5151

5252
### Documentation
5353

ChangeLog.md

Lines changed: 3 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,5 @@
1-
# Revision history for reflex
1+
# Revision history for patch
22

3-
## 0.6.3
3+
## Unreleased
44

5-
* `Data.WeakBag.traverse` and `Data.FastWeakBag.traverse` have been deprecated.
6-
They are replaced with `Data.WeakBag.traverse_` and `Data.FastWeakBag.traverse_`, respectively.
7-
8-
* Fixes a bug in `Reflex.Patch.MapWithMove.patchThatSortsMapWith` that was producing invalid `PatchMapWithMove`.
9-
10-
* Add missing `NotReady` instances:
11-
- `instance NotReady (SpiderTimeline x) (SpiderHost x)`
12-
- `instance HasSpiderTimeline x => NotReady (SpiderTimeline x) (PerformEventT (SpiderTimeline x) (SpiderHost x))`
13-
14-
## 0.6.2.4
15-
16-
* Update to monoidal-containers 0.6
17-
18-
## 0.6.2.3
19-
20-
* Add an upper-bound to witherable
21-
22-
## 0.6.2.2
23-
24-
* Support these >= 1. Add `split-these` flag to control whether to use new these/semialign combination or not.
25-
26-
* Update version bounds to fix some CI failures
27-
28-
* Add travis CI configuration
29-
30-
## 0.6.2.1
31-
32-
* Generalize `fan` to `fanG` to take a `DMap` with non-`Identity`
33-
functor:
34-
* `fan` to `fanG`
35-
* `EventSelectorG` for `fanG` result selector.
36-
37-
* Reduce the amount of unsafeCoerce in coercing newtypes under Event/Dynamic/Behavior.
38-
* Add fused ReaderIO for the purpose of coercion (ReaderT's third argument has nominal role preventing automated coerce)
39-
* Add incrementalCoercion/coerceIncremental to go with dynamicCoercion/coerceDynamic
40-
41-
* Generalize merging functions:
42-
`merge` to `mergeG`,
43-
`mergeIncremental` to `mergeIncrementalG`,
44-
`mergeIncrementalWithMove` to `mergeIncrementalWithMoveG`.
45-
46-
* Generalize distribute function:
47-
`distributeDMapOverDynPure` to `distributeDMapOverDynPureG`,
48-
49-
## 0.6.2.0
50-
51-
* Fix `holdDyn` so that it is lazy in its event argument
52-
These produce `DMap`s whose values needn't be `Identity`.
53-
54-
* Stop using the now-deprecated `*Tag` classes (e.g., `ShowTag`).
55-
56-
* Fix `holdDyn` so that it is lazy in its event argument.
57-
58-
## 0.6.1.0
59-
60-
* Re-export all of `Data.Map.Monoidal`
61-
62-
* Fix `QueryT` and `RequesterT` tests
63-
64-
## 0.6.0.0 -- 2019-03-20
65-
66-
* Deprecate `FunctorMaybe` in favor of `Data.Witherable.Filterable`. We still export `fmapMaybe`, `ffilter`, etc., but they all rely on `Filterable` now.
67-
68-
* Rename `MonadDynamicWriter` to `DynamicWriter` and add a deprecation for the old name.
69-
70-
* Remove many deprecated functions.
71-
72-
* Add a `Num` instance for `Dynamic`.
73-
74-
* Add `matchRequestsWithResponses` to make it easier to use `Requester` with protocols that don't do this matching for you.
75-
76-
* Add `withRequesterT` to map functions over the request and response of a `RequesterT`.
77-
78-
* Suppress nil patches in `QueryT` as an optimization. The `Query` type must now have an `Eq` instance.
79-
80-
* Add `throttleBatchWithLag` to `Reflex.Time`. See that module for details.
5+
* Extract patching functionality from Reflex.

0 commit comments

Comments
 (0)