5.5 KiB
5.5 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
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 inscript
to initialize Shareon in-browser<script src="path/to/shareon.js" init>
-
Changed
- BREAKING: default version of the package doesn't auto-initialize buttons
- change code style to Prettier
Removed
- BREAKING:
noinit
version of the package is removed
[1.6.3] - 2022-02-02
Changed
- update URL for the toot instance
- update URLs and usernames in metadata
- update dev dependencies
- migrate to PNPM
1.6.2 - 2021-06-29
Security
- updated build dependencies
1.6.1 - 2021-01-17
Added
- Add CHANGELOG as file
Fixed
- Fix LinkedIn URL
1.6.0 - 2020-09-28
Changed
- Add parameter for App ID for Messenger button (#17, #29)
- now you have to include
data-fb-app-id
to your Messenger buttons
- now you have to include
1.5.0 - 2020-09-24
Added
- Add Mastodon button (#23, #27)
1.4.5 - 2020-09-22
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)
1.4.2 - 2020-09-18
Fixed
- Fix WhatsApp button on desktop (#18, #20)
1.4.1 - 2020-08-01
Changed
- move codebase from TypeScript to JavaScript+JSDoc
- replace Sass with CSS+PostCSS
1.4.0 - 2020-07-30
Changed
- Optimise code
- package size got reduced down to 937 kb (.min.js) / 840 kb (.cjs/.mjs)
for
loops were optimised to cut down execution time
1.3.1 - 2020-07-30
Fixed
- Fix documentation
1.3.0 - 2020-07-26
Added
- Add
init()
function to shareon (#11, #13)- this allows not only to postpone the initialization of shareon but also to re-run it
1.2.1 - 2020-07-12
Changed
- Optimize icon SVG files to match one standard (#8)
1.2.0 - 2020-07-04
Added
- Add LinkedIn button (#5)
- Add Pocket button
- Add Reddit button
- Add Viber button
1.1.5 - 2020-06-26
Added
- Add building to ESM
Changed
- Update README and docs
Fixed
- Fix unwanted border on
<button>
hover
1.1.4 - 2020-06-26
Changed
- Rearrange fields in package.json
- Change
node-sass
tosass
- Update Rollup config
- Update ESLint config
1.1.3 - 2020-06-25
Changed
- Update dependencies
1.1.2 - 2020-03-30
Changed
- Shorten the banner in JS and CSS files
Fixed
- Fix inconsistent spacing between buttons
1.1.1 - 2020-03-27
Fixed
- Fix incorrect spacing between button rows when wrapped
1.1.0 - 2020-03-27
Added
- Add Odnoklassniki button
- Add VK button
1.0.0 - 2020-03-26
Added
- Add install instructions to README
- Add usage instructions to README
1.0.0-beta.3 - 2020-03-26
Added
- Add Facebook button
- Add Messenger button
- Add Pinterest button
- Add WhatsApp button
Changed
- Update colour of Telegram button
- Rename
shareon.css
toshareon.min.css
Removed
- Remove building to ESM
1.0.0-beta.2 - 2020-03-26
Fixed
- Fix package files not being published to NPM
1.0.0-beta.1 - 2020-03-26
Initial release of shareon
Added
- Add Telegram button
- Add Twitter button