Skip to content

Commit

Permalink
Merge pull request #595 from tomoam/update-up-to-20231207
Browse files Browse the repository at this point in the history
2023/12/07 迄の更新に追従
  • Loading branch information
tomoam committed Dec 8, 2023
2 parents bf04a5e + 3e24039 commit a81cf1f
Show file tree
Hide file tree
Showing 211 changed files with 2,684 additions and 1,220 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-flies-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

feat: add unstate utility function
5 changes: 5 additions & 0 deletions .changeset/clever-rockets-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: handle event hoisting props referencing
5 changes: 5 additions & 0 deletions .changeset/cool-ants-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: ensure proxied array length is updated
5 changes: 5 additions & 0 deletions .changeset/empty-crabs-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

chore: refactor props handling
5 changes: 5 additions & 0 deletions .changeset/fifty-rice-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: improve each key animations
5 changes: 5 additions & 0 deletions .changeset/five-tigers-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: better readonly checks for proxies
5 changes: 5 additions & 0 deletions .changeset/giant-roses-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: support dynamic transition functions
5 changes: 5 additions & 0 deletions .changeset/healthy-planes-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: prevent infinite loops stemming from invalidation method
5 changes: 5 additions & 0 deletions .changeset/lazy-months-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

feat: make fallback prop values readonly
5 changes: 5 additions & 0 deletions .changeset/neat-dingos-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: tweak invalid dollar prefix rules around function args
5 changes: 5 additions & 0 deletions .changeset/old-flies-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: ensure generated code does not use keywords as variable names
5 changes: 5 additions & 0 deletions .changeset/old-mails-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: ensure action function returns object
5 changes: 5 additions & 0 deletions .changeset/polite-dolphins-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: improve non state referenced warning
5 changes: 5 additions & 0 deletions .changeset/polite-ravens-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

feat: disallow fallback values with bindings in runes mode
5 changes: 5 additions & 0 deletions .changeset/poor-seahorses-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

chore: avoid creating thunk for call expressions when appropriate
30 changes: 30 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,54 @@
},
"changesets": [
"afraid-moose-matter",
"beige-flies-wash",
"brave-walls-destroy",
"brown-spoons-boil",
"chatty-taxis-juggle",
"chilled-pumas-invite",
"chilly-dolphins-lick",
"clean-eels-beg",
"clever-rockets-burn",
"cold-birds-own",
"cool-ants-leave",
"cuddly-pianos-drop",
"curly-lizards-dream",
"dirty-garlics-design",
"dirty-tips-add",
"early-ads-tie",
"eight-steaks-shout",
"eighty-bikes-camp",
"empty-crabs-think",
"fair-crabs-check",
"famous-knives-sneeze",
"few-mugs-fail",
"fifty-rice-wait",
"fifty-steaks-float",
"five-tigers-search",
"flat-melons-protect",
"forty-comics-invent",
"fresh-weeks-trade",
"friendly-lies-camp",
"funny-wombats-argue",
"gentle-sheep-hug",
"giant-roses-press",
"good-pianos-jump",
"great-icons-retire",
"green-eggs-approve",
"green-hounds-play",
"healthy-planes-vanish",
"honest-icons-change",
"hungry-dots-fry",
"hungry-tips-unite",
"itchy-beans-melt",
"itchy-lions-wash",
"khaki-mails-draw",
"khaki-moose-arrive",
"kind-deers-lay",
"kind-eagles-join",
"large-clouds-carry",
"lazy-masks-sit",
"lazy-months-knock",
"lazy-spiders-think",
"lemon-geese-drum",
"light-pens-watch",
Expand All @@ -56,49 +67,68 @@
"lucky-schools-hang",
"moody-frogs-exist",
"moody-owls-cry",
"neat-dingos-clap",
"new-boats-wait",
"ninety-dingos-walk",
"odd-needles-joke",
"odd-schools-wait",
"odd-shoes-cheat",
"old-flies-jog",
"old-mails-sneeze",
"polite-dolphins-care",
"polite-pumpkins-guess",
"polite-ravens-study",
"poor-eggs-enjoy",
"poor-seahorses-flash",
"popular-mangos-rest",
"quiet-camels-mate",
"rare-pears-whisper",
"rich-sheep-burn",
"rich-tables-sing",
"rotten-buckets-develop",
"selfish-tools-hide",
"serious-socks-cover",
"serious-zebras-scream",
"seven-deers-jam",
"seven-ravens-check",
"sharp-gorillas-impress",
"sharp-tomatoes-learn",
"shiny-baboons-play",
"shiny-shrimps-march",
"slimy-clouds-talk",
"small-papayas-laugh",
"smart-parents-swim",
"soft-clocks-remember",
"soft-geese-learn",
"sour-forks-stare",
"sour-rules-march",
"spicy-plums-admire",
"stale-comics-look",
"strong-lemons-provide",
"sweet-mangos-beg",
"swift-donkeys-perform",
"swift-ravens-hunt",
"swift-seahorses-deliver",
"tall-shrimps-worry",
"tall-tigers-wait",
"tasty-numbers-perform",
"ten-foxes-repeat",
"ten-worms-reflect",
"thin-foxes-lick",
"thirty-flowers-sit",
"thirty-ghosts-fix",
"thirty-impalas-repair",
"thirty-wombats-relax",
"tiny-kings-whisper",
"twelve-dragons-join",
"twelve-onions-juggle",
"two-dragons-yell",
"two-falcons-buy",
"unlucky-boxes-obey",
"wet-games-fly",
"wicked-clouds-exercise",
"wicked-doors-train",
"wise-donkeys-marry",
"witty-camels-warn"
]
}
5 changes: 5 additions & 0 deletions .changeset/rich-tables-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: improve signal consumer removal logic
5 changes: 5 additions & 0 deletions .changeset/sharp-tomatoes-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: ensure computed props are wrapped in derived
5 changes: 5 additions & 0 deletions .changeset/smart-parents-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: reuse existing proxy when object has multiple references
5 changes: 5 additions & 0 deletions .changeset/soft-clocks-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: improve consistency issues around binding invalidation
5 changes: 5 additions & 0 deletions .changeset/swift-donkeys-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: tweak css nth regex
5 changes: 5 additions & 0 deletions .changeset/swift-seahorses-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

