summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md35
1 files changed, 20 insertions, 15 deletions
diff --git a/README.md b/README.md
index ae441b6..4c255b7 100644
--- a/README.md
+++ b/README.md
@@ -5,25 +5,31 @@ Provides "Iso"s & 'Len's for "Data.Diverse.Many" and 'Prism's for "Data.Diverse.
Refer to [ManySpec.hs](https://github.com/louispan/data-diverse-lens/blob/master/test/Data/Diverse/Lens/ManySpec.hs) and [WhichSpec.hs](https://github.com/louispan/data-diverse/blob/master/test/Data/Diverse/Lens/WhichSpec.hs) for example usages.
-
# Changelog
+* 3.0.0.0
+ - Renamed `SelectWith` to `MakeFrom`, split `ChooseBtween` to `ChooseBoth` and `ChooseFrom`.
+ - Removed hard to remember operators ``>&&>` `*&&*` `+||+` `>||>`
+ - Removed `faceted'`
+ - Added `instance AsFacet Void (Which '[])` and `instance AsFacet (Which '[]) Void`
+ - Polymorphic `HasItemX` now only requires two to three type args.
+
* 2.1.0.0
- - Removed profunctor variable @w@ from the constraint synonyms for Projected/Injected.
+ - Removed profunctor variable `w` from the constraint synonyms for `Projected`/`Injected`.
* 2.0.0.1
- - Forgot to expose constraint synonyms for Projected/Injected.
+ - Forgot to expose constraint synonyms for `Projected`/`Injected`.
* 2.0.0.0
- - Breaking change: Removed HasProject and AsInject typeclasses and changed them back to functions.
- - Added 'MatchingFacet' typeclasses for polymorphic 'matching' of prisms.
- - Added constraint synonyms for Project/Inject/Projected/Injected.
+ - Breaking change: Removed `HasProject` and `AsInject` typeclasses and changed them back to functions.
+ - Added `MatchingFacet` typeclasses for polymorphic `matching` of prisms.
+ - Added constraint synonyms for `Project`/`Inject`/`Projected`/`Injected`.
* 1.0.0.1
- Fixed missing exports of the new lens classes.
* 1.0.0.0
- - Removed overlapping instances of Data.Generics lens
+ - Removed overlapping instances of `Data.Generics` lens
- Using typeclass instead of plain functions so that lens can be used for other data types
- Added default implementations for some of these typeclasses using Data.Generic typeclasses.
- Breaking change: the xxx' version of functions are now consistently the simpler or non-polymorphic version - This is more consistent with 'Control.Lens' as well.
@@ -37,13 +43,12 @@ Refer to [ManySpec.hs](https://github.com/louispan/data-diverse-lens/blob/master
- `projectN`, `projectN'`
* 0.5.2.0
- - Added itemTag and facetTag that also tag/untags the field.
- - Added overlapping instances of Data.Generics lens
+ - Added `itemTag` and `facetTag` that also tag/untags the field.
+ - Added overlapping instances of `Data.Generics` lens
* 0.5.1.0
- - Added faceted, injected, itemized, projected, which is analogous to Profunctor Choice and Strong
- but using 'Which' and 'Many'
- - Added +||+ (analogous to +++ and |||), >||>; and *&&* (analogous to *** and &&&), and >&&>.
+ - Added `faceted`, `injected`, `itemized`, `projected`, which is analogous to `Profunctor` `Choice` and `Strong` but using `Which` and `Many`
+ - Added `+||+` (analogous to `+++` and `|||`), `>||>`; and `*&&*` (analogous to `***` and `&&&`), and `>&&>`.
* 0.5.0.0
- min bounds: data-diverse >=1.2.1
@@ -56,10 +61,10 @@ Refer to [ManySpec.hs](https://github.com/louispan/data-diverse-lens/blob/master
- included data-diverse 1.0 in the upper bounds
* 0.4.0.0
- - Changed type variable ordering of 'itemL' and 'itemL', so it's consistently 'x', 'y', then 'xs'
+ - Changed type variable ordering of `itemL` and `itemL`, so it's consistently `x`, `y`, then `xs`
* 0.3.0.0
- - Changed type variable ordering of 'facetL' and 'facetN', so it's consistently 'x' then 'xs'
+ - Changed type variable ordering of `facetL` and `facetN`, so it's consistently `x` then `xs`
* pre 0.3.0.0
- - Initial version represented as (Int, Data.Map Int Any)
+ - Initial version.