Skip to content

Commit a6eefe9

Browse files
[CI] Release (#429)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 0599626 commit a6eefe9

File tree

22 files changed

+115
-91
lines changed

22 files changed

+115
-91
lines changed

.changeset/light-aliens-cross.md

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

packages/@expressive-code/core/CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @expressive-code/core
22

3+
## 0.41.7
4+
35
## 0.41.6
46

57
## 0.41.5
@@ -276,7 +278,6 @@
276278
Expressive Code differentiates between your base theme (= the first theme in `themes`) and your alternate themes (= any other entries in `themes`). Previously, as soon as an alternate theme was selected on the page level, e.g. by using `<html data-theme="some-theme-name">`, it wasn't possible to switch individual code blocks to the base theme anymore because of selector specificity issues. This has been resolved and block-level overrides should work as expected now.
277279

278280
- a9bbb5c: Fixes unexpected `InlineStyleAnnotation` behaviors to improve DX for plugin authors.
279-
280281
- Inline styles now use `:where()` in selectors to reduce specificity and make them easier to override.
281282
- When applying multiple overlapping inline styles to the same line, render phases are now properly respected and later styles override earlier ones.
282283
- The `styleVariantIndex` property is no longer required. Inline styles without an index now apply to all style variants.
@@ -433,7 +434,6 @@
433434
- 126563e: Improves theme loading by allowing to pass more theme types directly.
434435

435436
The `theme` config option now supports the following value types:
436-
437437
- any theme object compatible with VS Code or Shiki (e.g. imported from an NPM theme package)
438438
- any ExpressiveCodeTheme instance (e.g. using `ExpressiveCodeTheme.fromJSONString(...)`
439439
to load a custom JSON/JSONC theme file yourself)
@@ -472,7 +472,6 @@
472472
This optional function is called once per theme during engine initialization with the loaded theme as its only argument.
473473

474474
It allows customizing the loaded theme and can be used for various purposes:
475-
476475
- You can change a theme's `name` property to influence its generated CSS class name (e.g. `theme.name = 'dark'` will result in code blocks having the class `ec-theme-dark`).
477476
- You can create color variations of themes by using `theme.applyHueAndChromaAdjustments()`.
478477

packages/@expressive-code/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@expressive-code/core",
3-
"version": "0.41.6",
3+
"version": "0.41.7",
44
"description": "A text marking & annotation engine for presenting source code on the web.",
55
"keywords": [],
66
"author": "Tibor Schiemann",

packages/@expressive-code/plugin-collapsible-sections/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @expressive-code/plugin-collapsible-sections
22

3+
## 0.41.7
4+
5+
### Patch Changes
6+
7+
- @expressive-code/core@0.41.7
8+
39
## 0.41.6
410

511
### Patch Changes
@@ -47,7 +53,6 @@
4753
You can use it to embed SVG images directly into a plugin's styles or HAST, or pass it to an existing `styleOverrides` icon setting.
4854

4955
- 380bfcc: Adds the following new `styleOverrides` settings:
50-
5156
- `collapsibleSections.expandIcon` and `collapsibleSections.collapseIcon`: Allows overriding the SVG icons used for the expand/collapse buttons.
5257

5358
- 6497f09: Uses the new `preventUnitlessValues` property of `PluginStyleSettings` to make style calculations in the plugins "Collapsible Sections", "Frames" and "Text Markers" more robust.
@@ -83,7 +88,6 @@
8388
- 4eed5d0: Adds new `collapseStyle` prop to `@expressive-code/plugin-collapsible-sections`. Thank you @nerdymomocat!
8489

8590
The new prop allows selecting one of the following collapsible section styles:
86-
8791
- `github`: The default style, similar to the one used by GitHub. A summary line with an expand icon and the default text `X collapsed lines` is shown. When expanded, the summary line is replaced by the section's code lines. It is not possible to re-collapse the section.
8892
- `collapsible-start`: When collapsed, the summary line looks like the `github` style. However, when expanded, it remains visible above the expanded code lines, making it possible to re-collapse the section.
8993
- `collapsible-end`: Same as `collapsible-start`, but the summary line remains visible below the expanded code lines.

packages/@expressive-code/plugin-collapsible-sections/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@expressive-code/plugin-collapsible-sections",
3-
"version": "0.41.6",
3+
"version": "0.41.7",
44
"description": "Collapsible sections plugin for Expressive Code. Allows code sections to be marked as collapsible.",
55
"keywords": [],
66
"author": "Johan Fagerberg (birjj)",
@@ -30,11 +30,11 @@
3030
"watch": "pnpm build --watch src"
3131
},
3232
"dependencies": {
33-
"@expressive-code/core": "workspace:^0.41.6"
33+
"@expressive-code/core": "workspace:^0.41.7"
3434
},
3535
"devDependencies": {
36-
"@expressive-code/plugin-shiki": "workspace:^0.41.6",
37-
"@expressive-code/plugin-text-markers": "workspace:^0.41.6",
36+
"@expressive-code/plugin-shiki": "workspace:^0.41.7",
37+
"@expressive-code/plugin-text-markers": "workspace:^0.41.7",
3838
"@internal/test-utils": "workspace:^"
3939
}
4040
}

packages/@expressive-code/plugin-frames/CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @expressive-code/plugin-frames
22

