DisqusJS Versions Save

:speech_balloon: Render Disqus comments in Mainland China using Disqus API

3.0.0

1 year ago

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

3 years ago

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

4 years ago
  • refactor: remove inappropriate styles
  • feat: use DISQUS.reset when reloading

1.2.5

4 years ago

Bug Fixed

  • fix(#26): a workaround

Feature

  • feat(nesting): custom nesting configuration

Experimental, README needs update.

1.2.3

5 years ago

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

5 years ago

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

5 years ago

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

5 years ago

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

5 years ago
  • 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

5 years ago
  • fix: regex match for <a> tag