Skip to content

Bump io.github.charlietap.chasm:chasm from 1.4.8 to 1.6.1 - #163

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/gradle/io.github.charlietap.chasm-chasm-1.6.1
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/gradle/io.github.charlietap.chasm-chasm-1.6.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor

Bumps io.github.charlietap.chasm:chasm from 1.4.8 to 1.6.1.

Release notes

Sourced from io.github.charlietap.chasm:chasm's releases.

1.6.1

Whats Changed

Gradle plugin 2.2.0

Chasm 1.6.1 ships alongside version 2.2.0-1.6.1 of the Gradle plugin:

plugins {
    id("io.github.charlietap.chasm.gradle") version "2.2.0-1.6.1"
}

A better embedding api for memory writes

Historically the writeBytes function took this form:

fun writeBytes(
    store: Store,
    memory: Memory,
    pointer: Int,
    bytes: ByteArray,
): ChasmResult<Unit, ChasmError.ExecutionError> =

This has drawbacks as callers may want to use the same buffer for writes of different sizes. To address this we've introduced a new api which largely has the same ergonomics but with the option to specify a buffer pointer and the amount of bytesToWrite.

fun writeBytes(
    store: Store,
    memory: Memory,
    pointer: Int,
    buffer: ByteArray,
    bufferPointer: Int = 0,
    bytesToWrite: Int = buffer.size - bufferPointer,
): ChasmResult<Unit, ChasmError.ExecutionError> =

We will likely remove the original function in next major version of Chasm

Type-safe memory properties

The Gradle plugin can now expose exported WebAssembly memories directly on generated module interfaces:

codegenConfig = CodegenConfig(
    generateTypesafeMemoryProperties = true,
)

... (truncated)

Commits
  • bb24438 release: prepare version 1.6.1
  • cac065a plugin: configure suspending factories per module
  • 680e303 plugin: verify codegen with golden files
  • f45a1bb plugin: share generated function input buffers
  • 971efb4 plugin: generate type-safe memory properties
  • d0abe98 vm: introduce suspending factories aliases
  • db97d8b corpus: move read out of timing and regen baseline
  • 04d868d release: prepare version 1.6.0
  • 21aafae gradle: disable parallel IDE sync
  • f6b59b5 build: update project dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [io.github.charlietap.chasm:chasm](https://github.com/CharlieTap/chasm) from 1.4.8 to 1.6.1.
- [Release notes](https://github.com/CharlieTap/chasm/releases)
- [Commits](CharlieTap/chasm@1.4.8...1.6.1)

---
updated-dependencies:
- dependency-name: io.github.charlietap.chasm:chasm
  dependency-version: 1.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Aug 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #166.

@dependabot dependabot Bot closed this Aug 25, 2026
@dependabot
dependabot Bot deleted the dependabot/gradle/io.github.charlietap.chasm-chasm-1.6.1 branch August 25, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants