Skip to content

Releases: typelevel/cats-parse

v1.0.0

07 Nov 04:19
79a4140
Compare
Choose a tag to compare

Finally, a 1.0 release! This is really the same as 0.3.10 but with some bumped dependencies. We are maintaining binary compatibilty, with the 0.3 series, so if you are happy there is no urgent need to use the latest version.

What's Changed

  • Update sbt to 1.9.1 by @typelevel-steward in #509
  • Update jawn-ast to 1.5.0 by @typelevel-steward in #497
  • Update jawn-ast to 1.5.1 by @typelevel-steward in #510
  • Update scalafmt-core to 3.7.5 by @typelevel-steward in #511
  • Update scalafmt-core to 3.7.7 by @typelevel-steward in #513
  • Update sbt to 1.9.2 by @typelevel-steward in #515
  • Update sbt-scala-native-crossproject to 1.3.2 by @typelevel-steward in #514
  • Update scalafmt-core to 3.7.8 by @typelevel-steward in #516
  • Update scalafmt-core to 3.7.10 by @typelevel-steward in #518
  • Update sbt to 1.9.3 by @typelevel-steward in #520
  • Update scalafmt-core to 3.7.11 by @typelevel-steward in #521
  • Update scalafmt-core to 3.7.12 by @typelevel-steward in #522
  • Update to sbt-typelevel 0.5.0-RC11 by @armanbilge in #524
  • clean up 'recursive' parser description by @colin-m-davis in #523
  • Update sbt-typelevel, sbt-typelevel-site to 0.5.0-RC12 by @typelevel-steward in #525
  • Update cats-core to 2.10.0 by @typelevel-steward in #527
  • Update sbt to 1.9.4 by @typelevel-steward in #530
  • Update sbt-typelevel, sbt-typelevel-site to 0.5.0 by @typelevel-steward in #528
  • Update scalafmt-core to 3.7.13 by @typelevel-steward in #531
  • Update scalafmt-core to 3.7.14 by @typelevel-steward in #532
  • Update sbt-scoverage to 2.0.9 by @typelevel-steward in #536
  • Update sbt-jmh to 0.4.6 by @typelevel-steward in #534
  • add explicit type by @xuwei-k in #537
  • Update scala3-library, ... to 3.3.1 by @typelevel-steward in #535
  • Update nscplugin, sbt-scala-native, ... to 0.4.15 by @typelevel-steward in #533
  • Update sbt-typelevel, sbt-typelevel-site to 0.5.1 by @typelevel-steward in #538
  • Update sbt to 1.9.5 by @typelevel-steward in #541
  • Update munit, munit-scalacheck to 1.0.0-M9 by @typelevel-steward in #542
  • Update sbt to 1.9.6 by @typelevel-steward in #543
  • Update munit, munit-scalacheck to 1.0.0-M10 by @typelevel-steward in #544
  • Update sbt-typelevel, sbt-typelevel-site to 0.5.3 by @typelevel-steward in #545
  • Update scala-library, scala-reflect to 2.13.12 by @typelevel-steward in #539
  • Update sbt-scalajs, scalajs-compiler, ... to 1.14.0 by @typelevel-steward in #547
  • updates cats-parse version in libraryDependencies in README by @m-combinator in #546
  • Update sbt-typelevel, sbt-typelevel-site to 0.5.4 by @typelevel-steward in #548
  • Update nscplugin, sbt-scala-native, ... to 0.4.16 by @typelevel-steward in #549
  • Update sbt-typelevel, sbt-typelevel-site to 0.6.0 by @typelevel-steward in #550
  • Update sbt to 1.9.7 by @typelevel-steward in #551
  • Update scalafmt-core to 3.7.15 by @typelevel-steward in #552
  • Update sbt-typelevel, sbt-typelevel-site to 0.6.1 by @typelevel-steward in #553
  • Update parboiled to 2.5.1 by @typelevel-steward in #554
  • Bump base version to 1.0 by @armanbilge in #555

New Contributors

Full Changelog: v0.3.10...v1.0.0

Scala 3.3.0 support

25 Jun 22:06
1aa44c1
Compare
Choose a tag to compare

This is just a version update release. There should be no change in the code.

What's Changed

  • Update sbt to 1.8.2 by @typelevel-steward in #470
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.18 by @typelevel-steward in #471
  • Update nscplugin, sbt-scala-native, ... to 0.4.10 by @typelevel-steward in #474
  • Update sbt-scoverage to 2.0.7 by @typelevel-steward in #478
  • Update scalafmt-core to 3.7.1 by @typelevel-steward in #473
  • Update scala3-library, ... to 3.2.2 by @typelevel-steward in #475
  • Update sbt-scalajs, scalajs-compiler, ... to 1.13.0 by @typelevel-steward in #477
  • Update sbt-jmh to 0.4.4 by @typelevel-steward in #476
  • Update scalafmt-core to 3.7.2 by @typelevel-steward in #479
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.19 by @typelevel-steward in #480
  • Update scalafmt-core to 3.7.3 by @typelevel-steward in #485
  • Update nscplugin, sbt-scala-native, ... to 0.4.12 by @typelevel-steward in #483
  • Update sbt-scala-native-crossproject to 1.3.1 by @typelevel-steward in #488
  • Update sbt-scalajs, scalajs-compiler, ... to 1.13.1 by @typelevel-steward in #487
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.20 by @typelevel-steward in #489
  • Fix API docs url with the latest version by @lenguyenthanh in #491
  • Update sbt to 1.8.3 by @typelevel-steward in #490
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.21 by @typelevel-steward in #492
  • Update parboiled to 2.5.0 by @typelevel-steward in #493
  • Update sbt to 1.9.0 by @typelevel-steward in #498
  • Update sbt-scoverage to 2.0.8 by @typelevel-steward in #499
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.22 by @typelevel-steward in #502
  • Update scala-library, scala-reflect to 2.12.18 by @typelevel-steward in #504
  • Update nscplugin, sbt-scala-native, ... to 0.4.14 by @typelevel-steward in #503
  • Update scala-library, scala-reflect to 2.13.11 by @typelevel-steward in #505
  • Update scala3-library, ... to 3.3.0 by @typelevel-steward in #496
  • Update sbt-jmh to 0.4.5 by @typelevel-steward in #500
  • Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @typelevel-steward in #507
  • Update scalafmt-core to 3.7.4 by @typelevel-steward in #495
  • Update munit, munit-scalacheck to 1.0.0-M8 by @typelevel-steward in #506

New Contributors

Full Changelog: v0.3.9...v0.3.10

0.3.9: Now with Json string parsing

04 Jan 02:40
91ec813
Compare
Choose a tag to compare

What's changed

This version includes parsing of json strings for cases when json might be embedded in something you want to parse. If you are just directly parsing json, please use a dedicated json library, which will generally be a bit faster than a hand rolled parser using this library since a dedicated library doesn't need to support generic parser combinators.

New Features

Version Updates

  • Update nscplugin, sbt-scala-native, ... to 0.4.9 (#467) @typelevel-steward
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.17 (#464) @typelevel-steward
  • Update sbt-scalajs, scalajs-compiler, ... to 1.11.0 (#466) @typelevel-steward
  • Update cats-core to 2.9.0 (#463) @typelevel-steward
  • Update sbt to 1.8.0 (#462) @typelevel-steward
  • Update scala3-library, ... to 3.2.1 (#460) @typelevel-steward
  • Update parboiled to 2.4.1 (#459) @typelevel-steward
  • Update scalafmt-core to 3.6.1 (#458) @typelevel-steward
  • Update sbt to 1.7.3 (#457) @typelevel-steward
  • Update scala3-library, ... to 3.2.0 (#450) @typelevel-steward
  • Update scalafmt-core to 3.6.0 (#455) @typelevel-steward
  • Update sbt-scoverage to 2.0.6 (#456) @typelevel-steward
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.16 (#453) @typelevel-steward
  • Update scala-library, scala-reflect to 2.13.10 (#454) @typelevel-steward
  • Update sbt-scoverage to 2.0.5 (#452) @typelevel-steward
  • Update sbt to 1.7.2 (#451) @typelevel-steward
  • Update scala-library, scala-reflect to 2.13.9 (#448) @typelevel-steward
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.15 (#447) @typelevel-steward
  • Update sbt-scoverage to 2.0.4 (#446) @typelevel-steward
  • Update scala-library, scala-reflect to 2.12.17 (#445) @typelevel-steward
  • Update sbt-scoverage to 2.0.3 (#443) @typelevel-steward
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.14 (#444) @typelevel-steward
  • Update nscplugin, sbt-scala-native, ... to 0.4.7 (#442) @typelevel-steward
  • Update scalafmt-core to 3.5.9 (#440) @typelevel-steward
  • Update sbt-scoverage to 2.0.2 (#439) @typelevel-steward
  • Update sbt-scoverage to 2.0.1 (#432) @typelevel-steward
  • Update sbt-typelevel, sbt-typelevel-site to 0.4.13 (#431) @typelevel-steward
  • Update sbt to 1.7.1 (#430) @typelevel-steward
  • Update sbt to 1.7.0 (#429) @typelevel-steward
  • Update jawn-ast to 1.4.0 (#428) @typelevel-steward

Contributors to this release

@johnynek, @typelevel-steward and @typelevel-steward[bot]

0.3.8: now with scala native!

05 Jul 02:29
d3d1c64
Compare
Choose a tag to compare

This release introduces two main new features:

  1. instance of Show[Error] which gives you usable error messages that you can show. You may want to base custom code on that example, or it may be good enough to show directly in your error messages.2.
  2. support for scala native in scala 2.12, 2.13 and 3.

Code and Build Changes

Dependency updates

  • Update nscplugin, sbt-scala-native, ... to 0.4.5 (#427) @typelevel-steward
  • Update sbt-scalajs, scalajs-compiler, ... to 1.10.1 (#425) @typelevel-steward
  • Update sbt-scoverage to 2.0.0 (#424) @typelevel-steward
  • Update cats-core to 2.8.0 (#422) @typelevel-steward
  • Update scala3-library, ... to 3.1.3 (#423) @typelevel-steward
  • Update scala-library, scala-reflect to 2.12.16 (#418) @typelevel-steward
  • Update sbt-typelevel to 0.4.12 (#419) @typelevel-steward
  • Update sbt-paradox to 0.10.2 (#417) @typelevel-steward
  • Update sbt-typelevel to 0.4.11 (#416) @typelevel-steward
  • Update scalafmt-core to 3.5.8 (#414) @typelevel-steward
  • Update sbt-typelevel to 0.4.10 (#415) @typelevel-steward
  • Update scalafmt-core to 3.5.3 (#412) @scala-steward
  • Update scalafmt-core to 3.5.2 (#409) @scala-steward
  • Update sbt-typelevel to 0.4.9 (#407) @scala-steward
  • Update sbt-typelevel to 0.4.8 (#406) @scala-steward
  • Update scalafmt-core to 3.5.1 (#405) @scala-steward
  • Update sbt-scalajs, scalajs-compiler, ... to 1.10.0 (#404) @scala-steward
  • Update scalafmt-core to 3.5.0 (#403) @scala-steward

Contributors to this release

@i10416, @MasseGuillaume, @armanbilge, @johnynek, @regadas, @scala-steward, @typelevel-steward and @typelevel-steward[bot]

v0.3.7

02 Apr 05:39
f3f988c
Compare
Choose a tag to compare

What's Changed

This is a maintenance release. This is binary and source compatible with previous releases (with a minor exception in the BitSetUtil for scalajs changing, but that type was never intended for users to access and we hope has not reached any user code). The main user facing changes are:

  1. better error messages for when working with optional parsers or rep0 parsers followed by Parser instances (parsers that must parse at least one character).
  2. better performance of several combinators and parsers (especially stringIn, which no longer allocates on match).
  3. addition of Parser.fromCharMap and fromStringMap to make parsers from Map[Char, A] and Map[String, A] conveniently.

Code updates

Dependency updates

New Contributors

Full Changelog: v0.3.6...v0.3.7

Caret case class bug fix

20 Nov 01:51
00362b4
Compare
Choose a tag to compare

The order of the offset, row, col were wrong in the newly introduced Caret class in v0.3.5. Since Caret was just introduced, this couldn't have broken anyone, but anyone using the Caret may have noticed that the values were permuted.

This was noticed and fixed by @hugo-vrijswijk in #313

Also, @regadas added a performance optimization for parser creation in #308.

Contributors to this release

@hugo-vrijswijk, @johnynek, @regadas and @scala-steward

A little bit faster now! v0.3.5

12 Nov 19:11
c1ffc4b
Compare
Choose a tag to compare

Cats-parse 0.3.5 is now available for scala 3, 2.13, 2.12, and 2.11 for scala and scala-js.

This new release features a few key additions:

  1. A new tutorial as part of the readme. We hope this will help people get started and understand the json parsing example better #299.
  2. A significant parsing-time performance optimization #280 (we now run 25-50% longer than fast parse in json benchmarks, vs 50-100% longer in previous releases). We defer computing a detailed error message until we are sure no recovery can happen and we must report to the user.
  3. Optimization of parser-creation-time for a common case that should make it faster to allocate parsers #288, #291. Cats-parse does some static optimization at creation time, and these have been been made a bit cheaper. Note: it is always better to reuse parsers in vals to avoid paying this optimization cost each time you create a parser.
  4. A few API improvements, including Parser.caret to get the row (line) and column of the current position, LocationMap now correctly reporting a line and column for the EOF position, and some additional .soft and .with1 methods (see #289 #290).

Contributors to this release

@DenisNovac, @johnynek, @regadas, @rossabaker, @scala-steward, @tsao-chi and @zsluedem

Main Improvements

Version updates

New Contributors

Full Changelog: v0.3.4...v0.3.5

Scala 3 release!

14 May 19:15
09ca465
Compare
Choose a tag to compare

This adds support for Scala 3.0.0

What's changed

Contributors to this release

@johnynek, @mpilquist and @scala-steward

WithContext, RC3, and 2.11

06 May 22:35
171678d
Compare
Choose a tag to compare

This backwards compatible release adds two new features:

  1. withContext to aid in debugging a parser. You can add a context and retrieve it from Errors. See #194
  2. cache hashCode of parsers which can make a significant performance difference in some cases. See #200

In addition, cats-parse is now published for scala 3 RC3 and scala 2.11. The scala 2.11 support relies on using cats 2.0.0 for that version, which is the last 2.11 release of cats. The 2.11 version offers no guarantees of backwards compatibility which we do maintain for 2.12 and 2.13 (however, maintaining compatiblity for 2.12 and 2.13 will generally result in 2.11 also being compatible). We encourage everyone to update to a more recent version of scala, and the 2.11 version may not be published for very long, however we hope this can help people adopt cats-parse who are currently stuck on 2.11 and see that they have a path all the way to scala 3.

What's changed

Contributors to this release

@ghostdogpr, @johnynek, @regadas, @scala-steward and @vasilmkd

0.3.2: dependency updates for scala 3.

01 Apr 19:58
Compare
Choose a tag to compare

The motivation for this release is to publish for scala 3.0.0-RC2. No code changes were made.

What's changed

Contributors to this release

@VlachJosef, @ankitson, @johnynek and @scala-steward