Skip to content

Commit ba32501

Browse files
committed
Release 3.0.0
1 parent 8dcc364 commit ba32501

File tree

9 files changed

+115
-8
lines changed

9 files changed

+115
-8
lines changed

CHANGELOG.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Changelog
2+
3+
<!-- You should *NOT* be adding new change log entries to this file.
4+
You should create a file in the news directory instead.
5+
For helpful instructions, please see:
6+
https://6.docs.plone.org/contributing/index.html#contributing-change-log-label
7+
-->
8+
9+
<!-- towncrier release notes start -->
10+
11+
## 3.0.0 (2025-11-13)
12+
13+
### Feature
14+
15+
- Translate to German (de). @mxurice-rm
16+
- Update translation to pt_BR. @ericof
17+
18+
### Bugfix
19+
20+
- Code block: Wrap the Caption component inside the main block. @ericof
21+
- Fixed bogus peerDependencies with react-intl @sneridagh
22+
23+
### Internal
24+
25+
- Remove barrel imports from @plone/volto. @ericof
26+
27+
## 2.3.0 (2024-04-02)
28+
29+
### Internal
30+
31+
- Reorganize repository to use new Volto add-on format based on `cookiecutter-volto` [@ericof] [#21](https://github.com/plonegovbr/volto-code-block/issue/21)
32+
33+
## [2.2.2](https://github.com/plonegovbr/volto-code-block/compare/2.2.1...2.2.2) (2024-03-28)
34+
35+
36+
### Bug Fixes
37+
38+
* Accordion is present, add JSX and TSX imports ([#20](https://github.com/plonegovbr/volto-code-block/issues/20)) ([2055da5](https://github.com/plonegovbr/volto-code-block/commit/2055da53bac906d12ff1415e023059eb0a337800))
39+
40+
## [2.2.1](https://github.com/plonegovbr/volto-code-block/compare/2.2.0...2.2.1) (2024-03-12)
41+
42+
43+
### Bug Fixes
44+
45+
* Use clone to avoid pass by reference ([#19](https://github.com/plonegovbr/volto-code-block/issues/19)) ([b4fc613](https://github.com/plonegovbr/volto-code-block/commit/b4fc613da30bf26fcadef727a4f550d10e9f5e25))
46+
47+
## [2.2.0](https://github.com/plonegovbr/volto-code-block/compare/2.1.0...2.2.0) (2024-02-25)
48+
49+
50+
### Features
51+
52+
* Add Gist Block and Caption component ([#18](https://github.com/plonegovbr/volto-code-block/issues/18)) ([2bd58b8](https://github.com/plonegovbr/volto-code-block/commit/2bd58b8d1d11561efc65873ba4f6de8f071d5499))
53+
* Add plain to default languages to be able to use it like a pre-block ([#12](https://github.com/plonegovbr/volto-code-block/issues/12)) ([9899762](https://github.com/plonegovbr/volto-code-block/commit/98997628d07c332cf2ce8075b79bf7faa8b8286b))
54+
55+
56+
### Bug Fixes
57+
58+
* Fix extensibility while adding new languages syntaxes [@sneridagh](https://github.com/sneridagh) ([#10](https://github.com/plonegovbr/volto-code-block/issues/10)) ([e683b15](https://github.com/plonegovbr/volto-code-block/commit/e683b15edfe72d6bf575e45ed4283f2df2d43952))
59+
* Fix Storybook generation ([f6aed35](https://github.com/plonegovbr/volto-code-block/commit/f6aed35653ea8a23a1a5233004be9837cb82369e))
60+
* Load Mermaid only when the Mermaid Block is visible ([#13](https://github.com/plonegovbr/volto-code-block/issues/13)) ([#16](https://github.com/plonegovbr/volto-code-block/issues/16)) ([68d4505](https://github.com/plonegovbr/volto-code-block/commit/68d450589ea7e651f9688e21792600cd12e95fa2))
61+
62+
## [2.1.0](https://github.com/plonegovbr/volto-code-block/compare/2.0.0...2.1.0) (2023-05-22)
63+
64+
65+
### Features
66+
67+
* Integrate with @kitconcept/volto-blocks-grid, allowing our blocks to be added to grids. ([7823232](https://github.com/plonegovbr/volto-code-block/commit/782323277e324d8287fa5cd98e870ef11072ca50))
68+
69+
70+
### Bug Fixes
71+
72+
* Line numbers now align to code ([#9](https://github.com/plonegovbr/volto-code-block/issues/9)) ([90c5eb8](https://github.com/plonegovbr/volto-code-block/commit/90c5eb8d08fb6ac29fac4313fdf8f78d792d31d0))
73+
* Set blockHasOwnFocusManagement to true for Mermaid block editing. ([e8605bf](https://github.com/plonegovbr/volto-code-block/commit/e8605bfdc50bad66cb824d5ac6a5dd72ef2f623d))
74+
75+
## [2.0.0](https://github.com/plonegovbr/volto-code-block/compare/1.0.0...2.0.0) (2023-02-23)
76+
77+
78+
### Features
79+
80+
* Add easy language list configuration ([7458028](https://github.com/plonegovbr/volto-code-block/commit/74580286dfec0b99169ad6fbae24a0167eac7787))
81+
* Add Mermaid Diagram block ([f393f99](https://github.com/plonegovbr/volto-code-block/commit/f393f99324a4f767509ad34514a111838d4c0c64))
82+
* Add possiblity to change start line number ([8e079a0](https://github.com/plonegovbr/volto-code-block/commit/8e079a02176b6ab69e63580f46625a761c25f0f2))
83+
* Use prismjs as default highlighter mechanism. ([#6](https://github.com/plonegovbr/volto-code-block/issues/6)) ([8e7717a](https://github.com/plonegovbr/volto-code-block/commit/8e7717a03029c75ee5d2e4314bd20f5490dc4bba))
84+
85+
## [1.0.0](https://github.com/plonegovbr/volto-code-block/compare/1.0.0-alpha.0...1.0.0) (2022-07-14)
86+
87+
### Features
88+
89+
- Fix issue with wrap long lines and styles applied together. ([cb0cf3c](https://github.com/plonegovbr/volto-code-block/commit/cb0cf3c044347eca4a1b9d3fa748604fc5e9e599))
90+
91+
## 1.0.0-alpha.0 (2022-06-13)
92+
93+
### Features
94+
95+
- Add Brazilian Portuguese translation. ([8932d31](https://github.com/plonegovbr/volto-code-block/commit/8932d317a44dd0d5ee3c957e42a84655fe7c0dbb))
96+
- Add Storybook support. ([65b9a73](https://github.com/plonegovbr/volto-code-block/commit/65b9a73f1d9e5ae09ff098d39af1a8794dcc79e9))

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plonegovbr/volto-code-block-dev",
3-
"version": "3.0.0-alpha.0",
3+
"version": "3.0.0",
44
"description": "Volto add-on providing a code block with syntax highlighting.",
55
"author": "PloneGov-BR",
66
"homepage": "https://github.com/plonegovbr/volto-code-block",
@@ -60,4 +60,4 @@
6060
]
6161
},
6262
"packageManager": "[email protected]"
63-
}
63+
}

packages/volto-code-block/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88

99
<!-- towncrier release notes start -->
1010

11+
## 3.0.0 (2025-11-13)
12+
13+
### Feature
14+
15+
- Translate to German (de). @mxurice-rm
16+
- Update translation to pt_BR. @ericof
17+
18+
### Bugfix
19+
20+
- Code block: Wrap the Caption component inside the main block. @ericof
21+
- Fixed bogus peerDependencies with react-intl @sneridagh
22+
23+
### Internal
24+
25+
- Remove barrel imports from @plone/volto. @ericof
26+
1127
## 2.3.0 (2024-04-02)
1228

1329
### Internal

packages/volto-code-block/news/+barrel.internal

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-code-block/news/+de.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-code-block/news/+fixdeps.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-code-block/news/+pt_BR.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-code-block/news/+style.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/volto-code-block/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plonegovbr/volto-code-block",
3-
"version": "3.0.0-alpha.0",
3+
"version": "3.0.0",
44
"description": "Volto add-on providing a code block with syntax highlighting.",
55
"main": "src/index.js",
66
"license": "MIT",

0 commit comments

Comments
 (0)