Skip to content

Commit ab28270

Browse files
Merge pull request #3707 from opral/version-sherlock
release sherlock 2.1.0
2 parents 9c1bf7f + 7f1282a commit ab28270

File tree

7 files changed

+43
-19
lines changed

7 files changed

+43
-19
lines changed

.changeset/gentle-sites-act.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/incremental-lix-sync.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"@inlang/sdk": major
33
"@inlang/paraglide-js": minor
44
"@inlang/cli": minor
5-
"vs-code-extension": minor
65
---
76

87
Upgraded the [inlang SDK](https://github.com/opral/inlang-sdk) to [Lix](https://lix.dev/) v0.5 🎉

.changeset/remove-sherlock-account-loading.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

inlang/packages/sherlock/CHANGELOG.md

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# inlang-vs-code-extension
22

3+
## 2.1.0
4+
5+
### Minor Changes
6+
7+
- 170472c: https://github.com/opral/monorepo/pull/3674
8+
9+
adds a new sherlock.extract.generator config key, and deprecates sherlock.extract.autoHumanId.enabled
10+
11+
- 7791be7: Upgraded the [inlang SDK](https://github.com/opral/inlang-sdk) to [Lix](https://lix.dev/) v0.5 🎉
12+
13+
## Highlights
14+
15+
### Writing directly to Lix state
16+
17+
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:
18+
- history and branching,
19+
- writer-key aware workflows,
20+
- change proposals and subscriptions, and
21+
- a single source of truth for downstream tools.
22+
23+
### Per-file filesystem sync
24+
25+
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](https://github.com/opral/inlang-sherlock/issues/173) where editing one key in `en.json` would re-export every other locale file, destroying manual formatting or reintroducing stale content.
26+
27+
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` in `en.json` is updated, the SDK marks only `en.json` as dirty, leaving `de.json` and friends untouched. Drift is still possible if another tool rewrites `en.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.
28+
29+
### Patch Changes
30+
31+
- 7b46e1f: Stop reading and persisting Lix account snapshots so Sherlock can load projects without triggering the `/name must be string` schema error. Should close https://github.com/opral/inlang-sherlock/issues/188
32+
- Updated dependencies [7791be7]
33+
- @inlang/sdk@3.0.0
34+
- @inlang/rpc@0.3.52
35+
- @inlang/editor-component@5.0.0
36+
- @inlang/settings-component@6.0.0
37+
338
## 2.0.17
439

540
### Patch Changes
@@ -152,7 +187,6 @@
152187
- 8a9a8c9: # Sherlock v2 🎉
153188

154189
🎸 Features:
155-
156190
- improved editing experience overall
157191
- new variant editor to support variants
158192
- support for Cursor (AI editor)
@@ -169,7 +203,6 @@
169203
If you still want to use Sherlock v1, please use the previous major version of the plugin. For Sherlock itself, [please pin the version to `1.x.x`](https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_91.md#extension-install-options) in the VS Code extension settings.
170204

171205
### Breaking changes
172-
173206
- Lint rules are now polyfilled (and therefore may work different), as we are currently reworking how lint rules are working with [Lix Validation Rules](https://lix.opral.com). If you experience different behavior with lint rules, please reach out to us.
174207
- The `messageId` parameter in the `extractMessages` function has been renamed to `bundleId`. This change is due to the new API in Sherlock v2. If you are using the `extractMessages` function, please update the parameter name to `bundleId`.
175208

@@ -886,7 +919,6 @@
886919
### Minor Changes
887920

888921
- 7037bc8b3: remove outdated "configure replacement options" prompt.
889-
890922
- https://github.com/opral/monorepo/discussions/2159#discussioncomment-8325600
891923

892924
## 1.29.4
@@ -1141,7 +1173,6 @@
11411173
### Minor Changes
11421174

11431175
- a1f3f064b: improve: tryAutoGenProjectSettings
1144-
11451176
- Only prompts the user if the settings can actually be generated.
11461177

11471178
refactor: remove unused code

inlang/packages/sherlock/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/opral/monorepo.git"
1111
},
1212
"icon": "assets/sherlock-logo.png",
13-
"version": "2.0.17",
13+
"version": "2.1.0",
1414
"engines": {
1515
"vscode": "^1.84.2"
1616
},

inlang/packages/sherlock/src/utilities/editor/sherlock-editor-app/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# sherlock-editor-app
22

3+
## 0.0.17
4+
5+
### Patch Changes
6+
7+
- @inlang/editor-component@5.0.0
8+
39
## 0.0.16
410

511
### Patch Changes

inlang/packages/sherlock/src/utilities/editor/sherlock-editor-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sherlock-editor-app",
33
"private": true,
4-
"version": "0.0.16",
4+
"version": "0.0.17",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)