feat: throw descriptive error for using runes globals outside of Svelte-compiled files
5 changes: 5 additions & 0 deletions .changeset/tasty-numbers-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: adjust children snippet default type
5 changes: 5 additions & 0 deletions .changeset/ten-foxes-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: better handle unowned derived signals
5 changes: 5 additions & 0 deletions .changeset/twelve-dragons-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: improve each block with animate
5 changes: 5 additions & 0 deletions .changeset/unlucky-boxes-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: correctly apply scope on component children
5 changes: 5 additions & 0 deletions .changeset/wise-donkeys-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

breaking: change `$inspect` API
76 changes: 76 additions & 0 deletions packages/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,81 @@
# svelte

## 5.0.0-next.22

### Patch Changes

- fix: handle event hoisting props referencing ([#9846](https://github.com/sveltejs/svelte/pull/9846))

- fix: support dynamic transition functions ([#9844](https://github.com/sveltejs/svelte/pull/9844))

- fix: ensure action function returns object ([#9848](https://github.com/sveltejs/svelte/pull/9848))

## 5.0.0-next.21

### Patch Changes

- chore: refactor props handling ([#9826](https://github.com/sveltejs/svelte/pull/9826))

- fix: improve each key animations ([#9842](https://github.com/sveltejs/svelte/pull/9842))

- chore: avoid creating thunk for call expressions when appropriate ([#9841](https://github.com/sveltejs/svelte/pull/9841))

- fix: improve signal consumer removal logic ([#9837](https://github.com/sveltejs/svelte/pull/9837))

- fix: ensure computed props are wrapped in derived ([#9835](https://github.com/sveltejs/svelte/pull/9835))

- fix: better handle unowned derived signals ([#9832](https://github.com/sveltejs/svelte/pull/9832))

- fix: improve each block with animate ([#9839](https://github.com/sveltejs/svelte/pull/9839))

- breaking: change `$inspect` API ([#9838](https://github.com/sveltejs/svelte/pull/9838))

## 5.0.0-next.20

### Patch Changes

- fix: better readonly checks for proxies ([#9808](https://github.com/sveltejs/svelte/pull/9808))

- fix: prevent infinite loops stemming from invalidation method ([#9811](https://github.com/sveltejs/svelte/pull/9811))

- fix: improve non state referenced warning ([#9809](https://github.com/sveltejs/svelte/pull/9809))

- fix: reuse existing proxy when object has multiple references ([#9821](https://github.com/sveltejs/svelte/pull/9821))

- fix: improve consistency issues around binding invalidation ([#9810](https://github.com/sveltejs/svelte/pull/9810))

- fix: tweak css nth regex ([#9806](https://github.com/sveltejs/svelte/pull/9806))

- fix: adjust children snippet default type ([`dcdd64548`](https://github.com/sveltejs/svelte/commit/dcdd645480ab412eb563632e70801f4d61c1d787))

- fix: correctly apply scope on component children ([#9824](https://github.com/sveltejs/svelte/pull/9824))

## 5.0.0-next.19

### Patch Changes

- feat: add unstate utility function ([#9776](https://github.com/sveltejs/svelte/pull/9776))

- fix: ensure proxied array length is updated ([#9782](https://github.com/sveltejs/svelte/pull/9782))

- chore: fix compiler errors test suite ([#9754](https://github.com/sveltejs/svelte/pull/9754))

- fix: ensure transitions properly cancel on completion ([#9778](https://github.com/sveltejs/svelte/pull/9778))

- feat: make fallback prop values readonly ([#9789](https://github.com/sveltejs/svelte/pull/9789))

- fix: tweak invalid dollar prefix rules around function args ([#9792](https://github.com/sveltejs/svelte/pull/9792))

- fix: ensure generated code does not use keywords as variable names ([#9790](https://github.com/sveltejs/svelte/pull/9790))

- feat: disallow fallback values with bindings in runes mode ([#9784](https://github.com/sveltejs/svelte/pull/9784))

- fix: apply event attribute validation to elements only ([#9772](https://github.com/sveltejs/svelte/pull/9772))

- fix: handle css nth-selector syntax ([#9754](https://github.com/sveltejs/svelte/pull/9754))

- feat: throw descriptive error for using runes globals outside of Svelte-compiled files ([#9773](https://github.com/sveltejs/svelte/pull/9773))

## 5.0.0-next.18

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/elements.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export type MessageEventHandler<T extends EventTarget> = EventHandler<MessageEve
export interface DOMAttributes<T extends EventTarget> {
// Implicit children prop every element has
// Add this here so that libraries doing `$props<HTMLButtonAttributes>()` don't need a separate interface
children?: import('svelte').Snippet<any>;
children?: import('svelte').Snippet<void>;

// Clipboard Events
'on:copy'?: ClipboardEventHandler<T> | undefined | null;
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "svelte",
"description": "Cybernetically enhanced web apps",
"license": "MIT",
"version": "5.0.0-next.18",
"version": "5.0.0-next.22",
"type": "module",
"types": "./types/index.d.ts",
"engines": {
Expand Down
Loading

0 comments on commit a81cf1f

Please sign in to comment.