Skip to content

chore(deps): bump scalus from 0.17.0 to 1.1.1 in the cardano-ecosystem group across 1 directory - #433

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps the cardano-ecosystem group with 1 update in the / directory: scalus.

Updates scalus from 0.17.0 to 1.1.1

Release notes

Sourced from scalus's releases.

v1.1.0

The first feature release of the 1.x line.

Highlights:

  • Faster scripts: self-application recursion replaces the Z combinator and a static-argument transformation stops re-passing loop-invariant arguments – typical validators save 4-12% CPU, the Knights benchmark 20% memory, the CAPE fibonacci fee drops 23%
  • CIP-153 Value builtins: on protocol version 11, Value operations lower to the native builtins, ~13-75x cheaper per operation (opt out with Options.valueBuiltins = false)
  • Mutual recursion for top-level defs in @Compile objects
  • UPLC source map: full profile reports include the compiled UPLC with spans back to Scala source, consumed by the Scalus Profile VS Code extension 0.3.0 (compiled UPLC view with cursor sync)
  • New helpers: Value.containsAtLeast, Value.insertCoin, Value.hasOnly, OutputDatum.inlineOrFail, ExUnits.fitsWithin/exceeds
  • AI-assisted development: llms.txt artifacts on scalus.org and the Claude Code plugin (/plugin install scalus@scalus)

Upgrade notes:

  • Generated UPLC differs from 1.0.0: script hashes and pinned budgets change on upgrade. Options.plomin still reproduces pre-van-Rossem output.
  • scalus-sbt-plugin now requires sbt 1.9.0+ on the sbt 1.x axis.

Install:

// project/plugins.sbt
addSbtPlugin("org.scalus" % "scalus-sbt-plugin" % "1.1.0")
// build.sbt
val scalusVersion = "1.1.0"
addCompilerPlugin("org.scalus" % "scalus-plugin" % scalusVersion cross CrossVersion.full)
libraryDependencies += "org.scalus" %% "scalus" % scalusVersion

Full changelog: https://github.com/scalus3/scalus/blob/master/CHANGELOG.md

Documentation

v1.0.0-stable

The first stable release of Scalus.

What 1.0.0 means:

  • scalus-core, scalus-cardano-ledger and scalus-bloxbean-cardano-client-lib form the stable API surface, checked with MiMa on every build. Breaking changes in 1.x follow a deprecation cycle.
  • Protocol version 11 (van Rossem) is the default compile and evaluation target, matching current mainnet. Scripts are ~20% smaller and budgets ~30% lower than pre-PV11 output.
  • Integration testing runs against a protocol version 11 Yaci devnet out of the box (scalus-testkit).

Upgrading from 0.18.x? See the migration guide.

Fixed since 1.0.0-M2 (closing the compiler correctness audit for 1.0):

  • generated-name collisions in SIR lowering (prefix+counter conflation) and in the pattern-matching compiler (two matches on one source line) that could silently capture variables

... (truncated)

Changelog

Sourced from scalus's changelog.

1.1.1 (2026-08-25)

