Skip to content

Commit 3e54616

Browse files
committed
Merge branch 'main' into parallelize-async-work
2 parents 64d5e88 + 30e2b23 commit 3e54616

File tree

311 files changed

+5521
-2480
lines changed

Some content is hidden

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

311 files changed

+5521
-2480
lines changed

.changeset/ninety-olives-report.md

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

.changeset/wise-schools-report.md

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

.github/workflows/ecosystem-ci-trigger.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
issue_comment:
55
types: [created]
66

7+
permissions: {}
8+
79
jobs:
810
trigger:
911
runs-on: ubuntu-latest
@@ -15,7 +17,6 @@ jobs:
1517
contents: read # to clone the repo
1618
steps:
1719
- name: monitor action permissions
18-
uses: GitHubSecurityLab/actions-permissions/monitor@v1
1920
- name: check user authorization # user needs triage permission
2021
uses: actions/github-script@v7
2122
id: check-permissions

.github/workflows/pkg.pr.new-comment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
name: 'Update comment'
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1817
- name: Download artifact
1918
uses: actions/download-artifact@v4
2019
with:

.github/workflows/pkg.pr.new.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Publish Any Commit
22
on: [push, pull_request]
33

4+
permissions: {}
5+
46
jobs:
57
build:
68
permissions: {}

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
name: Release
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
2120
- name: Checkout Repo
2221
uses: actions/checkout@v4
2322
with:
@@ -27,7 +26,7 @@ jobs:
2726
- name: Setup Node.js
2827
uses: actions/setup-node@v4
2928
with:
30-
node-version: 18.x
29+
node-version: 24.x
3130
cache: pnpm
3231

3332
- name: Install
@@ -45,4 +44,3 @@ jobs:
4544
env:
4645
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4746
NPM_CONFIG_PROVENANCE: true
48-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ packages/svelte/src/internal/client/warnings.js
1515
packages/svelte/src/internal/shared/errors.js
1616
packages/svelte/src/internal/shared/warnings.js
1717
packages/svelte/src/internal/server/errors.js
18+
packages/svelte/src/internal/server/warnings.js
1819
packages/svelte/tests/migrate/samples/*/output.svelte
1920
packages/svelte/tests/**/*.svelte
2021
packages/svelte/tests/**/_expected*

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The [Open Source Guides](https://opensource.guide/) website has a collection of
99

1010
## Get involved
1111

12-
There are many ways to contribute to Svelte, and many of them do not involve writing any code. Here's a few ideas to get started:
12+
There are many ways to contribute to Svelte, and many of them do not involve writing any code. Here are a few ideas to get started:
1313

1414
- Simply start using Svelte. Go through the [Getting Started](https://svelte.dev/docs#getting-started) guide. Does everything work as expected? If not, we're always looking for improvements. Let us know by [opening an issue](#reporting-new-issues).
1515
- Look through the [open issues](https://github.com/sveltejs/svelte/issues). A good starting point would be issues tagged [good first issue](https://github.com/sveltejs/svelte/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). Provide workarounds, ask for clarification, or suggest labels. Help [triage issues](#triaging-issues-and-pull-requests).
@@ -90,9 +90,9 @@ A good test plan has the exact commands you ran and their output, provides scree
9090

9191
#### Writing tests
9292

93-
All tests are located in `/test` folder.
93+
All tests are located in the `/tests` folder.
9494

95-
Test samples are kept in `/test/xxx/samples` folder.
95+
Test samples are kept in `/tests/xxx/samples` folders.
9696

9797
#### Running tests
9898

documentation/docs/01-introduction/02-getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Don't worry if you don't know Svelte yet! You can ignore all the nice features S
1515

1616
## Alternatives to SvelteKit
1717

18-
You can also use Svelte directly with Vite by running `npm create vite@latest` and selecting the `svelte` option. With this, `npm run build` will generate HTML, JS, and CSS files inside the `dist` directory using [vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte). In most cases, you will probably need to [choose a routing library](faq#Is-there-a-router) as well.
18+
You can also use Svelte directly with Vite by running `npm create vite@latest` and selecting the `svelte` option. With this, `npm run build` will generate HTML, JS, and CSS files inside the `dist` directory using [vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte). In most cases, you will probably need to [choose a routing library](/packages#routing) as well.
1919

2020
>[!NOTE] Vite is often used in standalone mode to build [single page apps (SPAs)](../kit/glossary#SPA), which you can also [build with SvelteKit](../kit/single-page-apps).
2121
22-
There are also plugins for [Rollup](https://github.com/sveltejs/rollup-plugin-svelte), [Webpack](https://github.com/sveltejs/svelte-loader) [and a few others](https://sveltesociety.dev/packages?category=build-plugins), but we recommend Vite.
22+
There are also [plugins for other bundlers](/packages#bundler-plugins), but we recommend Vite.
2323

2424
## Editor tooling
2525

documentation/docs/03-template-syntax/12-bind.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Since 5.6.0, if an `<input>` has a `defaultValue` and is part of a form, it will
9595
9696
## `<input bind:checked>`
9797

98-
Checkbox and radio inputs can be bound with `bind:checked`:
98+
Checkbox inputs can be bound with `bind:checked`:
9999

100100
```svelte
101101
<label>
@@ -117,6 +117,8 @@ Since 5.6.0, if an `<input>` has a `defaultChecked` attribute and is part of a f
117117
</form>
118118
```
119119

120+
> [!NOTE] Use `bind:group` for radio inputs instead of `bind:checked`.
121+
120122
## `<input bind:indeterminate>`
121123

122124
Checkboxes can be in an [indeterminate](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate) state, independently of whether they are checked or unchecked:

0 commit comments

Comments
 (0)