Skip to content

1.3.0

Compare
Choose a tag to compare
@SukkaW SukkaW released this 29 May 07:39
· 9 commits to master since this release

Breaking Changes

  • DisqusJS is now using Fetch instead of XMLHttpRequest. Adding polyfill if necessary.
<!-- Polyfill must be loaded before DisqusJS -->
<!-- Promise Polyfill -->
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js"></script>
<!-- Fetch Polyfill -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/fetch.umd.min.js"></script>

Changes

  • Enable babel loose for dist build. Smaller bundle size.
  • Auto replace a.disquscdn.com with c.disquscdn.com for better reachability.
  • Add nofollow noopener noreferrer attributes for <a> tag.
  • Move all dependencies to devDependencies (Good News for people import DisqusJS from NPM)