mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-08 17:22:26 +03:00
d26f833f1b
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
259 lines
9.5 KiB
Markdown
259 lines
9.5 KiB
Markdown
# Change Log
|
|
|
|
## 3.0.2
|
|
|
|
### Patch Changes
|
|
|
|
- [#191](https://github.com/JiLiZART/BBob/pull/191) [`0c78831`](https://github.com/JiLiZART/BBob/commit/0c78831372b02216c9be5d95cd8b857c18f81540) Thanks [@JiLiZART](https://github.com/JiLiZART)! - Now HTML5 Preset supports `color` tag
|
|
|
|
```
|
|
[color="red"]Red Text[/color]
|
|
```
|
|
|
|
Also fixes bug with case insensitive tags in `onlyAllowTags`
|
|
Now you can pas `h1` and `H1` and they will be treated as same tags
|
|
|
|
## 3.0.0
|
|
|
|
### Major Changes
|
|
|
|
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
|
|
|
Now you can use `@bbob` parser in `vue3`
|
|
|
|
Example usage
|
|
|
|
```shell
|
|
npm i @bbob/vue3 @bbob/preset-vue
|
|
```
|
|
|
|
```js
|
|
import { defineComponent } from "vue";
|
|
import VueBbob from "@bbob/vue3";
|
|
|
|
Vue.use(VueBbob);
|
|
```
|
|
|
|
```html
|
|
<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>
|
|
```
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
|
|
# [2.9.0](https://github.com/JiLiZART/bbob/compare/v2.8.3...v2.9.0) (2023-01-29)
|
|
|
|
### Features
|
|
|
|
- **parser:** context free tag mode ([#165](https://github.com/JiLiZART/bbob/issues/165)) ([19e8dd6](https://github.com/JiLiZART/bbob/commit/19e8dd659e8c36779c73def8d914edfc219fbf72))
|
|
|
|
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
|
|
|
### Bug Fixes
|
|
|
|
- bbob plugin helper imports ([5f76548](https://github.com/JiLiZART/bbob/commit/5f76548b78b29f0905f74804e4a1d0634f085c1b))
|
|
- bundle size limits ([edfdfed](https://github.com/JiLiZART/bbob/commit/edfdfedd06214ec9769f892407153d5b023e35aa))
|
|
- code ql ([d6cbafe](https://github.com/JiLiZART/bbob/commit/d6cbafe8ba24e1e837333e644073a0e76c3eed07))
|
|
- plugin helper build priority and circular deps ([cac47c6](https://github.com/JiLiZART/bbob/commit/cac47c6fc7e30c419691f7e8bc33f118211fc044))
|
|
- remove exports directive ([a6efc40](https://github.com/JiLiZART/bbob/commit/a6efc4023b5cb09b56436a0dbe698423b2feecf1))
|
|
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
|
|
|
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
|
|
|
### Features
|
|
|
|
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
|
|
|
### 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 start` and 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](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
|
|
|
### Bug Fixes
|
|
|
|
- **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
|
|
|
### Features
|
|
|
|
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
|
|
|
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
|
|
|
### Bug Fixes
|
|
|
|
- **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
|
|
|
### Features
|
|
|
|
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
|
|
|
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
|
|
|
### Features
|
|
|
|
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
|
|
|
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
|
|
|
### Features
|
|
|
|
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
|
|
|
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
|
|
|
### Bug Fixes
|
|
|
|
- **plugin-helper:** escape case insensitive javascript: attrs ([5ceb2f0](https://github.com/JiLiZART/bbob/commit/5ceb2f0fa4bb5c7b48ec18010fabc406a4d0b8c5))
|
|
|
|
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
|
|
|
### Bug Fixes
|
|
|
|
- **html:** escape bad html ([#67](https://github.com/JiLiZART/bbob/issues/67)) ([87f38fe](https://github.com/JiLiZART/bbob/commit/87f38fe97ef7881be982b3d47c727cd280f1b057))
|
|
|
|
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
|
|
|
### Bug Fixes
|
|
|
|
- **parser:** don't eat not allowed tags with params ([#58](https://github.com/JiLiZART/bbob/issues/58)) fixes [#54](https://github.com/JiLiZART/bbob/issues/54) ([a16b9f7](https://github.com/JiLiZART/bbob/commit/a16b9f73b0737a46e852f9c55a17a612f17a9587))
|
|
|
|
### Features
|
|
|
|
- **plugin-helper:** move `getUniqAttr` from preset to plugin helper ([#63](https://github.com/JiLiZART/bbob/issues/63)) ([f28f19e](https://github.com/JiLiZART/bbob/commit/f28f19e64ce5124db92c446bcc69e78761101744))
|
|
|
|
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
<a name="2.5.4"></a>
|
|
|
|
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
|
|
|
### Bug Fixes
|
|
|
|
- **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
|
|
|
### Features
|
|
|
|
- **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
|
|
|
<a name="2.5.3"></a>
|
|
|
|
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
|
|
|
### Bug Fixes
|
|
|
|
- **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
|
|
|
### Features
|
|
|
|
- **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
|
|
|
<a name="2.5.2"></a>
|
|
|
|
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
|
|
|
### Bug Fixes
|
|
|
|
- **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
|
|
|
<a name="2.4.0"></a>
|
|
|
|
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
|
|
|
### Features
|
|
|
|
- **html:** [@bbob](https://github.com/bbob)/html now can be used without [@bbob](https://github.com/bbob)/core ([c9e1dab](https://github.com/JiLiZART/bbob/commit/c9e1dab))
|
|
|
|
<a name="2.3.4"></a>
|
|
|
|
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
<a name="2.3.3"></a>
|
|
|
|
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
<a name="2.3.2"></a>
|
|
|
|
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
<a name="2.3.1"></a>
|
|
|
|
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
|
|
|
|
**Note:** Version bump only for package @bbob/plugin-helper
|
|
|
|
<a name="2.0.1"></a>
|
|
|
|
## [2.0.1](https://github.com/JiLiZART/bbob/compare/@bbob/plugin-helper@2.0.0...@bbob/plugin-helper@2.0.1) (2018-09-23)
|
|
|
|
### Bug Fixes
|
|
|
|
- **plugin-helper:** better handle content of TagNode ([505152b](https://github.com/JiLiZART/bbob/commit/505152b))
|
|
|
|
<a name="1.1.0"></a>
|
|
|
|
# 1.1.0 (2018-08-09)
|
|
|
|
### Features
|
|
|
|
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|