From d0e001e1a7f6f1ea238cc328097cb96d47d9e7ea Mon Sep 17 00:00:00 2001 From: icyleaf Date: Fri, 28 Feb 2020 22:46:05 +0800 Subject: [PATCH] Release 0.2.0 (#12) * release v0.2.0 * Update README.md Co-authored-by: Julien Reichardt --- CHANGELOG.md | 16 +++++++++++++++- README.md | 2 +- shard.yml | 4 ++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fa34ab..a7a495c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. > List all changes before release a new version. +## [0.2.0] (2020-02-28) + +### Added + +- (**breaking-change**) Make operation's `responses` as **REQUIRED**, to match the specification. [#7](https://github.com/icyleaf/swagger/pull/7) +- Update OpenAPI version to 3.0.3. [#11](https://github.com/icyleaf/swagger/pull/11) + +### Changed + +- Change location to `Swagger::Objects::Parameter::Location` enum. [#5](https://github.com/icyleaf/swagger/pull/5) +- Use JSDelivr CDN source instead of local swagger-ui assets. [#9](https://github.com/icyleaf/swagger/pull/9) +- Move OpenAPI version to `Swagger::Document`. [#10](https://github.com/icyleaf/swagger/pull/10) + ## [0.1.1] (2019-12-27) ### Fixed @@ -19,5 +32,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - First beta version. -[Unreleased]: https://github.com/icyleaf/swagger/compare/v0.1.1...HEAD +[Unreleased]: https://github.com/icyleaf/swagger/compare/v0.2.0...HEAD +[0.2.0]: https://github.com/icyleaf/swagger/compare/v0.1.1...v0.2.0 [0.1.1]: https://github.com/icyleaf/swagger/compare/v0.1.0...v0.1.1 diff --git a/README.md b/README.md index 1d94260..ad8831f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Document](https://img.shields.io/badge/document-api-brightgreen.svg)](https://icyleaf.github.io/swagger/) [![Build Status](https://img.shields.io/circleci/project/github/icyleaf/swagger/master.svg?style=flat)](https://circleci.com/gh/icyleaf/swagger) -Swagger is low-level library which generate output compatible with [Swagger / OpenAPI Spec 3.0.1](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md), +Swagger is a low-level library which generates a document compatible with [Swagger / OpenAPI Spec 3.0.3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md), and wrapped many friendly APIs let developer understand and use it easier. ## Installation diff --git a/shard.yml b/shard.yml index 09c7a69..08cd55c 100644 --- a/shard.yml +++ b/shard.yml @@ -1,9 +1,9 @@ name: swagger -version: 0.1.1 +version: 0.2.0 authors: - icyleaf -crystal: 0.32.0 +crystal: 0.33.0 license: MIT