Skip to content

Releases: BrianMitchL/svelte-compare-image

v3.0.0

18 Apr 05:39
v3.0.0
09deef9
Compare
Choose a tag to compare

What's Changed

  • Update dependencies, notably SvelteKit 2
  • Drop support for Svelte 3
  • Drop support for Node 16
  • Update dependencies and drop Svelte 3 and Node 16 by @BrianMitchL in #12

There should be zero runtime changes as long as you're running Svelte 4 and Node 18+

Full Changelog: v2.0.2...v3.0.0

v2.0.2

16 Aug 14:11
v2.0.2
ec54367
Compare
Choose a tag to compare
  • Set engines.node in package.json to be >=16.15.0 instead of >=18.15.0
  • Run CI on Node 16 and Node 18

v2.0.1

24 Jul 04:33
v2.0.1
133d356
Compare
Choose a tag to compare
  • Add a few CSS resets for eager global styles on img and input[type="range"] elements

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

v2.0.0

24 Jul 04:17
v2.0.0
7e6aee7
Compare
Choose a tag to compare

Breaking Changes

  • Add support for Svelte 4 in peerDependencies (Svelte 3 should still work and the lowest peer version has not changed)
  • Update all tooling to use latest versions and Svelte 4
  • Most of the component has been rewritten
    • Improved performance with use of requestAnimationFrame
    • Most JavaScript removed
    • Uses an HTML input[type="range"] under the hood
    • CSS and markup changes
    • Uses CSS clip-path and polygon() over clip and rect()
  • Dynamic resizing, loading logic, and use of object-fit has been removed
  • More configurable with an updated set of CSS Custom Property props
Property Default Value
--handle-size 2.5rem
--handle-background-color rgba(0, 0, 0, 0.6)
--handle-background-image an embedded SVG url()
--handle-border-width 0.125rem
--slider-color #ffffff
--slider-width 0.125rem
  • There is a new slider-label named slot for customizing the accessible label for the slider
  • Enhanced live updating documentation website and example

Full Changelog: v1.0.4...v2.0.0

v1.0.4

07 Jun 05:35
v1.0.4
3f1a9c8
Compare
Choose a tag to compare

No runtime changes, docs and tooling updates.

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

08 Apr 17:30
v1.0.3
0011edc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.2...v1.0.3

v1.0.2

05 Dec 05:56
bfec3e9
Compare
Choose a tag to compare

There should be no breaking changes, only tooling was updated.

What's Changed

Full Changelog: v1.0.1...v1.0.2

v1.0.1

30 Jun 04:57
34746b9
Compare
Choose a tag to compare

What's Changed

Nothing should have changed when consuming it.

Full Changelog: v1.0.0...v1.0.1

v1.0.0-1

21 Jan 15:15
c3c92d8
Compare
Choose a tag to compare

No code changes, add homepage and repository fields to the package.json

Full Changelog: v1.0.0...v1.0.0-1

v1.0.0

21 Jan 15:08
dfb3227
Compare
Choose a tag to compare

Initial Release!