Skip to content

Releases: LeSuisse/vue-dompurify-html

2.1.1

03 Nov 16:49
v2.1.1
a50b457
Compare
Choose a tag to compare

Bugfix

  • v-dompurify-html behaves differently than v-html when unbounded (#98)

2.1.0

13 Sep 10:09
v2.1.0
2f3683e
Compare
Choose a tag to compare

2.0.0

18 Aug 18:20
v2.0.0
d3d75b3
Compare
Choose a tag to compare

Features

  • vue-dompurify-html now lets you define a default DOMPurify configuration (#60) - thanks @RohanTalip!

Breaking change

If you had defined some DOMPurify configurations, you will need to update the directive configuration from

Vue.use(VueDOMPurifyHTML, {
  'svg': {
    USE_PROFILES: { svg: true }
  },
  'mathml': {
    USE_PROFILES: { mathMl: true }
  }
});

to

Vue.use(VueDOMPurifyHTML, {
  namedConfigurations: {
    'svg': {
      USE_PROFILES: { svg: true }
    },
    'mathml': {
      USE_PROFILES: { mathMl: true }
    }
  }
});

1.3.1

31 Jul 14:53
v1.3.1
440dbb3
Compare
Choose a tag to compare

Bug fix

  • Types property in the package.json does not link to the declaration file