Skip to content

Latest commit

 

History

History
180 lines (113 loc) · 7.02 KB

CHANGELOG.md

File metadata and controls

180 lines (113 loc) · 7.02 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[unreleased]

Added

  • Support for params being passed in the header
  • Support for type : null
  • Support for const : <value>

[0.7.0] - 2024-09-23

Added

Changed

[0.6.1] - 2024-07-23

Fixed

[0.6.0] - 2024-07-16

Added

Changed

  • How the various effect types are generated. ✨ Leonardo Taglialegne
  • Now generates multiple Api.* modules when generating effects for multiple packages. ✨ Leonardo Taglialegne
    • This is to prevent with name collisions as well as horrible naming.

Fixed

  • Fix for URL builder generation. ✨ Leonardo Taglialegne
  • Fixed the CLI help doc for effect types, a couple values were reversed.

[0.5.0] - 2024-06-02

Added

  • Support for API Keys in auth
  • The new option --effect-types for determining which http effect types are generated
  • The new option --server for being able to pass in a server URL to be used in the generated requests

Changed

  • Now generates 4 files instead of 2:
    • <namespace>/Api.elm, <namespace>/Json.elm, and <namespace>/Types.elm which correspond to the OAS directly
    • OpenApi/Common.elm which can be shared across all generated SDKs

[0.4.1] - 2024-04-28

Added

  • Support for converting Swagger docs to Open API files, resolves issue #47
  • Print status of various steps of the process
    ✓ Read OAS from ./example/realworld-conduit.yaml
    ✓ Parse OAS
    ✓ Generate Elm modules
    ✓ Format with elm-format
    ✓ Write to disk

Fixed

  • Issue #86, some response names start with the status code

[0.4.0] - 2024-04-23

Added

  • Included elm/url in the possible dependencies list. ✨ James Robb

Changed

  • Now generates 2 files: <namespace>/Api.elm and <namespace>/OpenApi.elm, which resolves issue #81

[0.3.0] - 2024-04-21

Added

  • The risky version of requests, to resolve issue #71

Changed

  • Improved the success message to use links to the generated files &necessary Elm dependencies, and list elm/bytes as a possible dependency

Fixed

  • Some resopnse names could be status codes, they now generate as statusCode<number>
  • Issue #72, where URLs would end with a trailing / when they shouldn't
  • Names (like this in the BIMcloud API) can start with a $ prefix, make them Elm compliant
  • Issue #65, not all paths define error responses

[0.2.3] - 2024-04-19

Changed

  • Improved accesing JSON content to included vendored JSON. ✨ James Robb

[0.2.2] - 2024-04-14

Added

  • Custom error handling: now generates a custom error type for each endpoint that has a non-2xx responses.
  • Post generation notes: after generating the SDK, a message will be displayed with additional dependencies to install. ✨ James Robb

Changed

Removed

[0.2.1] - 2024-04-14

  • A duplicate release of 0.2.0

[0.2.0] - 2024-01-16

Added

  • Custom error handling:
    • Now generates a custom error type for each endpoint that has a non-2xx responses.

[0.1.3-beta.1] - 2023-11-17

[0.1.2] - 2023-11-13

Fixed

  • I published the wrong build for 0.1.1, this published the correct build. See 0.1.1 for changes.

[0.1.1] - 2023-11-01

Fixed

[0.1.0] - 2023-10-06

Initial release

With a large amount of help from Leonardo Taglialegne