git.iko.soy/typeable/swagger2
on master help sign in
Update changelog with last 4 merged PRs
f1eaf8eNickolay Kudasov
CHANGELOG.md+8−1
@@ -1,8 +1,10 @@
11.0
11.0
2---
2---
3* Major changes:
3* Major changes:
4+ * Add `Data` and `Typeable` instances for `Data.Swagger` types;
4 * Merge `ParamType`/`ItemsType`/`SchemaType` into `SwaggerType` GADT;
5 * Merge `ParamType`/`ItemsType`/`SchemaType` into `SwaggerType` GADT;
5 * Merge collection format types into `CollectionFormat` GADT;
6 * Merge collection format types into `CollectionFormat` GADT;
7+ * Introduce `SwaggerItems` GADT, replacing `Items` and `SchemaItems` in `ParamSchema` (see [#24](https://github.com/GetShopTV/swagger2/pull/24));
6 * Move type, format and items fields to `ParamSchema` (former `SchemaComon`);
8 * 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))
9 * 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"`;
10 and thus remove `"#/definitions/"` from user code, leaving much clearer `Reference "Name"`;
@@ -12,6 +14,7 @@
12 * Add `declareSchema`, `declareSchemaRef`;
14 * Add `declareSchema`, `declareSchemaRef`;
13 * Replace `genericTo*` helpers with `genericDeclare*` helpers;
15 * Replace `genericTo*` helpers with `genericDeclare*` helpers;
14 * Add `paramSchemaTo[Named]Schema` helpers to facilitate code reuse for primitive schemas;
16 * Add `paramSchemaTo[Named]Schema` helpers to facilitate code reuse for primitive schemas;
17+ * Add helpers for inlining `Schema` references dynamically (see [#23](https://github.com/GetShopTV/swagger2/pull/23)).
15 * Add `ToParamSchema` class (see [#17](https://github.com/GetShopTV/swagger2/pull/17)) with
18 * Add `ToParamSchema` class (see [#17](https://github.com/GetShopTV/swagger2/pull/17)) with
16 * generic default implementation and
19 * generic default implementation and
17 * instances for some base types compliant with `http-api-data` instances;
20 * instances for some base types compliant with `http-api-data` instances;
@@ -30,10 +33,14 @@
30 * `HasSchemaCommon` -> `HasParamSchema`.
33 * `HasSchemaCommon` -> `HasParamSchema`.
31
34
32* Minor changes:
35* Minor changes:
36+ * Replace TH-generated JSON instances with `Generic`-based (see [#25](https://github.com/GetShopTV/swagger2/pull/25));
37+ * Drop `template-haskell` dependency;
33 * Omit empty array/object properties from `toJSON` output ([#22](https://github.com/GetShopTV/swagger2/pull/22));
38 * Omit empty array/object properties from `toJSON` output ([#22](https://github.com/GetShopTV/swagger2/pull/22));
39+ * Remove `minLength` property from schemas for `time` types;
34 * Move `SchemaOptions` to `Data.Swagger.SchemaOptions`;
40 * Move `SchemaOptions` to `Data.Swagger.SchemaOptions`;
35− * Haddock sections for `Data.Swagger.Lens` for easier navigation;
41+ * Remove `useReferences` from `SchemaOptions` (see [#23](https://github.com/GetShopTV/swagger2/pull/23));
36 * Place all internal submodules under `Data.Swagger.Internal`.
42 * Place all internal submodules under `Data.Swagger.Internal`.
43+ * Better documentation (see [#26](https://github.com/GetShopTV/swagger2/pull/26));
37
44
380.4.1
450.4.1
39---
46---