Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sveltejs/kit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @sveltejs/kit@1.0.0-next.424
Choose a base ref
...
head repository: sveltejs/kit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @sveltejs/kit@1.0.0-next.425
Choose a head ref
  • 3 commits
  • 6 files changed
  • 4 contributors

Commits on Aug 19, 2022

  1. Copy the full SHA
    cce36c9 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b925d8b View commit details
  3. Version Packages (next) (#6081)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 19, 2022
    Copy the full SHA
    035d075 View commit details
5 changes: 5 additions & 0 deletions .changeset/flat-pears-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Silence more unknown prop warnings coming from SvelteKit
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -282,6 +282,7 @@
"flat-eels-hear",
"flat-insects-worry",
"flat-parrots-juggle",
"flat-pears-compare",
"flat-pillows-think",
"flat-stingrays-talk",
"flat-turtles-scream",
2 changes: 1 addition & 1 deletion documentation/docs/01-project-structure.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ The `src` directory contains the meat of your project.
- `app.html` is your page template — an HTML document containing the following placeholders:
- `%sveltekit.head%``<link>` and `<script>` elements needed by the app, plus any `<svelte:head>` content
- `%sveltekit.body%` — the markup for a rendered page
- `%sveltekit.assets%`a relative path from the page to [`paths.assets`](/docs/configuration#paths)
- `%sveltekit.assets%`either [`paths.assets`](/docs/configuration#paths), if specified, or a relative path to [`paths.base`](/docs/configuration#base)
- `%sveltekit.nonce%` — a [CSP](/docs/configuration#csp) nonce for manually included links and scripts, if used
- `hooks.js` (optional) contains your application's [hooks](/docs/hooks)
- `service-worker.js` (optional) contains your [service worker](/docs/service-workers)
6 changes: 6 additions & 0 deletions packages/kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sveltejs/kit

## 1.0.0-next.425

### Patch Changes

- Silence more unknown prop warnings coming from SvelteKit ([#6078](https://github.com/sveltejs/kit/pull/6078))

## 1.0.0-next.424

### Patch Changes
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sveltejs/kit",
"version": "1.0.0-next.424",
"version": "1.0.0-next.425",
"repository": {
"type": "git",
"url": "https://github.com/sveltejs/kit",
4 changes: 2 additions & 2 deletions packages/kit/src/runtime/client/client.js
Original file line number Diff line number Diff line change
@@ -274,7 +274,7 @@ export function create_client({ target, base, trailing_slash }) {
console.warn = (...args) => {
if (
args.length !== 1 ||
!/<(Layout|Page)> was created with unknown prop '(data|errors)'/.test(args[0])
!/<(Layout|Page)(_[\w$]+)?> was created with unknown prop '(data|errors)'/.test(args[0])
) {
warn(...args);
}
@@ -368,7 +368,7 @@ export function create_client({ target, base, trailing_slash }) {
console.warn = (...args) => {
if (
args.length !== 1 ||
!/<(Layout|Page)> was created with unknown prop '(data|errors)'/.test(args[0])
!/<(Layout|Page)(_[\w$]+)?> was created with unknown prop '(data|errors)'/.test(args[0])
) {
warn(...args);
}