Skip to content

chore: release v0.3.0#45

Merged
Dinnerbone merged 1 commit into
mainfrom
release-plz-2026-05-10T20-41-58Z
May 12, 2026
Merged

chore: release v0.3.0#45
Dinnerbone merged 1 commit into
mainfrom
release-plz-2026-05-10T20-41-58Z

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 10, 2026

🤖 New release

  • rascal: 0.2.7 -> 0.3.0 (⚠ API breaking changes)
  • rascal_cli: 0.2.7 -> 0.3.0

rascal breaking changes

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/inherent_method_missing.ron

Failed in:
  ProgramBuilder::with_optimizations, previously in file /tmp/.tmpN61gRJ/rascal/src/program.rs:193

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters, not counting the receiver (self) parameter.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/method_parameter_count_changed.ron

Failed in:
  rascal::Program::compile takes 1 parameters in /tmp/.tmpN61gRJ/rascal/src/program.rs:91, but now takes 0 parameters in /tmp/.tmp845A7F/Rascal/crates/rascal/src/program.rs:114

--- failure method_receiver_ref_became_owned: method receiver changed from immutable reference to owned value ---

Description:
A method's receiver changed from an immutable reference to an owned value. Ownership is transferred as part of the call, which is a breaking change.
        ref: https://doc.rust-lang.org/reference/items/associated-items.html#methods
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/method_receiver_ref_became_owned.ron

Failed in:
  rascal::Program::compile now takes Self, not &Self, in /tmp/.tmp845A7F/Rascal/crates/rascal/src/program.rs:114
Changelog

rascal

0.3.0 - 2026-05-12

Added

  • (api) [breaking] Move optimizations into compile options
  • (api) [breaking] Support having compile options on the builder directly, as that's where most of the actual "compiling" happens

Fixed

  • (codegen) Don't use Extends opcode below swf 7
  • (codegen) Replace virtual properties with __set__X/__get__X where appropriate
  • (codegen) Support casting objects using ClassName(obj)
  • (resolving) Fix looking up paths relative to the root (e.g. Foo as opposed to foo.Bar)
  • (codegen) Allow optimization passes on class functions
  • (codegen) Allow register promotion for for (var foo : obj)
  • (pcode) Fix parsing Push NaN and Push Infinity

Other

  • (codegen) Track type names of variables
  • (api) [breaking] Make Program::compile() consume self
  • (tests) Add more tests for virtual properties
  • Bump annotate-snippets from 0.12.15 to 0.12.16
  • (codegen) Extract out convenient methods for scope finding
  • (codegen) Split up for enumerator into an enum so that we can have registers too

rascal_cli

0.3.0 - 2026-05-12

Added

  • (api) [breaking] Support having compile options on the builder directly, as that's where most of the actual "compiling" happens


This PR was generated with release-plz.

@github-actions github-actions Bot force-pushed the release-plz-2026-05-10T20-41-58Z branch 2 times, most recently from 622f1f9 to de10c0c Compare May 12, 2026 19:47
@github-actions github-actions Bot changed the title chore: release v0.2.8 chore: release v0.3.0 May 12, 2026
@github-actions github-actions Bot force-pushed the release-plz-2026-05-10T20-41-58Z branch from de10c0c to 976c3dc Compare May 12, 2026 19:49
@github-actions github-actions Bot force-pushed the release-plz-2026-05-10T20-41-58Z branch from 976c3dc to 9d07c16 Compare May 12, 2026 19:53
@github-actions github-actions Bot force-pushed the release-plz-2026-05-10T20-41-58Z branch from 9d07c16 to 8194e31 Compare May 12, 2026 22:40
@Dinnerbone Dinnerbone merged commit 926dbb9 into main May 12, 2026
@Dinnerbone Dinnerbone deleted the release-plz-2026-05-10T20-41-58Z branch May 12, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant