Skip to content

Commit 525490e

Browse files
committed
v2.0.0
1 parent f986943 commit 525490e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Diff for: CHANGELOG.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
8+
## [2.0.0](https://github.com/metonym/svelte-time/releases/tag/v2.0.0) - 2025-01-23
99

10-
**Breaking Changes**
10+
The library is modernized to only support Svelte 5 (Runes mode). There are no component API changes.
1111

12-
- minimum Svelte version required is 5
12+
Use [[email protected]](https://github.com/metonym/svelte-time/tree/v1.0.0) for Svelte 3/4 support. v1 is also compatible with Svelte 5 (non-Runes mode).
1313

14-
**Features**
14+
**Breaking Changes**
1515

16-
- support Svelte 5 runes mode
17-
- upgrade `svelte` dependency to 5.9.1
18-
- upgrade `vite` dependency to 5.4.11
19-
- upgrade `@sveltejs/vite-plugin-svelte` to 4.0.1
16+
- update `Time.svelte` to use Runes
17+
- update `svelteTime` action to use Runes
18+
- update TypeScript definitions to replace deprecated `SvelteComponentTyped` with `Component`
2019

2120
## [1.0.0](https://github.com/metonym/svelte-time/releases/tag/v1.0.0) - 2025-01-23
2221

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-time",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"license": "MIT",
55
"description": "Svelte component and action to format a timestamp using day.js",
66
"author": "Eric Liu (https://github.com/metonym)",

0 commit comments

Comments
 (0)