Fixed

  • ByteString.toHex is a plain def again. As a @threadUnsafe lazy val it cached a hex String twice the size of the bytes on every instance that was ever printed or encoded (about 3x memory amplification), and that initialization is not safe under concurrent access. @threadUnsafe is gone from every remaining lazy val (#349, #350)
  • ShelleyPaymentPart.toHex and ShelleyDelegationPart.toHex returned the hex wrapped in literal double quotes, because both went through ByteString.toString

Performance

  • PlutusScriptEvaluator passes the TransactionHash to evalScript instead of a pre-encoded hex string. The base path never reads it, so every redeemer of every fee-balancing pass paid for a hex String that only the custom evalBudget hook uses. The public callback type is unchanged
  • TypeScheme.arity and TypeScheme.numTypeVars are plain eager vals. As lazy vals they compiled to a volatile field with a type test and an unbox on every read, on the per-node hot path of the UPLC optimizer (~277ns vs ~874ns per 1024 steady-state reads)

JavaScript (npm scalus 1.1.1)

The npm package is published again after 0.18.1, and now carries the same version number as the JVM libraries. What changed for JavaScript users since 0.18.1:

  • Protocol version 11 (van Rossem) is the default for Scalus.evaluateScript and Scalus.evalPlutusScripts. Version 0.18.1 defaulted to PV10 (Plomin), so execution budgets differ. Pass protocolMajorVersion to evalPlutusScripts to select another version
  • scalus.js is a self-contained ES module with the @noble/* crypto dependencies inlined. A browser loads it directly from <script type="module">; the old CommonJS shim no longer works. require("scalus") now fails with ERR_PACKAGE_PATH_NOT_EXPORTED, so CommonJS callers need await import("scalus")
  • Emulator.withAddresses funds each address with 10 000 ADA when lovelacePerAddress is omitted. It funded 10 000 lovelace before, which is below min-ada, and both the README and the type declarations promised 10 000 ADA. The JVM Emulator.withAddresses already used 10 000 ADA. This fix landed after the v1.1.1 tag, so it reached the npm bundle only, not the Maven scalus_sjs1 1.1.1 artifact
  • scalus.d.ts matches the runtime again: ExUnits, Result and Redeemer are declared as top-level exports (they were never members of Scalus at runtime), and the declarations gained the Emulator constructor's initialStakeRewards argument, the submitTx(tx, debugScripts) overload, and the SlotConfig fields

1.1.0 (2026-08-21)

Added

  • Mutual recursion for top-level defs in @Compile objects. Local mutual recursion inside a compile {} block now reports a clear error (LocalMutualRecursionNotSupported) instead of failing obscurely

... (truncated)

Commits
  • d9bac08 chore: regenerate llms-api.txt version header for 1.1.1
  • fef2446 chore: regenerate llms-api.txt after ByteString.toHex and testkit API changes
  • 413f26c perf: pass TransactionHash to evalScript instead of pre-encoded hex
  • cc9b747 fix: ShelleyPaymentPart/ShelleyDelegationPart toHex returned quoted hex
  • d16485a refactor: make TypeScheme.arity and numTypeVars plain eager vals
  • e2ee918 fix: make ByteString.toHex a def and drop @​threadUnsafe lazy vals
  • 415f64c docs: implementation plan for CAPE submissions automation
  • 8947514 docs: design for automated CAPE submissions and full scenario coverage
  • 4e6cb69 chore: regenerate llms-api.txt for 1.1.0
  • 51b931f docs: mention mutual recursion in the supported-features summaries
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 29, 2026
@dependabot dependabot Bot changed the title chore(deps): bump scalus from 0.17.0 to 0.18.1 in the cardano-ecosystem group chore(deps): bump scalus from 0.17.0 to 0.18.1 in the cardano-ecosystem group across 1 directory Jun 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9 branch from 0fef661 to 5ea8344 Compare June 29, 2026 17:46
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9 branch 2 times, most recently from d916954 to 21de806 Compare July 20, 2026 09:18
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9 branch 2 times, most recently from 86f33c0 to 8ff57d6 Compare August 3, 2026 09:17
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9 branch 2 times, most recently from e24d1ba to 13c67bc Compare August 17, 2026 09:18
@dependabot
dependabot Bot requested a review from solidsnakedev as a code owner August 17, 2026 09:18
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9 branch from 13c67bc to 8bae2ee Compare August 24, 2026 09:18
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9 branch 2 times, most recently from e0814a1 to d9b6dff Compare September 7, 2026 09:18
Bumps the cardano-ecosystem group with 1 update in the / directory: [scalus](https://github.com/scalus3/scalus).


Updates `scalus` from 0.17.0 to 1.1.1
- [Release notes](https://github.com/scalus3/scalus/releases)
- [Changelog](https://github.com/scalus3/scalus/blob/master/CHANGELOG.md)
- [Commits](scalus3/scalus@v0.17.0...v1.1.1)

---
updated-dependencies:
- dependency-name: scalus
  dependency-version: 0.18.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cardano-ecosystem
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump scalus from 0.17.0 to 0.18.1 in the cardano-ecosystem group across 1 directory chore(deps): bump scalus from 0.17.0 to 1.1.1 in the cardano-ecosystem group across 1 directory Sep 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/cardano-ecosystem-88daa080b9 branch from d9b6dff to 3546962 Compare September 14, 2026 09:17
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants