git.iko.soy/typeable/swagger2
on master help sign in
Update changelog
commitce4fbe692b5f7b972c05731b811d35aca17fd665 authorNickolay Kudasov <nickolay.kudasov@gmail.com> dateSun 13 Dec 2015, 18:59 (11 years ago) parent5da3f8e
1 file changed+37
CHANGELOG.md+37
CHANGELOG.md+37
@@ -1,3 +1,40 @@
1+1.0
2+---
3+* Major changes:
4+ * Merge `ParamType`/`ItemsType`/`SchemaType` into `SwaggerType` GADT;
5+ * Merge collection format types into `CollectionFormat` GADT;
6+ * Move type, format and items fields to `ParamSchema` (former `SchemaComon`);
7+ * Prepend reference path automatically (see [commit 49d1fad](https://github.com/GetShopTV/swagger2/commit/49d1fadd2100644e70c442667180d0d73e107a5f))
8+ and thus remove `"#/definitions/"` from user code, leaving much clearer `Reference "Name"`;
9+ * Change `Data.Swagger.Schema` (see [#19](https://github.com/GetShopTV/swagger2/pull/19)):
10+ * Change the only method of `ToSchema` to `declareNamedSchema` which should produce a `NamedSchema`
11+ along with a list of schema definitions used to produce it;
12+ * Add `declareSchema`, `declareSchemaRef`;
13+ * Replace `genericTo*` helpers with `genericDeclare*` helpers;
14+ * Add `paramSchemaTo[Named]Schema` helpers to facilitate code reuse for primitive schemas;
15+ * Add `ToParamSchema` class (see [#17](https://github.com/GetShopTV/swagger2/pull/17)) with
16+ * generic default implementation and
17+ * instances for some base types compliant with `http-api-data` instances;
18+ * Add `Data.Swagger.Declare` module with
19+ * `DeclareT` monad transformer;
20+ * `MonadDeclare` type class;
21+ * various helpers;
22+ * Rename parameter-related types:
23+ * `Parameter` -> `Param`;
24+ * `ParameterSchema` -> `ParamAnySchema`;
25+ * `ParameterOtherSchema` -> `ParamOtherSchema`;
26+ * `ParameterLocation` -> `ParamLocation`;
27+ * `SchemaCommon` -> `ParamSchema`;
28+ * `parameter*` fields renamed to `param*` fields;
29+ * `schemaCommon*` fields renamed to `paramSchema*` fields;
30+ * `HasSchemaCommon` -> `HasParamSchema`.
31+
32+* Minor changes:
33+ * Omit empty array/object properties from `toJSON` output ([#22](https://github.com/GetShopTV/swagger2/pull/22));
34+ * Move `SchemaOptions` to `Data.Swagger.SchemaOptions`;
35+ * Haddock sections for `Data.Swagger.Lens` for easier navigation;
36+ * Place all internal submodules under `Data.Swagger.Internal`.
37+
1380.4.1
239---
340* Fixes: