|
1 | 1 | # inlang-vs-code-extension |
2 | 2 |
|
| 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 | + |
3 | 38 | ## 2.0.17 |
4 | 39 |
|
5 | 40 | ### Patch Changes |
|
152 | 187 | - 8a9a8c9: # Sherlock v2 🎉 |
153 | 188 |
|
154 | 189 | 🎸 Features: |
155 | | - |
156 | 190 | - improved editing experience overall |
157 | 191 | - new variant editor to support variants |
158 | 192 | - support for Cursor (AI editor) |
|
169 | 203 | 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. |
170 | 204 |
|
171 | 205 | ### Breaking changes |
172 | | - |
173 | 206 | - 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. |
174 | 207 | - 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`. |
175 | 208 |
|
|
886 | 919 | ### Minor Changes |
887 | 920 |
|
888 | 921 | - 7037bc8b3: remove outdated "configure replacement options" prompt. |
889 | | - |
890 | 922 | - https://github.com/opral/monorepo/discussions/2159#discussioncomment-8325600 |
891 | 923 |
|
892 | 924 | ## 1.29.4 |
|
1141 | 1173 | ### Minor Changes |
1142 | 1174 |
|
1143 | 1175 | - a1f3f064b: improve: tryAutoGenProjectSettings |
1144 | | - |
1145 | 1176 | - Only prompts the user if the settings can actually be generated. |
1146 | 1177 |
|
1147 | 1178 | refactor: remove unused code |
|
0 commit comments