Skip to content

Commit 81bd532

Browse files
committed
Merge branch 'master' into bugfix/2446_apply_directives_in_order
* master: (87 commits) -> v3.4.3 always add raw property to text nodes flesh out in/out transition tutorial chapter (sveltejs#2792) code style fix test fix tests Fix CRUD example to allow changing input values. Fixes sveltejs#2714 treat requestAnimationFrame as a noop on the server site: actions tutorial: destroy is not required (sveltejs#2776) Allow binding of <details> open site: add /faq redirect to GitHub wiki FAQ fix case sensitive import name, improve tsconfig type declarations for bundled files convert everything to TypeScript check for unknown props when creating component cleanup, improve comments typecheck npm script workarond for estree-walker related typings conflict compile/render-dom and other remaining typings ... # Conflicts: # src/compile/render-dom/wrappers/Element/index.ts
2 parents 4172406 + 04af249 commit 81bd532

File tree

245 files changed

+2597
-1089
lines changed

Some content is hidden

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

245 files changed

+2597
-1089
lines changed

.gitignore

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
.idea
12
.DS_Store
23
.nyc_output
34
node_modules
45
*.map
56
/src/compile/internal-exports.ts
6-
/compiler.js
7-
/index.js
8-
/internal.*
9-
/store.js
10-
/easing.js
11-
/motion.*
12-
/transition.js
13-
/animate.js
7+
/compiler.*js
8+
/index.*js
9+
/internal.*js
10+
/store.*js
11+
/easing.*js
12+
/motion.*js
13+
/transition.*js
14+
/animate.*js
1415
/scratch/
1516
/coverage/
1617
/coverage.lcov/
@@ -20,6 +21,7 @@ node_modules
2021
/test/sourcemaps/samples/*/output.css.map
2122
/yarn-error.log
2223
_actual*.*
24+
/dist
2325

2426
/site/cypress/screenshots/
2527
/site/__sapper__/

CHANGELOG.md

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

3+
## 3.4.3
4+
5+
* Add type declaration files for everything ([#2842](https://github.com/sveltejs/svelte/pull/2842))
6+
* Prevent `svelte/store` being bundled ([#2786](https://github.com/sveltejs/svelte/issues/2786))
7+
* Warn on unknown props in dev mode ([#2840](https://github.com/sveltejs/svelte/pull/2840))
8+
* Treat `requestAnimationFrame` as a no-op on the server ([#2856](https://github.com/sveltejs/svelte/pull/2856))
9+
* Add `raw` property to AST's `Text` nodes ([#2714](https://github.com/sveltejs/svelte/issues/2714))
10+
* Add `<details bind:open>` ([#2854](https://github.com/sveltejs/svelte/issues/2854))
11+
12+
## 3.4.2
13+
14+
* Use empty string for empty data attributes ([#2804](https://github.com/sveltejs/svelte/pull/2804))
15+
* Support `customElement: true` with no `<svelte:options>` ([#2821](https://github.com/sveltejs/svelte/issues/2821))
16+
* Add docstrings to `svelte/store` ([#2795](https://github.com/sveltejs/svelte/pull/2795))
17+
18+
## 3.4.1
19+
20+
* Handle non-falsy non-function return values from derivers ([#2780](https://github.com/sveltejs/svelte/issues/2780))
21+
* Allow `spring` to work server-side ([#2773](https://github.com/sveltejs/svelte/issues/2773))
22+
23+
## 3.4.0
24+
25+
* Allow custom element to be defined without a `tag` ([#2417](https://github.com/sveltejs/svelte/issues/2417))
26+
* Fix parsing of quote marks inside attribute values ([#2715](https://github.com/sveltejs/svelte/pull/2754))
27+
* Convert `svelte/store` to TypeScript ([#2733](https://github.com/sveltejs/svelte/pull/2733))
28+
* Allow `debug` tags to include hoisted values ([#2764](https://github.com/sveltejs/svelte/issues/2764))
29+
* Parse error if attribute name is missing `=` ([#1513](https://github.com/sveltejs/svelte/pull/2770))
30+
* Allow reactive declarations to depend on mutated `const` values ([#2728](https://github.com/sveltejs/svelte/issues/2728))
31+
32+
## 3.3.0
33+
34+
* Allow multiple event listeners on a single node ([#2688](https://github.com/sveltejs/svelte/issues/2688))
35+
* Allow derivers to return a cleanup function ([#2553](https://github.com/sveltejs/svelte/issues/2553))
36+
* Support namespaced components (`<Foo.Bar/>`) ([#2743](https://github.com/sveltejs/svelte/pull/2743))
37+
338
## 3.2.2
439

540
* Add `window` and `document` to expected globals ([#2722](https://github.com/sveltejs/svelte/pull/2722))

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a href="https://svelte.dev">
33
<img alt="Cybernetically enhanced web apps: Svelte" src="https://svelte-assets.surge.sh/banner.png">
44
</a>
5-
5+
66
<a href="https://www.npmjs.com/package/svelte">
77
<img src="https://img.shields.io/npm/v/svelte.svg" alt="npm version">
88
</a>
@@ -16,7 +16,7 @@
1616
alt="build status">
1717
</a>
1818

19-
<a href="https://github.com/svelte/svelte/blob/master/LICENSE.md">
19+
<a href="https://github.com/sveltejs/svelte/blob/master/LICENSE">
2020
<img src="https://img.shields.io/npm/l/svelte.svg" alt="license">
2121
</a>
2222
</p>
@@ -36,7 +36,7 @@ Pull requests are encouraged and always welcome. [Pick an issue](https://github.
3636
To install and work on Svelte locally:
3737

3838
```bash
39-
git clone git@github.com:sveltejs/svelte.git
39+
git clone https://github.com/sveltejs/svelte.git
4040
cd svelte
4141
npm install
4242
```

animate.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/animate';

compiler.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/compiler';

easing.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/easing';

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/index';

index.mjs

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

internal.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/internal';

motion.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/motion';

0 commit comments

Comments
 (0)