Skip to content

Latest commit

 

History

History
511 lines (211 loc) · 17.4 KB

CHANGELOG.md

File metadata and controls

511 lines (211 loc) · 17.4 KB

2.0.0-alpha.17 (2020-01-31)

Bug Fixes

2.0.0-alpha.16 (2020-01-31)

Features

  • expand sketch schema for support foreign symbols (ca9d832)
  • support date-time format (#100) (f48451d)

2.0.0-alpha.15 (2020-01-23)

Bug Fixes

  • fix OperationObject name generation without operationId (2da2822)

Features

  • add nullable support for OpenAPI3 (937c21f)

BREAKING CHANGES

  • if operation id is missing then url/pattern is included in the name

2.0.0-alpha.14 (2020-01-17)

2.0.0-alpha.13 (2020-01-16)

Bug Fixes

  • fix ResponseValidationError class to properly extend Error (#94) (e874154), closes #93

2.0.0-alpha.12 (2019-12-18)

Bug Fixes

  • sketch: add prefix to original layer name (fb00606)
  • sketch: avoid collision for names with counter (2b3d610)

Features

  • support extract layers from sketch file (4901aa1)

2.0.0-alpha.11 (2019-12-09)

Bug Fixes

Features

  • support cwd as generate argument (3d46f56)

2.0.0-alpha.10 (2019-12-09)

Bug Fixes

  • fix '..' and '.' in spec names (3cec483)

Code Refactoring

BREAKING CHANGES

  • language is now a Reader of ResolveRefContext
  • resolveRef now requires decoder as a second argument
  • generate doesn't include out path in spec output
  • language doesn't accept out path and can return Fragment to write to out directly

2.0.0-alpha.9 (2019-12-06)

Bug Fixes

  • fix encodeURIComponent in query serialization (d7229d3)

2.0.0-alpha.8 (2019-12-05)

Bug Fixes

  • fix encodeURIComponent in query serialization (08a6ed0)

2.0.0-alpha.7 (2019-12-04)

Code Refactoring

Features

  • implement support of kebab case in property names (#83) (ff937aa), closes #82

BREAKING CHANGES

  • removed empty utils file

2.0.0-alpha.6 (2019-11-26)

Bug Fixes

  • support windows os environment (3ef7cb0)

Features

  • sketch file format (51fa6c6), closes #76
  • type codec names for swagger 2.0 (652f864)

2.0.0-alpha.5 (2019-11-15)

Features

  • query serialization support in swagger-2 and openapi-3 (3203a63), closes #74
  • support format in primitive parameters in typescript-swagger-2 (cf5cb6a)

BREAKING CHANGES

  • operations now always treat query/body parameters as Option (no ?:)
  • HTTPClient.request now receives query already serialized to string according to spec
  • ArrayQueryParameterObject.items.type should be a primitive
  • SerializedType/SerialiedFragment/SerializedParameter now filter out repeating dependencies and refs on construction
  • operations now require format types (Integer, Date etc.)

2.0.0-alpha.4 (2019-11-11)

Code Refactoring

  • rename ReferenceObject codec to ReferenceObjectCodec (bdda8e2)
  • update SchemaObject (0b4cf16)
  • update SchemaObject (58ea69d)

Features

  • add branded numeric types and codecs (7739952)
  • asyncapi shema (5fc7b84)
  • full enum support (21a6b8c)
  • oneOf support for typescript openapi 3 (f9e2ab5)
  • support Data Type Format in SchemaObject (d8bc635)
  • support ws channel bindings (dab6d10), closes #68

BREAKING CHANGES

  • IntegerSchemaObject now emits Integer type and integer codec from utils
  • SchemaObject.format was moved to PrimitiveSchemaObject.format
  • SchemaObject codec and interfaces were renamed
  • EnumSchemaObject type was added to SchemaObject
  • ReferenceObject was renamed to ReferenceObjectCodec
  • some codecs were renamed and moved
  • OneOfSchemaObject type was added to SchemaObject
  • Fragment type was added to FSEntity

2.0.0-alpha.3 (2019-11-06)

Bug Fixes

  • fix recursive allOf (ff6a181)
  • fix recursive SchemaObject in typescript 2 (8ab9fc0)

Features

  • full $ref support for typescript-3 (e95c7fd)

BREAKING CHANGES

  • SchemaObject codec was renamed to SchemaObjectCodec

2.0.0-alpha.2 (2019-10-31)

Code Refactoring

Features

  • abstract from data structure in client (f33b5f5), closes #48

BREAKING CHANGES

  • 2.0-rx was renamed to 2.0, 3.0-rx was renamed to 3.0
  • apiClient dependency was renamed to httpClient
  • APIClient was renamed to HTTPClient and now extends MonadThrow
  • FullAPIRequest/APIRequest were joined and renamed to Request

2.0.0-alpha.1 (2019-10-29)

Features

BREAKING CHANGES

  • SchemaObject codecs were changed
  • rootName/cwd was replaced with Ref
  • typescript 2.0 utils module was removed
  • output utils module was removed
  • all ts2 utils were moved to ts2 language
  • swagger2.0 spec was changed
  • API signatures as well as language signatures were changed
  • a lot of other breaking changes, see #51

2.0.0-alpha.0 (2019-10-22)

Code Refactoring

Features

BREAKING CHANGES

  • typescript template was moved to typescript/2.0-rx/index.ts
  • interface fields were made readonly
  • T symbol was removed from types
  • schema was moved to separate directory

0.7.0 (2019-09-02)

Features

BREAKING CHANGES

  • ReportValidationError message format has been changed

0.6.1 (2019-07-27)

Bug Fixes

0.6.0 (2019-05-14)

Bug Fixes

  • misspelled for class name ResponseValidationError (9f5e99e)

BREAKING CHANGES

  • generated class name changed to ResponseValidationError

0.5.0 (2019-02-19)

Bug Fixes

  • make fp-ts, io-ts and remote-data to be peer dependencies (#29) (988212b)

BREAKING CHANGES

  • listed dependencies were moved to peerDependencies

0.4.3 (2019-02-15)

Bug Fixes

  • Ability to use cusom serializer. Solves #26 (#27) (a76be11)
  • Consider HTTP201 to be successful code (#28) (b19b33d)

0.4.2 (2019-02-14)

Bug Fixes

0.4.1 (2018-12-14)

Bug Fixes

  • fix non-recursive with $ref to the same file and same name (#13) (eaa7a4b)

0.4.0 (2018-12-14)

Features

BREAKING CHANGES

  • pathToSpec renamed to pathsToSpec and it is string[] now instead of string

0.3.7 (2018-11-21)

Bug Fixes

  • fix recursion by adding explicit output type argument (8f41fa9)

0.3.6 (2018-11-21)

0.3.5 (2018-11-07)

Bug Fixes

  • fix extra partial dependency (eeef598)

0.3.4 (2018-11-07)

Bug Fixes

  • fix missing path parameter dependencies (3a5604f)

0.3.3 (2018-11-07)

Bug Fixes

0.3.2 (2018-11-07)

Bug Fixes

  • fix unknown body parameter (998debb)

0.3.1 (2018-11-07)

Bug Fixes

  • fix broken body parameters encoding (c8a4214)
  • treat empty object as unknown type (#5) (3db0d90)

BREAKING CHANGES

  • empty objects like '{}' are now serialized as unknown instead of object

0.2.4 (2018-11-02)

Bug Fixes

  • add missing errors field (ab8109a)

0.2.3 (2018-11-02)

Bug Fixes

  • remove extra body nesting, fix query/body requirements (1490946)

0.2.2 (2018-11-01)

Features

  • support recursive types (1c4c211)

0.2.1 (2018-10-31)

Bug Fixes

  • bubble option dependencies instead of hardcoding (ef48a40)

0.2.0 (2018-10-31)

Bug Fixes

Features

  • add index.ts, generate function and update main section (9d6e079)

BREAKING CHANGES

  • move serializer to languages/typescript, rename default serializer