Skip to content

Releases: brudaswen/kotlinx-serialization-csv

2.1.0

14 Dec 09:13
Compare
Choose a tag to compare

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

14 Nov 11:25
Compare
Choose a tag to compare

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

08 Nov 12:04
Compare
Choose a tag to compare

Added

  • Support ignoreUnknownColumns.

1.0.2

11 Oct 09:51
Compare
Choose a tag to compare

Changed

  • Update to Kotlin Serialization 1.0.0.

1.0.1

02 Oct 06:10
Compare
Choose a tag to compare

Added

  • Source compatibility with Java 8.

Changed

  • Update to Kotlin Serialization 1.0.0-RC2.

1.0.0

24 Sep 09:19
Compare
Choose a tag to compare

Changed

  • Compatibility with Kotlin Serialization 1.0.0-RC.

0.2.0

24 May 17:08
Compare
Choose a tag to compare

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

21 Feb 16:47
Compare
Choose a tag to compare

Added

  • Initial release for Kotlin Serialization 0.14.0.