Changelog for deep-transformations-0.4
Revision history for deep-transformations
0.4 -- 2025-10-26
BREAKING
Major type changes:
- Moved the
attributionmethod from theAG.Attributionclass to the newAG.Atclass - Changed the kind of the second parameter of the
AG.Attstype family fromTypeto(Type -> Type) -> (Type -> Type) -> Type - As a consequence, removed the two deep&shallow type parameters of the
AG.AttributionandAG.Atclasses - Adopted the same naming scheme in
AG.DimorphicandAG.Monomorphic - Dropped functions
applyDefault, andapplyDefaultWithAttributesfromTransformation.AG
Major reorganization of the data types around the Keep semantics:
- Dropped
PreservingSemanticsfromAG,Monomorphic, andDimorphicmodules - Dropped
AG.knitKeeping, makingAG.Keepan attribution wrapper instead - Dropped
KeepfromMono/Dimorphicmodules - Replaced
AG.AllAttswith theAG.Keptdata type - Introduced the
AG.Keptattribute synthesized by theAG.Keeptransformation wrapper
Breaking instance changes:
- Strengthened the
Foldableconstraint on theattributionmethod toTraversable - Made the default
Bequether&Synthesizerinstances specific toAuto - Dropped the fixed instance
Full.Functor (Transformation.Rank2.Map p q)
Additions
- the
AG.Knittransformation Transformation.CoercionandFull.coerce- the wrapper
Dimorphic.Tseparate fromDimorphic.Auto - the
Originassociated type mapInheritedandmapSynthesizedSemigroupandMonoidinstances forInheritedandSynthesizedDeep.Const2instance Attribution (Keep t)
Other improvements
- Added
test/RepMinKeepandtest/RepMinKeepAG - Bumped the lower bound of the
rank2classesdependency to require the newRank2.coercemethod - Bumped the upper bound of the
generic-lensdependency - Expanded documentation
- Fixed the Transformation doctests for docspec
- Turned
doctestsfrom a testsuite into a named library, droppedcabal-doctest - Updated GitHub CI action
0.3 -- 2025-01-01
- BREAKING: Changed the definitions of
Deep.ProductandDeep.Sum - Added
Shallowclass instances for all data types declared in theRank2module - Added
Shallowclass instances forProxy,Const,Product, andSum - Bumped the upper bound of the template-haskell dependency to compile with GHC 9.12.1
- Fixed the PolyKinds-related test errors
- Added
Deep.OnlyandDeep.Flipdata types to mirrorRank2.OnlyandRank2.Flip
0.2.3 -- 2024-05-18
- Bumped the upper bound of the template-haskell dependency
- Generalized the TH generation code
- Fixed the loopy superclass constraints in instance declarations
0.2.2 -- 2023-06-25
- Updated for GHC 9.8.1 and TH 2.22
- Updated TH code to use
DuplicateRecordFieldsandOverloadedRecordDotwhen enabled - Fixed warnings in tests
0.2.1.2 -- 2023-06-25
- Bumped the upper bound of the
template-haskelldependency
0.2.1.1 -- 2023-04-02
- Bumped the upper bound of the
rank2classesdependency
0.2.1 -- 2023-01-07
- Added AG.Dimorphic
- Added combinators
Transformation.Mapped,Folded, andTraversed - Compiling with GHC 9.4
0.2 -- 2022-03-27
- Changes necessary to compile with GHC 9.2.2
- Excluded GHC 8.2.2 from
deep-transformationsand GitHub CI - Increased the
deep-transformations' bottom bound of base dependency - Relaxed the bounds of the
generic-lensdependency - Fixed
deep-transformationscompilation with GHC 9.0.1 - Added an explicit implementation
mappend = (<>) - Used haskell-ci to generate GitHub CI
- Incremented upper dependency bounds
- Added
AG.Generics.Keep - Added
knitKeepingandapplyDefaultWithAttributestoAG - Dropped
fullMapDefault - Switch the README's attribute grammar functor to map upwards
- Removed unused code
- Added
infixl 4declarations for all<$>methods - Added the
AG.Monomorphicmodule - Fixed
Transformation.Shallow.THfor repeated type parameters - Added
Transformation.Deep.Sum
0.1 -- 2020-11-11
First version