From 42b108f1ea035378b1e7c63965e62e75504f67f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Sa=CC=81nchez-Dehesa=20Carballo?= Date: Mon, 11 May 2020 15:25:09 +0200 Subject: [PATCH] Prepare 0.6.0 release --- CodableCSV.podspec | 2 +- README.md | 92 +++++++++--------- sources/Deprecated.swift | 95 ------------------- sources/declarative/decodable/Decoder.swift | 12 +-- .../declarative/decodable/DecoderLazy.swift | 34 +++---- sources/declarative/encodable/Encoder.swift | 16 ++-- .../declarative/encodable/EncoderLazy.swift | 16 ++-- tests/CodableTests/EncodingLazyTests.swift | 14 +-- 8 files changed, 94 insertions(+), 187 deletions(-) delete mode 100644 sources/Deprecated.swift diff --git a/CodableCSV.podspec b/CodableCSV.podspec index 742203d..b238e2c 100644 --- a/CodableCSV.podspec +++ b/CodableCSV.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'CodableCSV' - s.version = '0.5.5' + s.version = '0.6.0' s.summary = "Read and write CSV files row-by-row or through Swift's Codable interface." s.homepage = 'https://github.com/dehesa/CodableCSV' diff --git a/README.md b/README.md index a0b2b96..eacb48e 100644 --- a/README.md +++ b/README.md @@ -11,15 +11,13 @@ [CodableCSV](https://github.com/dehesa/CodableCSV) provides: -- Imperative CSV reader/writer (row-by-row and/or field-by-field). -- Declarative `Codable` encoder/decoder and lazy row decoder. +- Imperative CSV reader/writer. +- Declarative CSV encoder/decoder. - Support multiple inputs/outputs: `String`s, `Data` blobs, `URL`s, and `Stream`s (commonly used for `stdin`). - Support numerous string encodings and [Byte Order Markers](https://en.wikipedia.org/wiki/Byte_order_mark) (BOM). - Extensive configuration: delimiters, escaping scalar, trim strategy, codable strategies, presampling, etc. - [RFC4180](https://tools.ietf.org/html/rfc4180) compliant with default configuration and CRLF (`\r\n`) row delimiter. -- Multiplatform support with no dependencies. - -> The Swift Standard Library and Foundation are considered implicit requirements. +- Multiplatform support with no dependencies (the Swift Standard Library and Foundation are implicit dependencies). # Usage @@ -39,7 +37,7 @@ You can choose to add the library through SPM or Cocoapods: let package = Package( /* Your package name, supported platforms, and generated products go here */ dependencies: [ - .package(url: "https://github.com/dehesa/CodableCSV.git", from: "0.5.5") + .package(url: "https://github.com/dehesa/CodableCSV.git", from: "0.6.0") ], targets: [ .target(name: /* Your target name here */, dependencies: ["CodableCSV"]) @@ -50,7 +48,7 @@ You can choose to add the library through SPM or Cocoapods: - [Cocoapods](https://cocoapods.org). ``` - pod 'CodableCSV', '~> 0.5.5' + pod 'CodableCSV', '~> 0.6.0' ```

@@ -74,7 +72,7 @@ There are two ways to use this library: The following types provide imperative control on how to read/write CSV data. @@ -321,7 +319,7 @@ You can get all the information by simply printing the error or calling the `loc The encoders/decoders provided by this library let you use Swift's `Codable` declarative approach to encode/decode CSV data.