Skip to content

Commit

Permalink
CHANGELOG.md update and version bump v0.2.2 -> v1.0.0 (#40)
Browse files Browse the repository at this point in the history
* `CHANGELOG.md` update and version bump `v1.0.0`

* Apply review

* Update README.md
  • Loading branch information
HalidOdat authored Oct 5, 2023
1 parent fddd72d commit 7a44930
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 19 deletions.
46 changes: 33 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,80 @@
# CHANGELOG

# [# 0.2.2 (2020-12-16)](https://github.com/boa-dev/ryu-js/compare/v0.2.1...v0.2.2)
## [# 1.0.0 (2023-10-05)](https://github.com/boa-dev/ryu-js/compare/v0.2.2...v1.0.0) - ECMAScript compliant implementation of `Number.prototype.toFixed()`

Internal improvements:
### Breaking Changes

- Minimum rust version has been bumped from `1.36.0` to `1.64.0`.

### Feature Enhancements

- [FEATURE](https://github.com/boa-dev/ryu-js/pull/35):
ECMAScript specification compliant `Number.prototype.toFixed()` implementation. (@HalidOdat)

### Internal Improvements

- [INTERNAL #1](https://github.com/boa-dev/ryu-js/pull/19): Added dependabot PRs. (@Razican)
- [INTERNAL #2](https://github.com/boa-dev/ryu-js/pull/21): Sync upstream/master. (@HalidOdat)
- [INTERNAL #3](https://github.com/boa-dev/ryu-js/pull/27): Add issue and PR templates. (@HalidOdat)
- [INTERNAL #4](https://github.com/boa-dev/ryu-js/pull/28): Switch to criterion for benchmarking. (@HalidOdat)
- [INTERNAL #5](https://github.com/boa-dev/ryu-js/pull/29): Benchmark CI. (@HalidOdat)
- [INTERNAL #6](https://github.com/boa-dev/ryu-js/pull/38): Enable merge queue. (@jedel1043)

## [# 0.2.2 (2020-12-16)](https://github.com/boa-dev/ryu-js/compare/v0.2.1...v0.2.2)

### Internal Improvements

- [INTERNAL #17](https://github.com/boa-dev/ryu-js/pull/17) Sync to `dtolnay/ryu` master
- [INTERNAL #16](https://github.com/boa-dev/ryu-js/pull/16) Sync to `dtolnay/ryu` master

# [# 0.2.1 (2020-11-11)](https://github.com/boa-dev/ryu-js/compare/v0.2.0...v0.2.1)
## [# 0.2.1 (2020-11-11)](https://github.com/boa-dev/ryu-js/compare/v0.2.0...v0.2.1)

Feature enhancements:
### Feature Enhancements

- [FEATURE #11](https://github.com/boa-dev/ryu-js/pull/11):
Null check in unsafe `format32` and `format64` (in debug mode). (@HalidOdat)

Bug fixes:
### Bug Fixes

- BUG [#12](https://github.com/boa-dev/ryu-js/pull/12) [#13](https://github.com/boa-dev/ryu-js/pull/13):
Documentation fixes (@HalidOdat)

# [# 0.2.0 (2020-07-14) - ECMAScript compliant `f32` conversions Release](https://github.com/boa-dev/ryu-js/compare/v0.1.0...v0.2.0)
## [# 0.2.0 (2020-07-14) - ECMAScript compliant `f32` conversions Release](https://github.com/boa-dev/ryu-js/compare/v0.1.0...v0.2.0)

Feature enhancements:
### Feature Enhancements

- [FEATURE #6](https://github.com/boa-dev/ryu-js/pull/6):
ECMAScript specification complaint `f32` to string conversions. (@HalidOdat)

Bug fixes:
### Bug Fixes

- [BUG #2](https://github.com/boa-dev/ryu-js/pull/2) (@HalidOdat):
- Fixed compatibility with rust `1.31.0`.
- Fixed converting from `-0.0` to `0`.
- Fixed max length docs for `format32` and `format64`.

Internal improvements:
### Internal Improvements

- [INTERNAL #2](https://github.com/boa-dev/ryu-js/pull/2):
Optimized `0` and `-0` to string conversion (@HalidOdat)

# 0.1.0 (2020-07-13) - ECMAScript compliant `f64` conversions Release
# # 0.1.0 (2020-07-13) - ECMAScript compliant `f64` conversions Release

This is the initial release of this crate, it introduces ECMAScript compliant `f64` to string conversions.

Feature enhancements:
### Feature Enhancements

- [FEATURE](https://github.com/boa-dev/ryu-js/commit/ed781f5772882e38c53d40707a60b4f11414b9c8):
ECMAScript specification complaint `f64` to string conversions. (@Tropid)
- [FEATURE](https://github.com/boa-dev/ryu-js/commit/fe366fa397d04324fa693b5d85134851b09719b3):
Change name from `ryu` to `ryu-js`. (@Tropid)

Bug fixes:
### Bug Fixes

- [BUG #1](https://github.com/boa-dev/ryu-js/pull/1):
Fixed buffer overflow with length greater than 24 (max is 25). (@HalidOdat)

Internal improvements:
### Internal Improvements

- [INTERNAL #1](https://github.com/boa-dev/ryu-js/pull/2):
Fixed all clippy warnings/errors and tests (@HalidOdat)
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ryu-js"
version = "0.2.2" # don't forget to update html_root_url
version = "1.0.0"
authors = ["David Tolnay <[email protected]>", "boa-dev"]
categories = ["value-formatting", "no-std"]
description = "Fast floating point to string conversion, ECMAScript compliant."
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Ryū-js

Ryū-js is a fork of the [ryu][ryu-crate] crate adjusted to comply to the ECMAScript [number-to-string][number-to-string] algorithm.
Ryū-js is a fork of the [ryu][ryu-crate] crate adjusted to comply to the ECMAScript [number-to-string][number-to-string] algorithm, also implementing [`Number.prototype.toFixed()`][number-to-fixed] compliant conversion.

[ryu-crate]: https://crates.io/crates/ryu
[number-to-string]: https://tc39.es/ecma262/#sec-numeric-types-number-tostring
[number-to-fixed]: https://tc39.es/ecma262/#sec-number.prototype.tofixed

Pure Rust implementation of Ryū, an algorithm to quickly convert floating point
numbers to decimal strings.
Expand All @@ -23,7 +24,7 @@ uses nothing from the Rust standard library so is usable from no_std crates.*

```toml
[dependencies]
ryu-js = "0.2"
ryu-js = "1.0"
```

<br>
Expand All @@ -38,8 +39,6 @@ fn main() {
}
```

<br>

## Performance

<!--
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
//! notation.
#![no_std]
#![doc(html_root_url = "https://docs.rs/ryu-js/0.2.2")]
#![allow(
clippy::cast_lossless,
clippy::cast_possible_truncation,
Expand Down

0 comments on commit 7a44930

Please sign in to comment.