Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Rhai Release Notes
==================

Version 1.24.0
Version 1.23.6
==============

Bug fixes
Expand All @@ -11,7 +11,8 @@ Bug fixes
* The methods `contains`, `get`, `filter` and `to_json` for object maps are now marked pure ([#1037](https://github.com/rhaiscript/rhai/pull/1037)).
* The methods `contains`, `get`, `parse_le_int`, `parse_be_int`, `parse_le_float` and `parse_be_float` for BLOB's are now marked pure ([#1037](https://github.com/rhaiscript/rhai/pull/1037)).
* `E` can now be used in scientific notation for floating-point and decimal literals (thanks [`@BrynCooke`](https://github.com/BrynCooke) [#1039](https://github.com/rhaiscript/rhai/pull/1039)).
* The `drain` and `retain` methods for object maps no longer empty the target map upon errors ([#1041](https://github.com/rhaiscript/rhai/pull/1041)).
* The `drain` and `retain` methods for object maps no longer empty the target map upon errors ([#1043](https://github.com/rhaiscript/rhai/pull/1043)).
* Using a reserved keyword as a function parameter now returns the `VariableExpected` parser error (thanks [`@TheAwiteb`](https://github.com/TheAwiteb) [#1047](https://github.com/rhaiscript/rhai/pull/1047)).

Enhancements
------------
Expand All @@ -20,11 +21,12 @@ Enhancements
* The string methods `starts_with` and `ends_with` now work with character argument ([#1042](https://github.com/rhaiscript/rhai/pull/1042)).


Version 1.23.3
Version 1.23.5
==============

This version maintains compatibility by restricting the [`ahash`](https://crates.io/crates/ahash)
dependency to `<=0.8.11` because higher versions break `no-std` builds.
This version is the same as version `1.23.6` but maintains compatibility by restricting the
[`ahash`](https://crates.io/crates/ahash) dependency to `<=0.8.11` because higher versions break
`no-std` builds.


Version 1.23.4
Expand Down Expand Up @@ -53,6 +55,14 @@ Enhancements
* `CallFnOptions::in_all_namespaces` is added to allow calling functions in all namespaces, instead of only scripted Rhai functions in the `AST`.


Version 1.23.3
==============

This version is the same as version `1.23.4` but maintains compatibility by restricting the
[`ahash`](https://crates.io/crates/ahash) dependency to `<=0.8.11` because higher versions break
`no-std` builds.


Version 1.22.2
==============

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [".", "codegen"]

[package]
name = "rhai"
version = "1.23.4"
version = "1.23.6"
rust-version = "1.66.0"
edition = "2018"
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ impl Engine {
}
.into_fn_call_expr(settings.pos));
}
// id...
// id(...
_ => (),
}

Expand Down
Loading