chore(release): release Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
13 KiB
Change Log
4.2.0
Minor Changes
-
#251
ccab54aThanks @JiLiZART! - New option flagcaseFreeTagshas been addedThis flag allows to parse case insensitive tags like
[h1]some[/H1]-><h1>some</h1>import html from "@bbob/html"; import presetHTML5 from "@bbob/preset-html5"; const processed = html(`[h1]some[/H1]`, presetHTML5(), { caseFreeTags: true, }); console.log(processed); // <h1>some</h1>Also now you can pass
caseFreeTagstoparsefunctionimport { parse } from "@bbob/parser"; const ast = parse("[h1]some[/H1]", { caseFreeTags: true, });BREAKING CHANGE:
isTokenNestedfunction now accepts stringtokenValueinstead oftokenChanged codecov.io to coveralls.io for test coverage
Patch Changes
-
#267
8a9cfd6Thanks @JiLiZART! - Fix types for BbobCoreOptions -
Updated dependencies [
ccab54a,8a9cfd6]:- @bbob/html@4.2.0
- @bbob/preset-html5@4.2.0
4.1.1
Patch Changes
- #248
27c8c4bThanks @GetPastTheMonkey! - RemoveddefaultPropsand Warning for deprecated defaultProps - Updated dependencies [
27c8c4b]:- @bbob/html@4.1.1
- @bbob/preset-html5@4.1.1
4.1.0
Minor Changes
Patch Changes
- Updated dependencies [
4084874]:- @bbob/html@4.1.0
- @bbob/preset-html5@4.1.0
4.0.3
Patch Changes
-
#242
16ad521Thanks @JiLiZART! - Addedvue3andreactexamples inexamplesfolderFor
vue2andvue3plugins you can use now<bbob-bbcode>,<BBobBBCode>and<BBCode>tags -
Updated dependencies [
16ad521]:- @bbob/html@4.0.3
- @bbob/preset-html5@4.0.3
4.0.1
Patch Changes
-
dd7696cThanks @JiLiZART! - Fixes problem where@bbob/html@4.0.0depends on@bbob/core@3.0.2instead of^4.0.0 -
Updated dependencies [
dd7696c]:- @bbob/html@4.0.1
- @bbob/preset-html5@4.0.1
4.0.0
Major Changes
Minor Changes
-
#233
270f564Thanks @JiLiZART! - ** BREAKING CHANGE **TagNode.createmethod now by default passnullto content instead of empty array[]// 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
3575982Thanks @JiLiZART! - All build processes and CI actions now using PNPM as default Package Manager
Patch Changes
3.0.2
Patch Changes
-
#191
0c78831Thanks @JiLiZART! - Now HTML5 Preset supportscolortag[color="red"]Red Text[/color]Also fixes bug with case insensitive tags in
onlyAllowTagsNow you can pash1andH1and they will be treated as same tags -
Updated dependencies [
0c78831]:- @bbob/html@3.0.2
- @bbob/preset-html5@3.0.2
3.0.0
Major Changes
-
#182
49065d2Thanks @JiLiZART! - # Vue3 supportNow you can use
@bbobparser invue3Example usage
npm i @bbob/vue3 @bbob/preset-vueimport { defineComponent } from "vue"; import VueBbob from "@bbob/vue3"; Vue.use(VueBbob);<template> <div class="vue3"> <h2>Generated vue3 here</h2> <bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode> </div> </template> <script> import { defineComponent } from "vue"; import preset from "@bbob/preset-vue"; export default defineComponent({ name: "App", data() { return { bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]", plugins: [preset()], }; }, }); </script>
Patch Changes
- Updated dependencies [
49065d2]:- @bbob/html@3.0.0
- @bbob/preset-html5@3.0.0
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.9.0 (2023-01-29)
Note: Version bump only for package @bbob/cli
2.8.3 (2022-12-18)
Bug Fixes
- remove gitHead from package.json (2b3ffa9)
2.8.2 (2022-11-28)
Note: Version bump only for package @bbob/cli
2.8.1 (2022-05-24)
Note: Version bump only for package @bbob/cli
2.8.0 (2021-11-28)
Features
BREAKING CHANGES
-
now we use swc.rs as main bundler and transpiler instead of babel
- jest now uses swc
- rollup now uses swc
-
feat: benchmark now separate package with
npm startand colored output- benchmark as separate package with error throw if package drops performance
-
feat: all lerna packages now using scripts/pkg-task
-
feat(github): publish to npm and github registry
- when release was created this action automaticly publish packages to npm and github
-
feat(github): move all from Travis CI to Github Actions
- code analysis and tests now using github actions
-
test: increase tests coverage
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
2.7.1 (2021-11-04)
Note: Version bump only for package @bbob/cli
2.7.0 (2021-05-19)
Note: Version bump only for package @bbob/cli
2.6.2 (2020-12-16)
Note: Version bump only for package @bbob/cli
2.6.1 (2020-12-15)
Note: Version bump only for package @bbob/cli
2.6.0 (2020-12-10)
Note: Version bump only for package @bbob/cli
2.5.8 (2020-07-08)
Note: Version bump only for package @bbob/cli
2.5.7 (2020-07-05)
Note: Version bump only for package @bbob/cli
2.5.6 (2020-04-12)
Note: Version bump only for package @bbob/cli
2.5.5 (2020-03-25)
Note: Version bump only for package @bbob/cli
2.5.4 (2019-09-25)
Note: Version bump only for package @bbob/cli
2.5.3 (2019-08-11)
Note: Version bump only for package @bbob/cli
2.5.2 (2019-06-30)
Note: Version bump only for package @bbob/cli
2.5.1 (2019-06-18)
Note: Version bump only for package @bbob/cli
2.5.0 (2019-06-17)
Note: Version bump only for package @bbob/cli
2.4.1 (2019-03-29)
Note: Version bump only for package @bbob/cli
2.4.0 (2019-03-29)
Note: Version bump only for package @bbob/cli
2.3.4 (2019-03-29)
Note: Version bump only for package @bbob/cli
2.3.3 (2019-03-29)
Note: Version bump only for package @bbob/cli
2.3.2 (2019-03-09)
Note: Version bump only for package @bbob/cli
2.3.1 (2019-03-04)
Note: Version bump only for package @bbob/cli
2.2.0 (2018-10-11)
Features
2.0.3 (2018-10-07)
- chore: build changelog when publish (fe9454c)
2.0.2 (2018-10-07)
Note: Version bump only for package @bbob/cli
2.0.1 (2018-09-23)
Note: Version bump only for package @bbob/cli
1.0.7 (2018-08-09)
Note: Version bump only for package @bbob/cli
1.0.6 (2018-07-13)
Note: Version bump only for package @bbob/cli
1.0.5 (2018-07-11)
Note: Version bump only for package @bbob/cli
1.0.4 (2018-07-10)
Note: Version bump only for package @bbob/cli
1.0.3 (2018-07-10)
Note: Version bump only for package @bbob/cli