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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to Raven are documented in this file.

## [2.26.2] - 2026-09-12

### Fixed

- Indexing a `String` is a type error instead of a segfault. `s[i]` used to type check as `Char` while the back end had no `String` case for index access, so the index lowered through the list layout and read the string header as a list header, crashing at run time. Reads and index assignments are both rejected now, with the error pointing at the byte accessors. (#894, #896)
- Binary operator errors are their own diagnostic. Applying an operator to types it does not accept used to render as a generic mismatch that could degenerate into "this should be `V and V`, but it's `V and V`". The message now says the operator is not defined for the operand types, names the operator's accepted types, and carries operator-aware hints: `.to_float()` for mixed numerics under arithmetic and ordering, `.to_int()` under the bitwise family, `@derive(Ord)` with `compare` for ordering user types, and a named method for arithmetic on user types. (#895, #897)

## [2.26.1] - 2026-07-14

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

[workspace.package]
version = "2.26.1"
version = "2.26.2"
edition = "2021"
authors = ["martian56"]
license = "MIT"
Expand Down
Loading