2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-05 16:42:27 +03:00

chore(release): publish v4.0.0 (#200)

chore(release): release

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-25 21:39:44 +02:00
committed by GitHub
parent 74ae5fb6a5
commit dae171feeb
32 changed files with 720 additions and 107 deletions
+34
View File
@@ -1,5 +1,39 @@
# Change Log
## 4.0.0
### Major Changes
- [#185](https://github.com/JiLiZART/BBob/pull/185) [`8797f7f`](https://github.com/JiLiZART/BBob/commit/8797f7f363a34b6a53578e0b2f50033cbb6a7eeb) Thanks [@JiLiZART](https://github.com/JiLiZART)! - Now BBob supports Typescript with typings
### Minor Changes
- [#233](https://github.com/JiLiZART/BBob/pull/233) [`270f564`](https://github.com/JiLiZART/BBob/commit/270f5645f8c5b536d61883998a8dc4854f296f37) Thanks [@JiLiZART](https://github.com/JiLiZART)! - ** BREAKING CHANGE **
`TagNode.create` method now by default pass `null` to content instead of empty array `[]`
```js
// new behavior
TagNode.create("img").toString(); // -> [img]
// old behavior
TagNode.create("img", {}, []).toString(); // -> [img][/img]
```
Migrate all calls of `TagNode.create('test-tag')` to `TagNode.create('test-tag', {}, [])
- [#199](https://github.com/JiLiZART/BBob/pull/199) [`3575982`](https://github.com/JiLiZART/BBob/commit/3575982b280cc45c9cedaf7a059491a324c1b514) Thanks [@JiLiZART](https://github.com/JiLiZART)! - All build processes and CI actions now using PNPM as default Package Manager
### Patch Changes
- [#226](https://github.com/JiLiZART/BBob/pull/226) [`f1f9eb3`](https://github.com/JiLiZART/BBob/commit/f1f9eb39da12fb1b49d90e610e3def23c24f4eb3) Thanks [@JiLiZART](https://github.com/JiLiZART)! - fix(react): render words and spaces as single node in react
Now React properly renders string nodes with spaces as single text node for react. Thanks @WLYau
- Updated dependencies [[`270f564`](https://github.com/JiLiZART/BBob/commit/270f5645f8c5b536d61883998a8dc4854f296f37), [`8797f7f`](https://github.com/JiLiZART/BBob/commit/8797f7f363a34b6a53578e0b2f50033cbb6a7eeb), [`3575982`](https://github.com/JiLiZART/BBob/commit/3575982b280cc45c9cedaf7a059491a324c1b514)]:
- @bbob/plugin-helper@4.0.0
- @bbob/core@4.0.0
- @bbob/html@4.0.0
## 3.0.2
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/react",
"version": "3.0.2",
"version": "4.0.0",
"description": "A BBCode to React Renderer part of @bbob",
"keywords": [
"react",
@@ -18,7 +18,7 @@
"react": "> 15.0"
},
"devDependencies": {
"@bbob/preset-react": "^3.0.2",
"@bbob/preset-react": "^4.0.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "13.x",
"react": "18.x",