Skip to content

Commit 5029de6

Browse files
authored
Merge branch 'sveltejs:master' into fix-html-tag-hydration
2 parents 8dea38c + a4e4027 commit 5029de6

File tree

481 files changed

+4309
-9986
lines changed

Some content is hidden

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

481 files changed

+4309
-9986
lines changed

.github/stale.yml

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

.gitignore

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,3 @@ node_modules
2323
_actual*.*
2424
_output
2525
/types
26-
27-
/site/.svelte-kit/
28-
/site/build/
29-
/site/.env
30-
/site/static/svelte-app.json
31-
/site/static/contributors.jpg
32-
/site/static/donors.jpg
33-
/site/static/workers/
34-
/site/scripts/svelte-app/
35-
/site/src/routes/_contributors.js
36-
/site/src/routes/_donors.js

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# Svelte changelog
22

3+
## Unreleased
4+
5+
* Ignore whitespace in `{#each}` blocks when containing elements with `animate:` ([#5477](https://github.com/sveltejs/svelte/pull/5477))
6+
7+
## 3.46.2
8+
9+
* Export `FlipParams` interface from `svelte/animate` ([#7103](https://github.com/sveltejs/svelte/issues/7103))
10+
* Fix `style:` directive reactivity inside `{#each}` block ([#7136](https://github.com/sveltejs/svelte/issues/7136))
11+
12+
## 3.46.1
13+
14+
* Handle `style:kebab-case` directives ([#7122](https://github.com/sveltejs/svelte/issues/7122))
15+
* Improve AST produced for `style:` directives ([#7127](https://github.com/sveltejs/svelte/pull/7127))
16+
17+
## 3.46.0
18+
19+
* Implement `{@const}` tag ([RFC #33](https://github.com/sveltejs/rfcs/pull/33), [#6413](https://github.com/sveltejs/svelte/pull/6413))
20+
* Implement `style:` directive ([RFC #42](https://github.com/sveltejs/rfcs/pull/42), [#5923](https://github.com/sveltejs/svelte/pull/5923))
21+
* Fix style manager conflicts when using multiple Svelte instances ([#7026](https://github.com/sveltejs/svelte/issues/7026))
22+
* Fix hydration when using `{@html}` ([#7115](https://github.com/sveltejs/svelte/issues/7115))
23+
24+
## 3.45.0
25+
26+
* Fix non-boolean attribute rendering in SSR to render truthy values as-is ([#6121](https://github.com/sveltejs/svelte/issues/6121))
27+
* Fix binding to a member expression also invalidating the member property ([#6921](https://github.com/sveltejs/svelte/issues/6921))
28+
* Fix default values in `{#each}`/etc. destructurings not being considered references for the purposes of compiler warnings ([#6964](https://github.com/sveltejs/svelte/issues/6964))
29+
* Fix `{:else if}` value incorrectly being cached ([#7043](https://github.com/sveltejs/svelte/pull/7043))
30+
* Add `a11y-no-redundant-roles` warning ([#7067](https://github.com/sveltejs/svelte/pull/7067))
31+
* Fix code generation error with arrow functions whose bodies are object destructuring assignments ([#7087](https://github.com/sveltejs/svelte/issues/7087))
32+
33+
## 3.44.3
34+
35+
* Fix `bind:this` binding inside `onMount` for manually instantiated component ([#6760](https://github.com/sveltejs/svelte/issues/6760))
36+
* Prevent cursor jumps with one-way binding for other `type="text"`-like `<input>`s ([#6941](https://github.com/sveltejs/svelte/pull/6941))
37+
* Exclude `async` loops from `loopGuardTimeout` ([#6945](https://github.com/sveltejs/svelte/issues/6945))
38+
339
## 3.44.2
440

541
* Fix overly restrictive preprocessor types ([#6904](https://github.com/sveltejs/svelte/pull/6904))

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016-21 [these people](https://github.com/sveltejs/svelte/graphs/contributors)
1+
Copyright (c) 2016-22 [these people](https://github.com/sveltejs/svelte/graphs/contributors)
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte",
3-
"version": "3.44.2",
3+
"version": "3.46.2",
44
"description": "Cybernetically enhanced web apps",
55
"module": "index.mjs",
66
"main": "index",
@@ -83,8 +83,8 @@
8383
},
8484
"types": "types/runtime/index.d.ts",
8585
"scripts": {
86-
"test": "mocha",
87-
"test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts",
86+
"test": "mocha --exit",
87+
"test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts --exit",
8888
"quicktest": "mocha",
8989
"precoverage": "c8 mocha",
9090
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
@@ -132,7 +132,7 @@
132132
"acorn": "^8.4.1",
133133
"agadoo": "^1.1.0",
134134
"c8": "^5.0.1",
135-
"code-red": "^0.2.3",
135+
"code-red": "^0.2.4",
136136
"codecov": "^3.5.0",
137137
"css-tree": "^1.1.2",
138138
"eslint": "^7.32.0",

site/.dockerignore

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

site/.env.example

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

site/.eslintrc.cjs

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

site/.gcloudignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)