Skip to content

Latest commit

 

History

History
87 lines (52 loc) · 2.31 KB

CHANGELOG.md

File metadata and controls

87 lines (52 loc) · 2.31 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[2.1.0] - 2024-12-13

Changed

  • Update to Kotlin 2.1.0 (🏅 kudos to theyoz).
  • Update to Kotlinx-Serialization 1.7.3.
  • Make CsvConfig public.
  • Support for streaming via Reader and Appendable (🏅 kudos to UnknownJoe796).
  • Handle Microsoft Excel's insistence on using a byte order marker (🏅 kudos to UnknownJoe796).
  • Asynchronous/Streaming support via CsvRecordReader and CsvRecordWriter (🏅 kudos to UnknownJoe796).

Removed

  • Removed Csv(from: Csv, action: CsvBuilder.() -> Unit) (use from.configure {} instead).

[2.0.0] - 2020-11-08

Added

  • Csv {} builder function to configure Csv instance.

Changed

  • Use Unix newline (\n) as default recordSeparator (use Csv { recordSeparator = "\r\n" } or Csv.Rfc4180 for old behavior).
  • Using QuoteMode.NONE requires escapeChar to be set manually (use Csv { quoteMode = QuoteMode.NONE ; escapeChar = '\\' } for old behavior).
  • Last line in CSV is always ignored when empty.
  • Throws SerializationException instead of IllegalStateException in case of error.

Removed

  • Removed CsvConfiguration (use Csv {} builder function instead).
  • Removed Csv.default (use Csv { recordSeparator = "\r\n" } instead).
  • Removed Csv.rfc4180 (use Csv.Rfc4180 instead).
  • Removed Csv.excel (use Csv.Rfc4180 instead).

[1.1.0] - 2020-11-08

Added

  • Support ignoreUnknownColumns.

[1.0.2] - 2020-10-11

Changed

  • Update to Kotlin Serialization 1.0.0.

[1.0.1] - 2020-09-30

Added

  • Source compatibility with Java 8.

Changed

  • Update to Kotlin Serialization 1.0.0-RC2.

[1.0.0] - 2020-09-24

Changed

  • Compatibility with Kotlin Serialization 1.0.0-RC.

[0.2.0] - 2020-05-24

Changed

  • Compatibility with Kotlin Serialization 0.20.0.
  • (De-)Serialization of sealed classes no longer reads/writes columns for objects.
  • String for kotlin.Unit can no longer be provided and the Unit object is handled as any other object.

[0.1.0] - 2020-02-21

Added

  • Initial release for Kotlin Serialization 0.14.0.