3+
## 0.41.7
4+
5+
### Patch Changes
6+
7+
- 0599626: Prevents the frames plugin from treating Twoslash `// @filename` directives as filename comments. This keeps multi-file Twoslash code blocks intact. Thank you for the report, @Adammatthiesen!
8+
- @expressive-code/core@0.41.7
9+
310
## 0.41.6
411

512
### Patch Changes
@@ -50,7 +57,6 @@
5057

5158
- 6497f09: Uses the new `preventUnitlessValues` property of `PluginStyleSettings` to make style calculations in the plugins "Collapsible Sections", "Frames" and "Text Markers" more robust.
5259
- 380bfcc: Adds the following new `styleOverrides` settings:
53-
5460
- `frames.copyIcon`: Allows overriding the SVG icon used for the copy button. Thank you @louisescher!
5561
- `frames.terminalIcon`: Allows overriding the SVG icon used for the terminal window frame. Defaults to three dots in the top left corner.
5662

@@ -366,7 +372,6 @@
366372
- e020b64: Cleans up frontmatter after file name comment extraction.
367373

368374
If a file name comment gets extracted from a code block without a `title` attribute, additional cleanup work is now performed on the surrounding lines:
369-
370375
- If the code block's language supports frontmatter, and the comment was located in a frontmatter block that has now become empty, the empty frontmatter block gets removed.
371376
- If the line following the removed comment (or removed frontmatter block) is empty, it gets removed as well.
372377

@@ -596,7 +601,6 @@
596601
### Minor Changes
597602

598603
- 07012f7: Improves file type support when extracting file names from comments. Thanks @fflaten!
599-
600604
- Adds more file types to the `LanguageGroups` object
601605
- Exports `LanguageGroups` to allow external modification
602606
- Extends automatic detection of frame type to differentiate between shell scripts and terminal sessions based on file name and/or shebang (if any)

packages/@expressive-code/plugin-frames/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@expressive-code/plugin-frames",
3-
"version": "0.41.6",
3+
"version": "0.41.7",
44
"description": "Frames plugin for Expressive Code. Wraps code blocks in a styled editor or terminal frame with support for titles, multiple tabs and more.",
55
"keywords": [],
66
"author": "Tibor Schiemann",
@@ -31,7 +31,7 @@
3131
"watch": "pnpm build --watch src"
3232
},
3333
"dependencies": {
34-
"@expressive-code/core": "workspace:^0.41.6"
34+
"@expressive-code/core": "workspace:^0.41.7"
3535
},
3636
"devDependencies": {
3737
"@expressive-code/plugin-shiki": "workspace:^",

packages/@expressive-code/plugin-line-numbers/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @expressive-code/plugin-line-numbers
22

3+
## 0.41.7
4+
5+
### Patch Changes
6+
7+
- @expressive-code/core@0.41.7
8+
39
## 0.41.6
410

511
### Patch Changes

packages/@expressive-code/plugin-line-numbers/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@expressive-code/plugin-line-numbers",
3-
"version": "0.41.6",
3+
"version": "0.41.7",
44
"description": "Line numbers plugin for Expressive Code, a text marking & annotation engine for presenting source code on the web.",
55
"keywords": [],
66
"author": "Tibor Schiemann",
@@ -30,13 +30,13 @@
3030
"watch": "pnpm build --watch src"
3131
},
3232
"dependencies": {
33-
"@expressive-code/core": "workspace:^0.41.6"
33+
"@expressive-code/core": "workspace:^0.41.7"
3434
},
3535
"devDependencies": {
36-
"@expressive-code/plugin-collapsible-sections": "workspace:^0.41.6",
37-
"@expressive-code/plugin-frames": "workspace:^0.41.6",
38-
"@expressive-code/plugin-shiki": "workspace:^0.41.6",
39-
"@expressive-code/plugin-text-markers": "workspace:^0.41.6",
36+
"@expressive-code/plugin-collapsible-sections": "workspace:^0.41.7",
37+
"@expressive-code/plugin-frames": "workspace:^0.41.7",
38+
"@expressive-code/plugin-shiki": "workspace:^0.41.7",
39+
"@expressive-code/plugin-text-markers": "workspace:^0.41.7",
4040
"@internal/test-utils": "workspace:^"
4141
}
4242
}

packages/@expressive-code/plugin-shiki/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @expressive-code/plugin-shiki
22

3+
## 0.41.7
4+
5+
### Patch Changes
6+
7+
- @expressive-code/core@0.41.7
8+
39
## 0.41.6
410

511
### Patch Changes
@@ -359,7 +365,6 @@
359365
### Patch Changes
360366

361367
- a9bbb5c: Fixes unexpected `InlineStyleAnnotation` behaviors to improve DX for plugin authors.
362-
363368
- Inline styles now use `:where()` in selectors to reduce specificity and make them easier to override.
364369
- When applying multiple overlapping inline styles to the same line, render phases are now properly respected and later styles override earlier ones.
365370
- The `styleVariantIndex` property is no longer required. Inline styles without an index now apply to all style variants.
@@ -378,7 +383,6 @@
378383
- c3758cd: Fixes parallel execution of multiple syntax highlighter creations and tasks.
379384

380385
The Shiki plugin now ensures that async tasks like creating syntax highlighters, loading themes or languages are never started multiple times in parallel. This improves performance, reduces memory usage and prevents build errors on large sites.
381-
382386
- @expressive-code/core@0.30.1
383387

384388
## 0.30.0

0 commit comments

Comments
 (0)