Changelog for rest-gen-0.13
Changelog
0.13
Breaking changes:
- Un-exposes internal modules so we don't have to major bump on every change.
genNow accepts AST-like types instead of just strings to make it more obvious how to use it, see types inRest.Gen.Types
Bugfixes:
- Make sure Identifiers are always imported when needed. This is a further improvement on the bugfix in rest-gen-0.11.
- rest-gen-0.12 did not always take arguments in generated methods into account, so the renamed qualification has been reverted for now.
0.12
- Haskell: Module rewrites such as
Data.Text.Internal->Data.Textnow produces qualified importsimport qualified Data.Text as Data.Textinstead ofimport qualified Data.Text as Data.Text.Lazy. This prevents building against different versions of the same package that may have moved the internal module (as is the case withtext) from generating different clients.
0.11
- Bugfix: Haskell: Resources without a getter now generate identifier arguments for other end points
- Shuffles some internal (but exposed) functions around
0.10.0.4
- Drops
aeson-utilsdependency in favor ofscientific >= 0.3.2
0.10.0.3
- Allow
mtl == 2.2.*
0.10.0.1
- Bump
Cabalupper bound to< 1.22
0.10
- Generate documentation, Javascript and Haskell code for multi-delete
handlers. The name of the generated functions is
removeManyorremoveManyBy<id>. - Escape reserved names in Haskell code generation.