Skip to content

Commit 47e2b18

Browse files
committed
Merge branch 'version-4' into legacy-packages
2 parents dc37912 + 236ffa8 commit 47e2b18

File tree

51 files changed

+2804
-3092
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2804
-3092
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -6,62 +6,29 @@ on:
66
permissions:
77
contents: read # to fetch code (actions/checkout)
88
jobs:
9-
Setup:
10-
runs-on: ${{ matrix.os }}
11-
strategy:
12-
matrix:
13-
os: [ubuntu-latest, windows-latest, macOS-latest]
14-
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
17-
with:
18-
node-version: 18
19-
cache: npm
20-
- run: npm install
21-
env:
22-
SKIP_PREPARE: true
23-
- run: npm run build
24-
env:
25-
PUBLISH: true
26-
- name: Upload build assets
27-
id: upload-artifact
28-
uses: actions/upload-artifact@v3
29-
with:
30-
name: build-assets
31-
path: |
32-
index.*
33-
compiler.*
34-
ssr.*
35-
action/
36-
animate/
37-
easing/
38-
internal/
39-
motion/
40-
store/
41-
transition/
42-
types/
439
Tests:
44-
needs: Setup
4510
runs-on: ${{ matrix.os }}
4611
timeout-minutes: 15
4712
strategy:
4813
matrix:
49-
node-version: [14, 16, 18]
50-
os: [ubuntu-latest, windows-latest, macOS-latest]
14+
include:
15+
- node-version: 14
16+
os: ubuntu-latest
17+
- node-version: 14
18+
os: windows-latest
19+
- node-version: 14
20+
os: macOS-latest
21+
- node-version: 16
22+
os: ubuntu-latest
23+
- node-version: 18
24+
os: ubuntu-latest
5125
steps:
5226
- uses: actions/checkout@v3
5327
- uses: actions/setup-node@v3
5428
with:
5529
node-version: ${{ matrix.node-version }}
5630
cache: npm
57-
- name: Download build assets
58-
uses: actions/download-artifact@v3
59-
id: download-artifact
60-
with:
61-
name: build-assets
6231
- run: npm install
63-
env:
64-
SKIP_PREPARE: true
6532
- run: npm run test:integration
6633
env:
6734
CI: true
@@ -79,7 +46,17 @@ jobs:
7946
timeout-minutes: 10
8047
strategy:
8148
matrix:
82-
os: [ubuntu-latest, windows-latest, macOS-latest]
49+
include:
50+
- node-version: 14
51+
os: ubuntu-latest
52+
- node-version: 14
53+
os: windows-latest
54+
- node-version: 14
55+
os: macOS-latest
56+
- node-version: 16
57+
os: ubuntu-latest
58+
- node-version: 18
59+
os: ubuntu-latest
8360
steps:
8461
- uses: actions/checkout@v3
8562
- uses: actions/setup-node@v3

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Svelte changelog
22

3-
## Unreleased
3+
## Unreleased (4.0)
4+
5+
* **breaking** Minimum supported Node version is now Node 14
6+
* **breaking** Minimum supported TypeScript version is now 5 (it will likely work with lower versions, but we make no guarantess about that)
7+
* **breaking** Minimum supported Webpack version is now 5
8+
* **breaking** Stricter types for `createEventDispatcher` (see PR for migration instructions) ([#7224](https://github.com/sveltejs/svelte/pull/7224))
9+
* **breaking** Stricter types for `Action` and `ActionReturn` (see PR for migration instructions) ([#7224](https://github.com/sveltejs/svelte/pull/7224))
10+
* **breaking** Stricter types for `onMount` - now throws a type error when returning a function asynchronously to catch potential mistakes around callback functions (see PR for migration instructions) ([#8136](https://github.com/sveltejs/svelte/pull/8136))
11+
* Add `a11y no-noninteractive-element-interactions` rule ([#8391](https://github.com/sveltejs/svelte/pull/8391))
12+
* Add `a11y-no-static-element-interactions`rule ([#8251](https://github.com/sveltejs/svelte/pull/8251))
13+
* Bind `null` option and input values consistently ([#8312](https://github.com/sveltejs/svelte/issues/8312))
14+
15+
## Unreleased (3.0)
416

517
* Handle `width`/`height` attributes when spreading ([#6752](https://github.com/sveltejs/svelte/issues/6752))
618
* Add support for resize observer bindings (`<div bind:contentRect|contentBoxSize|borderBoxSize|devicePixelContentBoxSize>`) ([#8022](https://github.com/sveltejs/svelte/pull/8022))

generate-type-definitions.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)