Skip to content

Releases: kytta/shareon

v2.0.1

23 Jan 05:10
v2.0.1
8bd8b0f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v1.6.4

23 Jan 17:10
v1.6.4
90ef753
Compare
Choose a tag to compare

What's Changed

  • (backport) Update Mastodon branding by @kytta in #45

Full Changelog: v1.6.3...v1.6.4

v2.0.0: new auto-init, CSS export, smaller bundle

13 Feb 15:16
v2.0.0
c07f013
Compare
Choose a tag to compare

Added

  • BREAKING: new (auto-)init behaviour, inspired by petite-vue

    • require, import, or use <script> to include Shareon without
      initialization

    • use exported initializeShareon function in Node to initialize Shareon

    • use init attribute in script to initialize Shareon in-browser

      <script src="path/to/shareon.js" init>
  • CSS export for use in Webpack/Rollup/etc. (#35)

    import "shareon/css";
    require("shareon/css");

Changed

  • BREAKING: default version of the package doesn't auto-initialize buttons
  • BREAKING: instead of default export, named exports are now used. If IIFE
    is used, the global object's name is now Shareon, and it has one init()
    method
  • updated logos and colours for some social networks
  • removed mixins, defining the code/styles directly in the files
  • use Vite for building, reducing the devDependencies
    tree and build times drastically
    • BREAKING: newly built files offer worse browser support
  • change code style to Prettier

Removed

  • BREAKING: noinit version of the package is removed

v1.6.3

02 Feb 14:14
v1.6.3
6b6ad40
Compare
Choose a tag to compare
  • update URL for the toot instance
  • update URLs and usernames in metadata
  • update dev dependencies
  • migrate to PNPM

v1.6.2...v1.6.3

v2.0.0-0

29 Jul 15:16
62af01d
Compare
Choose a tag to compare
v2.0.0-0 Pre-release
Pre-release

Preview release of v2

See #37 for the v2 development progress

v1.6.2...v2.0.0-0

v1.6.2

29 Jun 18:51
Compare
Choose a tag to compare

Security

  • updated build dependencies

v1.6.1...v1.6.2

v1.6.1

17 Jan 21:03
Compare
Choose a tag to compare

Added

  • Add CHANGELOG as file

Fixed

  • Fix LinkedIn URL

v1.6.0...v1.6.1

v1.6.0

28 Sep 12:06
Compare
Choose a tag to compare

Changed

  • Add parameter for App ID for Messenger button (#17, #29)
    • now you have to include data-fb-app-id to your Messenger buttons

v1.5.0...v1.6.0

v1.5.0

24 Sep 15:17
Compare
Choose a tag to compare

Added

  • Add Mastodon button (#23, #27)

v1.4.5...v1.5.0

v1.4.5

22 Sep 13:24
Compare
Choose a tag to compare

Version 1.4.3 was skipped due to an error in the deployment process
Version 1.4.4 is deprecated due to non-minified build files

Fixed

  • Fix transpilation for legacy browsers (#19, #21)
  • Fix <button>s not behaving correctly if there are <a>s further on the page
  • Fix PostCSS not applying any plugins (#22)

v1.4.2...v1.4.5