swagger2 breaking changes

hackage

17 curated breaking changes across major versions of swagger2. Use this as a migration checklist before bumping dependencies.

17
changes
Breaking changes by transition
  • v2.0.2 \u2192 v2.1breaking

    Use `InsOrdHashMap` to preserve insertion order for endpoints and definitions (see [#56](https://github.com/GetShopTV/swagger2/pull/56));

  • v2.0.2 \u2192 v2.1breaking

    Add support for GHC 8.0 (see [#65](https://github.com/GetShopTV/swagger2/pull/65)).

  • v1.2.1 \u2192 v2.0breaking

    GHC 7.8 support (see [#49](https://github.com/GetShopTV/swagger2/pull/49));

  • v1.2.1 \u2192 v2.0breaking

    Switch to classy field lenses (see [#41](https://github.com/GetShopTV/swagger2/pull/41));

  • v1.2.1 \u2192 v2.0breaking

    Add `Data.Swagger.Schema.Validation` (see [#18](https://github.com/GetShopTV/swagger2/pull/18));

  • v1.2.1 \u2192 v2.0breaking

    Add `Data.Swagger.Operation` with helpers (see [#50](https://github.com/GetShopTV/swagger2/pull/50));

  • v1.2.1 \u2192 v2.0breaking

    Add `IsString` instances for some types (see [#47](https://github.com/GetShopTV/swagger2/pull/47));

  • v1.0 \u2192 v1.1breaking

    Put `CollectionFormat` in one place (see [`3cc860d`](https://github.com/GetShopTV/swagger2/commit/3cc860dd3f002ab984f4d0e4ce1d1799f985832e)).

  • v1.0 \u2192 v1.1breaking

    Use Swagger formats for `Int32`, `Int64`, `Float`, `Double`, `Day` and `ZonedTime` (see [#32](https://github.com/GetShopTV/swagger2/pull/32));

  • v1.0 \u2192 v1.1breaking

    Export `HeaderName`, `TagName`, `HttpStatusCode` type synonyms;

  • v1.0 \u2192 v1.1breaking

    Add `ToParamSchema` instances for `[a]`, `Set a` and `HashSet a`;

  • v1.0 \u2192 v1.1breaking

    Add `Monoid` instances for `Header` and `Example`.

  • v0.4.1 \u2192 v1.0breaking

    Add `Data` and `Typeable` instances for `Data.Swagger` types;

  • v0.4.1 \u2192 v1.0breaking

    Merge `ParamType`/`ItemsType`/`SchemaType` into `SwaggerType` GADT;

  • v0.4.1 \u2192 v1.0breaking

    Merge collection format types into `CollectionFormat` GADT;

  • v0.4.1 \u2192 v1.0breaking

    Introduce `SwaggerItems` GADT, replacing `Items` and `SchemaItems` in `ParamSchema` (see [#24](https://github.com/GetShopTV/swagger2/pull/24));

  • v0.4.1 \u2192 v1.0breaking

    Move type, format and items fields to `ParamSchema` (former `SchemaComon`);

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/hackage/swagger2
swagger2 breaking changes — Hackage migration guide | DepScope