commit
95de69b422
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue