From 42d4c40e9268e3f654e3b8e6f61fd13a5648c3a4 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Sat, 7 Dec 2024 15:30:19 -0500 Subject: [PATCH] WIP --- CHANGELOG.md | 10 +++++++--- gleam.toml | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce229df..f456b3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ # Changelog -## v1.3.6 - 2024-12-XX +## v2.0.0 - 2024-12-07 -- Handle values too large for JavaScript runtime - - TODO: New error(s) introduced +- Handled values that exceed either the `Number.MIN_SAFE_INTEGER` and `Number.MAX_SAFE_INTEGER` limits on the JavaScript target. +- Handled values that cannot fit within the float type, on both Erlang and JavaScript targets. + +This is a breaking change, as we introduced new errors to `ParseError`, which will affect users who are matching on the `ParseError` type. + - `OutOfIntRange` + - `OutOfFloatRange` ## v1.3.5 - 2024-11-20 diff --git a/gleam.toml b/gleam.toml index 7c44415..7eb5e97 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,5 +1,5 @@ name = "lenient_parse" -version = "1.3.5" +version = "2.0.0" description = "Lenient parsing functions for Gleam, modeled after Python's `int()` and `float()` built-ins." licences = ["Apache-2.0"]