2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +03:00
Files
bbob/packages/bbob-vue3/CHANGELOG.md
T
github-actions[bot] a12fd9e7fb chore(release): publish v4.1.1 (#249)
chore(release): release v4.1.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-21 15:14:48 +02:00

6.2 KiB

@bbob/vue3

4.1.1

Patch Changes

  • #248 27c8c4b Thanks @GetPastTheMonkey! - Removed defaultProps and Warning for deprecated defaultProps
  • Updated dependencies [27c8c4b]:
    • @bbob/core@4.1.1
    • @bbob/html@4.1.1
    • @bbob/plugin-helper@4.1.1
    • @bbob/types@4.1.1

4.1.0

Minor Changes

Patch Changes

  • Updated dependencies [4084874]:
    • @bbob/plugin-helper@4.1.0
    • @bbob/types@4.1.0
    • @bbob/core@4.1.0
    • @bbob/html@4.1.0

4.0.3

Patch Changes

  • #242 16ad521 Thanks @JiLiZART! - Added vue3 and react examples in examples folder

    For vue2 and vue3 plugins you can use now <bbob-bbcode>, <BBobBBCode> and <BBCode> tags

  • Updated dependencies [16ad521]:

    • @bbob/core@4.0.3
    • @bbob/html@4.0.3
    • @bbob/plugin-helper@4.0.3
    • @bbob/types@4.0.3

4.0.2

Patch Changes

  • #238 7f931ee Thanks @rda-wimi! - fix(#237): Ensure types definitions presence in published packages

  • Updated dependencies [7f931ee]:

    • @bbob/core@4.0.2
    • @bbob/html@4.0.2

4.0.1

Patch Changes

  • dd7696c Thanks @JiLiZART! - Fixes problem where @bbob/html@4.0.0 depends on @bbob/core@3.0.2 instead of ^4.0.0

  • Updated dependencies [dd7696c]:

    • @bbob/core@4.0.1
    • @bbob/html@4.0.1
    • @bbob/plugin-helper@4.0.1
    • @bbob/types@4.0.1

4.0.0

Major Changes

Minor Changes

  • #233 270f564 Thanks @JiLiZART! - ** BREAKING CHANGE **

    TagNode.create method now by default pass null to 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 3575982 Thanks @JiLiZART! - All build processes and CI actions now using PNPM as default Package Manager

Patch Changes

  • Updated dependencies [270f564, 8797f7f, 3575982]:
    • @bbob/plugin-helper@4.0.0
    • @bbob/core@4.0.0
    • @bbob/html@4.0.0

3.0.2

Patch Changes

  • #191 0c78831 Thanks @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

  • Updated dependencies [0c78831]:

    • @bbob/core@3.0.2
    • @bbob/html@3.0.2
    • @bbob/plugin-helper@3.0.2

3.0.1

Patch Changes

  • #186 603c3ea Thanks @JiLiZART! - Fixes bug where nested tag quote lost

    [color=red]test[/color]
    [quote]xxxsdfasdf
    sdfasdfasdf
    
    [url=xxx]xxx[/url]
    

    Now content not will be lost, but not closed tag will displayed as raw text

3.0.0

Major Changes

  • #182 49065d2 Thanks @JiLiZART! - # Vue3 support

    Now you can use @bbob parser in vue3

    Example usage

    npm i @bbob/vue3 @bbob/preset-vue
    
    import { 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/core@3.0.0
    • @bbob/html@3.0.0
    • @bbob/plugin-helper@3.0.0