Skip to content

Releases: SukkaW/DisqusJS

3.0.0

16 May 03:27
Compare
Choose a tag to compare

Breaking Changes

DisqusJS 3.0.0 now requires calling render() to render the comment list on the DOM.

Changes

Completely rewrite DisqusJS using React, and bundle browser version using preact.

1.3.0

29 May 07:39
Compare
Choose a tag to compare

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)

1.2.6

04 Nov 06:31
Compare
Choose a tag to compare
  • refactor: remove inappropriate styles
  • feat: use DISQUS.reset when reloading

1.2.5

19 May 12:21
Compare
Choose a tag to compare

Bug Fixed

  • fix(#26): a workaround

Feature

  • feat(nesting): custom nesting configuration

Experimental, README needs update.

1.2.3

16 Mar 03:46
Compare
Choose a tag to compare

Bug Fixed

  • fix: variable disqusjs is object

Feature

  • feat(config): allow to specify page's title

Changes

  • fix(css): encode disqus svg logo

1.2.2

11 Feb 07:42
Compare
Choose a tag to compare

Bug Fixed

  • fix: indentation in for...of

Babel can't transform it to be compatible with old browsers.

Feature

There is no more features added to this release.

Changes

There is no more unimportant changes added to this release.

1.2.0

10 Feb 16:15
Compare
Choose a tag to compare

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 and Most 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

1.1.1

27 Jan 16:16
Compare
Choose a tag to compare

Bug Fixed

There were no bugs fixed in this release.

Feature

  • feat: add msg when checking disqus availability

Changes

  • refactor: rewrite some code in ES6 standard
  • refactor: make code quality to A:

1.1.0

05 Jan 16:27
Compare
Choose a tag to compare
  • Fix #13 & #17: Say hello to UMD!

It is highly recommended to upgrade to this version if you are using NPM to import DisqusJS into your project.

1.0.10

17 Dec 09:57
Compare
Choose a tag to compare
  • fix: regex match for <a> tag