Skip to content

Releases: michel-kraemer/actson-rs

1.1.0

25 Jul 14:17
Compare
Choose a tag to compare

New features:

  • Add streaming mode, in which Actson can parse a stream of multiple top-level JSON values

Maintenance:

  • Only run serde benchmark if the serde_json feature is enabled (see #32)
  • Update dependencies

1.0.0

13 Mar 14:33
Compare
Choose a tag to compare

First stable version. We'll use semantic versioning from now on.

New features:

  • GeoJSON benchmark

Breaking changes:

  • Replace JsonEvent::Error with ParserError and let next_event() return Result
  • Remove JsonEvent::Eof and let next_event() return None instead

Maintenance:

  • Add missing docs
  • Update README

0.5.0

25 Feb 07:22
Compare
Choose a tag to compare

New features:

  • Provide more information about parser errors
  • Support top-level values when converting to Serde JSON

Breaking changes:

  • Rename JsonEvent::ValueDouble to JsonEvent::ValueFloat. This is more in line with the Rust terminology
  • Merge JsonParser::current_i32 and JsonParser::current_i64 to JsonParser::current_int and generalize them with the num-traits crate
  • Rename JsonParser::current_f64 to JsonParser::current_float
  • Rename JsonParser::current_string to JsonParser::current_str
  • Refactor errors

Maintenance:

0.4.0

21 Feb 12:20
Compare
Choose a tag to compare

Possible breaking change:

  • Do not enable tokio feature by default

Bug fixes/security fixes:

  • Replace lexical dependency with btoi and internal Rust float parsing (thanks to @zozs for the PR!)

Maintenance:

  • Update dependencies
  • Slight performance improvement: Use VecDeque instead of Vec
  • Remove fuzz

0.3.0

26 Jul 13:14
Compare
Choose a tag to compare

New features:

  • Add parsed_bytes field to JsonParser

Breaking changes:

  • Return &str from current_string() instead of String
  • Let JsonParser take ownership of Feeder and Feeder take ownership of BufReader

Maintenance:

  • Remove where clauses from struct definitions
  • Replace ringbuffer with VecDeque
  • Update dependencies

0.2.0

28 Jun 08:55
Compare
Choose a tag to compare

New features:

  • More feeders
  • Add support for asynchronous parsing with Tokio
  • Add helper to parse to Serde JSON Values

0.1.0

17 Jun 11:25
Compare
Choose a tag to compare
Add links to crates.io and docs.rs