1# Changelog 2 3All notable changes to this project will be documented in this file. 4 5 6## [Unreleased] 7 8## [0.3.0] - 2022-12-19 9### Breaking 10- Bump MSRV (minimal supported Rust version) to 1.54 11 12### Added 13- Add `raw_input` and `into_raw_input` to non-bool `*Lit` types 14- Add `impl From<*Lit> for pm::Literal` (for non-bool literals) 15- Add `impl From<BoolLit> for pm::Ident` 16 17### Fixed 18- Fix link to reference and clarify bool literals ([#7](https://github.com/LukasKalbertodt/litrs/pull/7)) 19 20### Internals 21- Move lots of parsing code into non-generic functions (this hopefully reduces compile times) 22- To implement `[into_]raw_input` for integer and float literals, their 23 internals were changed a bit so that they store the full input string now. 24 25## [0.2.3] - 2021-06-09 26### Changed 27- Minor internal code change to bring MSRV from 1.52 to 1.42 28 29## [0.2.2] - 2021-06-09 30### Changed 31- Fixed (byte) string literal parsing by: 32 - Correctly handling "string continue" sequences 33 - Correctly converting `\n\r` into `\n` 34 35## [0.2.1] - 2021-06-04 36### Changed 37- Fixed the `expected` value of the error returned from `TryFrom<TokenTree>` impls in some cases 38 39## [0.2.0] - 2021-05-28 40### Changed 41- **Breaking**: rename `Error` to `ParseError`. That describes its purpose more 42 closely and is particular useful now that other error types exist in the library. 43 44### Removed 45- **Breaking**: remove `proc-macro` feature and instead offer the corresponding 46 `impl`s unconditionally. Since the feature didn't enable/disable a 47 dependency (`proc-macro` is a compiler provided crate) and since apparently 48 it works fine in `no_std` environments, I dropped this feature. I don't 49 currently see a reason why the corresponding impls should be conditional. 50 51### Added 52- `TryFrom<TokenTree> for litrs::Literal` impls 53- `From<*Lit> for litrs::Literal` impls 54- `TryFrom<proc_macro[2]::Literal> for *Lit` 55- `TryFrom<TokenTree> for *Lit` 56- `InvalidToken` error type for all new `TryFrom` impls 57 58 59## [0.1.1] - 2021-05-25 60### Added 61- `From` impls to create a `Literal` from references to proc-macro literal types: 62 - `From<&proc_macro::Literal>` 63 - `From<&proc_macro2::Literal>` 64- Better examples in README and repository 65 66## 0.1.0 - 2021-05-24 67### Added 68- Everything 69 70 71[Unreleased]: https://github.com/LukasKalbertodt/litrs/compare/v0.3.0...HEAD 72[0.3.0]: https://github.com/LukasKalbertodt/litrs/compare/v0.2.3...v0.3.0 73[0.2.3]: https://github.com/LukasKalbertodt/litrs/compare/v0.2.2...v0.2.3 74[0.2.2]: https://github.com/LukasKalbertodt/litrs/compare/v0.2.1...v0.2.2 75[0.2.1]: https://github.com/LukasKalbertodt/litrs/compare/v0.2.0...v0.2.1 76[0.2.0]: https://github.com/LukasKalbertodt/litrs/compare/v0.1.1...v0.2.0 77[0.1.1]: https://github.com/LukasKalbertodt/litrs/compare/v0.1.0...v0.1.1 78