Prepare for release

This commit is contained in:
Alexis Bridoux 2021-05-02 18:15:20 +02:00
parent a25c562d54
commit 0c708820e6
4 changed files with 9 additions and 5 deletions

View File

@ -3,7 +3,12 @@
All notable changes to this project will be documented in this file. `Scout` adheres to [Semantic Versioning](http://semver.org).
---
## [4.0.0](https://github.com/ABridoux/scout/tree/3.0.3) (28/04/2021)
## [4.0.1](https://github.com/ABridoux/scout/tree/4.0.1) (02/05/2021)
### Fixed
- Date decoding and `PathExplorer.date` [#239]
- `ExplorerXML` add and set features works with `ExplroerXML` values [#241]
## [4.0.0](https://github.com/ABridoux/scout/tree/4.0.0) (28/04/2021)
### Added
- Conversion from CSV input to one of the available formats [#181]
- `Data` and `Date` values support [#197]

View File

@ -111,7 +111,6 @@ public func <+><A>(lhs: Parser<[A]>, rhs: Parser<A>) -> Parser<[A]> {
curry { $0 + [$1] } <^> lhs <*> rhs
}
public func <+><A>(lhs: Parser<[A]>, rhs: Parser<[A]>) -> Parser<[A]> {
curry { $0 + $1 } <^> lhs <*> rhs
}

View File

@ -4,5 +4,5 @@
// MIT license, see LICENSE file for details
public enum ScoutVersion {
public static let current = "4.0.0"
public static let current = "4.0.1"
}

View File

@ -80,11 +80,11 @@ extension CodableFormats {
return encoder
}()
public static func decode<D>(_ type: D.Type, from data: Data) throws -> D where D : Decodable {
public static func decode<D>(_ type: D.Type, from data: Data) throws -> D where D: Decodable {
try decoder.decode(type, from: data)
}
public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E : Encodable {
public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
try encoder.encode(value)
}
}