Skip to content

Latest commit

 

History

History
655 lines (272 loc) · 26.2 KB

CHANGELOG.md

File metadata and controls

655 lines (272 loc) · 26.2 KB

2.0.0-alpha.29 (2023-02-17)

Bug Fixes

  • header parameters name generation (aa4e788)
  • upgrading vulnerable dependencies (a7ece38)

2.0.0-alpha.28 (2022-02-04)

Bug Fixes

  • AsyncAPI: update the examples codec according to the spec (47a1ad3)
  • fixing the CI (ab776f3)
  • upgrade to non-vulnerable dot-prop and trim-newlines (9c966d2)
  • upgrade vulnerable ansi-regex (5150fb8)
  • upgrading vulnerable glob-parent (dadde68)

Features

  • AsyncAPI: add non empty array support (ac33682)

BREAKING CHANGES

  • upgrading to node 10

2.0.0-alpha.27 (2021-09-14)

Bug Fixes

  • deps: fixing some dependabot alerts

Features

  • oas3: [IO-363] Arbitrary file downloads for OpenAPI 3.0 (#144)

2.0.0-alpha.26 (2021-07-14)

Bug Fixes

  • deps: fixing some dependabot alerts (790d5ff)
  • deps: fixing vulnerable minimist version (9d27320)

Features

  • oas3: Support nonEmptyArray for arrays with minItems > 0 (5038b65)

BREAKING CHANGES

  • oas3: getSerializedArrayType now takes minItems as first argument

2.0.0-alpha.25 (2021-05-27)

Bug Fixes

  • fix path to utils file when using date types (#131) (7448720), closes #117

Features

  • asyncapi: channel parameters (33ea85d)
  • support binary and text responses for 2.0 spec (da355db)
  • Support headers (#133) (24b70fa), closes #57

2.0.0-alpha.23 (2020-11-02)

Bug Fixes

  • incorrect serialization of array query parameters (#127) (b2e4ed6)

2.0.0-alpha.22 (2020-07-29)

Bug Fixes

  • ts-utils: remove timezone detection from DateFromISODateStringIO (7e238dc)

2.0.0-alpha.21 (2020-07-08)

Bug Fixes

  • change function name in utils file (1ba6017)

2.0.0-alpha.20 (2020-05-20)

Features

  • support arbitrary names in path/query params (91a2e66)

BREAKING CHANGES

  • query/path param names are now escaped

2.0.0-alpha.19 (2020-05-20)

Bug Fixes

  • incorrect generation "deprecated" jsdoc for method (#111) (51c0029)
  • query string is incorrectly serialized for primitive parameters (#103) (#109) (be39d47)
  • void response missing from union (#104) (#110) (dfb2b36)

Features

  • filter operations response (6164744)
  • support arbitrary strings as type names in TS for OA3 (79cd66e), closes #114

BREAKING CHANGES

  • type names and IO constant names now replace all non-alphanumeric characters with '_'
  • void response is added to resulting response type
  • non-successful response types are filtered out of resulting response type

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