Releases: SukkaW/DisqusJS
Releases · SukkaW/DisqusJS
3.0.0
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)
1.2.6
1.2.5
1.2.3
1.2.2
1.2.0
Bug Fixed
There were no bugs fixed in this release.
Feature
- feat: support multi
apikey
configuration. Check README for more detail - feat(#20): bring up sort features
Vistors can now sort comments in
Descending
,Ascending
andMost popular
order.
Changes
- refactor: use
use /threads/listPostsThreaded
instead of/posts/list.json
as api endpoint
Ref: https://blog.fooleap.org/disqus-api-comments-order-by-desc.html
- feat(sort): comments has
parent
will be sorted in ascending order