@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
55
66## [ Unreleased]
77
8+ ## [ 0.4.0] - 2023-03-05
9+ ### Added
10+ - Add ability to parse literals with arbitrary suffixes (e.g. ` "foo"bla ` or ` 23px ` )
11+ - Add ` suffix() ` method to all literal types except ` BoolLit `
12+ - Add ` IntegerBase::value `
13+ - Add ` from_suffix ` and ` suffix ` methods to ` FloatType ` and ` IntegerType `
14+ - Add ` FromStr ` and ` Display ` impls to ` FloatType ` and ` IntegerType `
15+
16+ ### Changed
17+ - ** Breaking** : Mark ` FloatType ` and ` IntegerType ` as ` #[non_exhaustive] `
18+ - ** Breaking** : Fix integer parsing for cases like ` 27f32 ` . ` Literal::parse `
19+ and ` IntegerLit::parse ` will both identify this as an integer literal.
20+ - ** Breaking** : Fix float parsing by correctly rejecting inputs like ` 27f32 ` . A
21+ float literal must have a period OR an exponent part, according to the spec.
22+ Previously decimal integers were accepted in ` FloatLit::parse ` .
23+ - Improved some parts of the docs
24+
25+ ### Removed
26+ - ** Breaking** : Remove ` OwnedLiteral ` and ` SharedLiteral `
27+
828## [ 0.3.0] - 2022-12-19
929### Breaking
1030- Bump MSRV (minimal supported Rust version) to 1.54
@@ -68,7 +88,8 @@ All notable changes to this project will be documented in this file.
6888- Everything
6989
7090
71- [ Unreleased ] : https://github.com/LukasKalbertodt/litrs/compare/v0.3.0...HEAD
91+ [ Unreleased ] : https://github.com/LukasKalbertodt/litrs/compare/v0.4.0...HEAD
92+ [ 0.4.0 ] : https://github.com/LukasKalbertodt/litrs/compare/v0.3.0...v0.4.0
7293[ 0.3.0 ] : https://github.com/LukasKalbertodt/litrs/compare/v0.2.3...v0.3.0
7394[ 0.2.3 ] : https://github.com/LukasKalbertodt/litrs/compare/v0.2.2...v0.2.3
7495[ 0.2.2 ] : https://github.com/LukasKalbertodt/litrs/compare/v0.2.1...v0.2.2
0 commit comments