Version Packages [skip preview] #3682
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@inlang/[email protected]
Major Changes
7791be7: Upgraded the inlang SDK to Lix v0.5 🎉
Highlights
Writing directly to Lix state
State is now written straight into Lix instead of the SDK’s private in-memory SQLite snapshot. Every bundle, message, and variant change becomes a first-class Lix commit, unlocking:
Per-file filesystem sync
Any inlang-based tooling that opens a project from disk (IDE extensions, CLIs, custom apps) used to patch the entire locale tree whenever a single message changed. That behaviour is at the heart of opral/inlang-sherlock#173 where editing one key in
en.json
would re-export every other locale file, destroying manual formatting or reintroducing stale content.Thanks to Lix v0.5’s observable state and writer-key APIs we can now react to per-commit metadata and suppress our own writes. When
happy_elephant
inen.json
is updated, the SDK marks onlyen.json
as dirty, leavingde.json
and friends untouched. Drift is still possible if another tool rewritesen.json
, yet the blast radius falls from “the whole project just changed” to “only the file you touched,” making reviews and merges manageable across all inlang integrations.@inlang/[email protected]
Minor Changes
ff07482: Require the
INLANG_GOOGLE_TRANSLATE_API_KEY
environment variable for machine translations.We previously subsidized machine translation costs. As projects become larger, our bill is no longer sustainable.
To ensure that machine translations remain available, we are switching to a Bring Your Own Key (BYOK) model.
Before
After
7791be7: Upgraded the inlang SDK to Lix v0.5 🎉
Highlights
Writing directly to Lix state
State is now written straight into Lix instead of the SDK’s private in-memory SQLite snapshot. Every bundle, message, and variant change becomes a first-class Lix commit, unlocking:
Per-file filesystem sync
Any inlang-based tooling that opens a project from disk (IDE extensions, CLIs, custom apps) used to patch the entire locale tree whenever a single message changed. That behaviour is at the heart of opral/inlang-sherlock#173 where editing one key in
en.json
would re-export every other locale file, destroying manual formatting or reintroducing stale content.Thanks to Lix v0.5’s observable state and writer-key APIs we can now react to per-commit metadata and suppress our own writes. When
happy_elephant
inen.json
is updated, the SDK marks onlyen.json
as dirty, leavingde.json
and friends untouched. Drift is still possible if another tool rewritesen.json
, yet the blast radius falls from “the whole project just changed” to “only the file you touched,” making reviews and merges manageable across all inlang integrations.Patch Changes
createRequire
declarations when bundling SQLite from lix.@inlang/[email protected]
Minor Changes
7791be7: Upgraded the inlang SDK to Lix v0.5 🎉
Highlights
Writing directly to Lix state
State is now written straight into Lix instead of the SDK’s private in-memory SQLite snapshot. Every bundle, message, and variant change becomes a first-class Lix commit, unlocking:
Per-file filesystem sync
Any inlang-based tooling that opens a project from disk (IDE extensions, CLIs, custom apps) used to patch the entire locale tree whenever a single message changed. That behaviour is at the heart of opral/inlang-sherlock#173 where editing one key in
en.json
would re-export every other locale file, destroying manual formatting or reintroducing stale content.Thanks to Lix v0.5’s observable state and writer-key APIs we can now react to per-commit metadata and suppress our own writes. When
happy_elephant
inen.json
is updated, the SDK marks onlyen.json
as dirty, leavingde.json
and friends untouched. Drift is still possible if another tool rewritesen.json
, yet the blast radius falls from “the whole project just changed” to “only the file you touched,” making reviews and merges manageable across all inlang integrations.Patch Changes
72d1c53: Ensure the CLI honours allowJs flags defined in extended or referenced tsconfig files instead of prompting unnecessarily.
Refs Add Configuration Option to Use Existing Translation Files as Source of Truth inlang-paraglide-js#560.
9735b82: Fix fallback assignment generation so locale chains emit dependencies first and avoid "Block-scoped variable used before its declaration" errors. See ts error "Block-scoped variable used before its declaration." inlang-paraglide-js#507 for details.
Updated dependencies [7791be7]
@lix-js/[email protected]
Minor Changes
DOMParser
to server-friendlyparse5
so the library can run in Node, workers, and other isomorphic environments without DOM shims.@inlang/[email protected]
Patch Changes
@inlang/[email protected]
Patch Changes
@inlang/[email protected]
Patch Changes
@inlang/[email protected]
Patch Changes
@inlang/[email protected]
Patch Changes
[email protected]
Minor Changes
Patch Changes
lix.observe
API so bundle updates stream in immediately without hammering the database during activation.@inlang/[email protected]
Patch Changes
[email protected]
Patch Changes
@opral/[email protected]
Patch Changes
@lix-js/[email protected]
Patch Changes
@lix-js/[email protected]
Patch Changes
[email protected]
Patch Changes