Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.76 KB

CHANGELOG.md

File metadata and controls

53 lines (42 loc) · 1.76 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.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.