# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [2.2.3] - 2023-07-19 ### Fixed - v2.2.2 was published with the bug not fixed. ## [2.2.2] - 2023-07-15 ### Fixed - [#71](https://github.com/kytta/shareon/pull/71): Web Share icon got minified incorrectly, causing it to not show up at all. Fixed by Jake. ## [2.2.1] - 2023-07-15 ### Behind-the-scenes - [#70](https://github.com/kytta/shareon/pull/70): Icon minification and inlining happens automatically now. As a bonus, the CSS size went a bit down :) ## [2.2.0] - 2023-07-15 ### Added - `data-hashtags` for Facebook and Twitter by Edward in https://github.com/kytta/shareon/pull/60 - Microsoft Teams button by Dimitrios in https://github.com/kytta/shareon/pull/66 - Web Share API button by Dimitrios in https://github.com/kytta/shareon/pull/67 ### Changed - the advertized bundle size now uses Brotli for compression (https://github.com/kytta/shareon/pull/69) ## [2.1.0] - 2023-03-20 ### Added - "Copy URL" button in https://github.com/kytta/shareon/pull/44 ### Behind-the-scenes - Added pre-commit hooks in https://github.com/kytta/shareon/pull/47 - Fixed `size-limit-action` branch in https://github.com/kytta/shareon/pull/48 ## [2.0.2] - 2023-01-25 ### Changed - Sourcemaps are not being output any more - They're being loaded automatically and don't serve any other purpose. Disabling those helps us save a few bytes - Change minifier to esbuild (instead of terser) - This disables the minification of ESM, which is a good thing, because otherwise the file can't be tree-shaken properly - Shareon is now `type: "module"` - This doesn't change anything for the end users - Banner was removed - It took unnecessary bytes, and embedding it was somewhat buggy - Browserslist config now targets `defaults` - Opera 90 and Samsung Browser 17 aren't targeted. Shareon will still work on these browsers. - the previous config (using `last 3 versions instead` of `last 2 versions`) didn't change coverage that much ### Behind-the-scenes - Updated to Vite v4 - CSS is now bundled using Vite - this makes the build script leaner; it's still processed with PostCSS - Moved PostCSS and ESLint config to package.json ## [2.0.1] - 2023-01-23 ### Changed - Mastodon button updated to match the new style (#42) ## [2.0.0] - 2021-02-13 ### Added - **BREAKING:** new (auto-)init behaviour, inspired by [petite-vue](https://github.com/vuejs/petite-vue) - `require`, `import`, or use `