Skip to content

Commit 9c2406f

Browse files
authored
chore: release 3.0.0 (#28)
2 parents 359f8ea + 468a0dd commit 9c2406f

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.6.0"
2+
".": "3.0.0"
33
}

CHANGELOG.md

+31
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## [3.0.0](https://github.com/infodusha/define-html/compare/v2.6.0...v3.0.0) (2024-07-30)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* shadow DOM is always used
9+
* data-shadow is always open
10+
* data-selector is obsolete, just always use filename
11+
* shadow dom now has global styles inside
12+
* no need to write type for component scripts
13+
* instead of data-global just paste your styles and script into the page
14+
15+
### Features
16+
17+
* add appendStyle method ([8a02f5b](https://github.com/infodusha/define-html/commit/8a02f5b7daca802e076ffe821662d26f998ab18f))
18+
* all scripts are ES modules now ([519c8d7](https://github.com/infodusha/define-html/commit/519c8d72f55da02026da2d9e5c91dcf617af1e0d))
19+
* data-selector is not used anymore ([0b7ee2d](https://github.com/infodusha/define-html/commit/0b7ee2d93dd7fe4944b5e505cf8e177bf6f00b11))
20+
* data-shadow don't need a value anymore ([11a7e73](https://github.com/infodusha/define-html/commit/11a7e7376d4fadc426df872d89a5e50314fb668a))
21+
* group component styles ([ca9b396](https://github.com/infodusha/define-html/commit/ca9b396dfd52570ae58cb73e26582c93447c86eb))
22+
* no more data-global attribute ([b99d785](https://github.com/infodusha/define-html/commit/b99d785a936d6653e7ce5cdcb7163e460cbb9df3))
23+
* **runtime:** handle load errors ([1ca4834](https://github.com/infodusha/define-html/commit/1ca48343e8f1493f068b4559bde2300a9078aa52))
24+
* shadow DOM is always used ([4cf5a49](https://github.com/infodusha/define-html/commit/4cf5a49c99211a0ecaa97d9558bd05d3590cb6a4))
25+
* updates + shadow works as expected ([9eb730f](https://github.com/infodusha/define-html/commit/9eb730f9c731c3eed596bd203f3548c2568cb771))
26+
27+
28+
### Bug Fixes
29+
30+
* copy global styles ([baf3d25](https://github.com/infodusha/define-html/commit/baf3d25ca9b53500f32ac40f1c4e2f7de6f183f6))
31+
* tests ([359f8ea](https://github.com/infodusha/define-html/commit/359f8ea524bff7ceb5f616f84155bf65ac2c291f))
32+
* update package json ([f405ce7](https://github.com/infodusha/define-html/commit/f405ce7604402d1fc44210a531dd5a1d1f471218))
33+
334
## [2.6.0](https://github.com/infodusha/define-html/compare/v2.5.0...v2.6.0) (2024-07-22)
435

536

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "define-html",
3-
"version": "2.6.0",
3+
"version": "3.0.0",
44
"description": "Define custom element to import in html",
55
"main": "dist/index.js",
66
"type": "module",

0 commit comments

Comments
 (0)