# Compact.js 2.5.3 release notes

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

* **Version**: 2.5.3
* **Date**: 9 July 2026

***

## High-level summary[​](#high-level-summary "Direct link to High-level summary")

Compact.js provides a TypeScript-based execution environment for smart contracts compiled with the [Compact](https://docs.midnight.network/compact.md) language.

Version 2.5.3 is a maintenance release and the first version published to npm from the migrated `midnightntwrk/midnight-sdk` repository. It fixes the CommonJS exports configuration of the package, applies a security update to the `tar` dependency, and refreshes development dependencies and release automation.

Versions 2.5.1 and 2.5.2 were version-alignment steps during the repository migration: 2.5.1 was published to npm without a GitHub release, and 2.5.2 was tagged but never published to npm. Version 2.5.3 supersedes both.

***

## Audience[​](#audience "Direct link to Audience")

This release is relevant for developers who build tools or frameworks that deploy and interact with contracts on the Midnight blockchain.

***

## New features[​](#new-features "Direct link to New features")

This release introduces no new features.

***

## Improvements[​](#improvements "Direct link to Improvements")

* Fixed the CommonJS exports configuration of the package, so consumers using `require` resolve the package correctly.
* Security update: bumped the `tar` dependency to 7.5.16.
* Updated development dependencies, including turbo, commitlint, the `@effect` packages, and lint tooling.
* Fixed the version-bump and release automation in the migrated repository.

***

## Deprecations[​](#deprecations "Direct link to Deprecations")

No deprecations in this release.

***

## Breaking changes[​](#breaking-changes "Direct link to Breaking changes")

No breaking changes in this release.

***

## Important notes[​](#important-notes "Direct link to Important notes")

The changelog attached to the GitHub release is generated cumulatively and repeats feature entries that shipped in earlier 2.5.x versions, such as `LedgerParameters` support on circuit execution. See the [2.5.0 release notes](https://docs.midnight.network/relnotes/compact-js/compact-js-2-5-0.md) for those changes.

***

## Links and references[​](#links-and-references "Direct link to Links and references")

* [GitHub release: compact-js-v2.5.3](https://github.com/midnightntwrk/midnight-sdk/releases/tag/compact-js-v2.5.3)
* [`@midnight-ntwrk/compact-js` on npm](https://www.npmjs.com/package/@midnight-ntwrk/compact-js/v/2.5.3)
* [Compact.js 2.5.0 release notes](https://docs.midnight.network/relnotes/compact-js/compact-js-2-5-0.md)
