Commit 2a4771b
authored
cache current binary in downloads folder as well (#1910)
<!-- ELLIPSIS_HIDDEN -->
> [!IMPORTANT]
> This PR adds caching for the current bundled CLI, introduces a
`syncExtensionToGeneratorVersion` setting, and removes the
`restartTSServerOnSave` option.
>
> - **Behavior**:
> - Cache current bundled CLI in downloads folder in `cliDownloader.ts`
to preserve previous version's CLI on auto-updates.
> - Add `syncExtensionToGeneratorVersion` option to `bamlConfig.ts` in
`playground-common`, `language-server`, and `language-server-client`.
> - Remove `restartTSServerOnSave` option from `package.json` and
related files.
> - **Configuration**:
> - Add `syncExtensionToGeneratorVersion` setting to `bamlConfigSchema`
in `bamlConfig.ts` files.
> - Update `package.json` to include `syncExtensionToGeneratorVersion`
setting.
> - **Version Handling**:
> - Update `index.ts` to handle `baml_src_generator_version`
notifications and sync versions based on
`syncExtensionToGeneratorVersion` setting.
> - Skip version update on Windows when
`syncExtensionToGeneratorVersion` is set to `auto`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for 006652a. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->1 parent dd26a2d commit 2a4771b
16 files changed
Lines changed: 119 additions & 38 deletions
File tree
- fern
- 03-reference/vscode-ext
- integ-tests
- baml_src
- go/baml_client
- python/baml_client
- react/baml_client
- ruby/baml_client
- typescript-esm/baml_client
- typescript/baml_client
- typescript
- playground-common/src/baml_wasm_web
- vscode-ext/packages
- language-server/src
- vscode/src/plugins/language-server-client
This file was deleted.
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
818 | | - | |
819 | 817 | | |
820 | 818 | | |
| 819 | + | |
| 820 | + | |
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments