1.3.0
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
withc.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)