Skip to content

Commit

Permalink
Update to 4.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yonaskolb committed May 9, 2022
1 parent 09f8df5 commit 0bef607
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 58 deletions.
58 changes: 2 additions & 56 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Next Version

## 4.7.0

### Changed
- Expanded `IntegerFormat` to support more fixed width integers #301 @wqz-leo
- Append more types of values to MultipartFormData including arrays and dictionaries #293 @0x0c
Expand All @@ -19,8 +21,6 @@
- Improved `CodeFormatter` efficiency #272 @zntfdr
- Updated Alamofire used in template to 5.4.4 #283 @0x0c

[Commits](https://github.com/yonaskolb/SwagGen/compare/4.5.0...4.6.0)

## 4.5.0

### Changed
Expand All @@ -32,8 +32,6 @@
- Fixed sporadic crashes due to malformed URLs #268 @marcelvoss
- Fixed generation of inline types for `allOf` #267 @nicholascross, #278 @liamnichols

[Commits](https://github.com/yonaskolb/SwagGen/compare/4.4.0...4.5.0)

## 4.4.0

### Added
Expand All @@ -53,8 +51,6 @@
### Internal
- SwagGen minimum Swift version is 5.0

[Commits](https://github.com/yonaskolb/SwagGen/compare/4.3.1...4.4.0)

## 4.3.1

### Fixed
Expand All @@ -65,8 +61,6 @@
### Internal
- Removed needless `Array` initialization. #212 @RomanPodymov

[Commits](https://github.com/yonaskolb/SwagGen/compare/4.3.0...4.3.1)

## 4.3.0

### Added
Expand All @@ -85,8 +79,6 @@
- Fixed missing customization of JSONEncoder instance to encode request's body #147
- Fixed string uploads #161

[Commits](https://github.com/yonaskolb/SwagGen/compare/4.2.0...4.3.0)

## 4.2.0

### Swift Template Changes
Expand All @@ -102,8 +94,6 @@
### Changes
- Update dependencies

[Commits](https://github.com/yonaskolb/SwagGen/compare/4.1.0...4.2.0)

## 4.1.0

### Added
Expand All @@ -116,8 +106,6 @@
### Changed:
- Updated codebase to Swift 5 and dropped Swift 4.2 #139

[Commits](https://github.com/yonaskolb/SwagGen/compare/4.0.0...4.1.0)

## 4.0.0

### Added
Expand Down Expand Up @@ -155,8 +143,6 @@
- Removed support for Swagger 2 #118
- Removed Swift 4.1 support #134

[Commits](https://github.com/yonaskolb/SwagGen/compare/3.0.2...4.0.0)

## 3.0.2

### Added
Expand All @@ -171,8 +157,6 @@
- Updated to Swift 4.2
- Updated YAMS, Rainbow and SwiftCLI

[Commits](https://github.com/yonaskolb/SwagGen/compare/3.0.1...3.0.2)

## 3.0.1

### Added
Expand All @@ -181,8 +165,6 @@
### Fixed
- Fixed crash in Swift template when not using any RequestBehaviours #108

[Commits](https://github.com/yonaskolb/SwagGen/compare/3.0.0...3.0.1)

## 3.0.0

### Added
Expand Down Expand Up @@ -214,8 +196,6 @@
- Fix empty string field decoding in YAML #101
- Escape `Protocol` in swift templates

[Commits](https://github.com/yonaskolb/SwagGen/compare/2.1.2...3.0.0)

## 2.1.2

### Added
Expand All @@ -225,8 +205,6 @@
- Fixed nil `AnyCodable` values being encoded as null
- Fixed inbuilt templates not being found in Mint installations

[Commits](https://github.com/yonaskolb/SwagGen/compare/2.1.1...2.1.2)

## 2.1.1

### Added
Expand All @@ -236,8 +214,6 @@
- Fixed homebrew installation on machines with both Xcode 9.3 and Command line tools installed
- Fixed `UUID` parameter encoding #81

[Commits](https://github.com/yonaskolb/SwagGen/compare/2.1.0...2.1.1)

## 2.1.0

### Added
Expand All @@ -249,8 +225,6 @@
- Fixed `safeOptionalDecoding` not working on optional Arrays
- Fixed `date-time` not decoding in some cases #77

[Commits](https://github.com/yonaskolb/SwagGen/compare/2.0.0...2.1.0)

## 2.0.0

### Added
Expand Down Expand Up @@ -283,8 +257,6 @@
- **BREAKING** Swift template: models no longer have `init(jsonDictionary: JSONDictionary)` or `encode() -> JSONDictionary` functions #61
- Swift template: removed `JSONUtilities` dependency #61

[Commits](https://github.com/yonaskolb/SwagGen/compare/1.2.0...2.0.0)

## 1.2.0

### Added
Expand All @@ -295,8 +267,6 @@
- Fixed Swift 4.0.2 warnings
- Fixed Brew install

[Commits](https://github.com/yonaskolb/SwagGen/compare/1.1.0...1.2.0)

## 1.1.0

### Added
Expand All @@ -306,8 +276,6 @@
### Fixed
- fixed SPM installation issue

[Commits](https://github.com/yonaskolb/SwagGen/compare/1.0.0...1.1.0)

## 1.0.0

### Added
Expand All @@ -317,8 +285,6 @@
- Updated project to Swift 4 #42
- Updated Swift templates to Swift 4 #42

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.6.1...1.0.0)

## 0.6.1

### Added
Expand All @@ -331,8 +297,6 @@
### Fixed
- Fixed parameters with a file type not being generated

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.6.0...0.6.1)

## 0.6.0

This includes a large rewrite with a lot more test cases so many more specs should be supported
Expand Down Expand Up @@ -362,8 +326,6 @@ This includes a large rewrite with a lot more test cases so many more specs shou
- Within templates `tags` is now just a list of all tag names. The previous tag dictionary which contains `name` and `operations` has been moved to `operationsByTag`
- request response enum cases have been renamed

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.5.3...0.6.0)

## 0.5.3

### Swift template fixes
Expand All @@ -383,8 +345,6 @@ This includes a large rewrite with a lot more test cases so many more specs shou
### Added
Added suite of tests for parsing, generating and compiling templates from a list of specs. Will improve stability and help prevent regressions. Still some work to do in this area

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.5.2...0.5.3)

## 0.5.2

### Added
Expand All @@ -394,8 +354,6 @@ Added suite of tests for parsing, generating and compiling templates from a list
- Replaced `CustomDebugStringConvertible` with `PrettyPrinted` conformance on Models, so you can specify your own `CustomDebugStringConvertible`. Same string is available at `model.prettyPrinted`
- Moved generated request enums and anonymous schema from APIRequest.Request to one level higher in scope

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.5.1...0.5.2)

## 0.5.1

### Added
Expand All @@ -408,8 +366,6 @@ Added suite of tests for parsing, generating and compiling templates from a list
### Fixed
- Fixed api name not being replaced in `Decoding.swift` anymore

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.5.0...0.5.1)

## 0.5.0

### Added
Expand Down Expand Up @@ -446,8 +402,6 @@ Models, Requests, Errors and Responses now have CustomStringConvertible and/or C
### Fixed
- Path parameters are no longer also encoded as url parameters in the request template

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.4.1...0.5.0)

## 0.4.1

### Fixed
Expand All @@ -459,8 +413,6 @@ Improved the generation of complicated specs:
- better support for deeply nested arrays and dictionaries
- fixed nested enums

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.4.0...0.4.1)

## 0.4.0

### Added
Expand All @@ -479,16 +431,12 @@ Improved the generation of complicated specs:
### Fixed
- Swift names and types are now escaped with a greater range of swift keywords

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.3...0.4)

## 0.3.0

### Fixed
- Operations with multiple path variables now properly generate an operationId. #11 Thanks @HSchultjan
- Operation parameters that contain anonymous schemas (those that don't reference a definition schema but define a schema inline) are now genererated properly as nested structs within the APIRequest #13

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.2...0.3)

## 0.2.0

### Added
Expand All @@ -498,7 +446,5 @@ Improved the generation of complicated specs:
- `Property` and `Parameter` have lost their `rawType` and `rawName` properties in favour of the above, so they are now `raw.type` and `raw.name`
- Upgraded Stencil to [0.9](https://github.com/kylef/Stencil/releases/tag/0.9.0)

[Commits](https://github.com/yonaskolb/SwagGen/compare/0.1...0.2)

## 0.1.0
- First official release
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export EXECUTABLE_NAME = SwagGen
VERSION = 4.6.0
VERSION = 4.7.0

PREFIX = /usr/local
INSTALL_PATH = $(PREFIX)/bin/$(EXECUTABLE_NAME)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwagGen/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PathKit
import SwagGenKit
import SwiftCLI

let version = "4.6.0"
let version = "4.7.0"
let generateCommand = GenerateCommand()
let cli = CLI(name: "swaggen", version: version, description: "Swagger code generator", commands: [generateCommand])
cli.goAndExit()

0 comments on commit 0bef607

Please sign in to comment.