Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 25, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte (source) 3.31.2 -> 3.48.0 age adoption passing confidence

Release Notes

sveltejs/svelte

v3.48.0

Compare Source

  • Allow creating cancelable custom events with createEventDispatcher (#​4623)
  • Support {@​const} tag in {#if} blocks #​7241
  • Return the context object in setContext #​7427
  • Allow comments inside {#each} blocks when using animate: (#​3999)
  • Fix |local transitions in {#key} blocks (#​5950)
  • Support svg namespace for {@​html} (#​7002, #​7450)
  • Fix {@​const} tag not working inside a component when there's no let: #​7189
  • Remove extraneous leading newline inside <pre> and <textarea> (#​7264)
  • Fix erroneous setting of textContent for <template> elements (#​7297)
  • Fix value of let: bindings not updating in certain cases (#​7440)
  • Fix handling of void tags in <svelte:element> (#​7449)
  • Fix handling of boolean attributes in <svelte:element> (#​7478)
  • Add special style scoping handling of [open] selectors on <dialog> elements (#​7495)

v3.47.0

Compare Source

  • Add support for dynamic elements through <svelte:element> (#​2324)
  • Miscellaneous variable context fixes in {@&#8203;const} (#​7222)
  • Fix {#key} block not being reactive when the key variable is not otherwise used (#​7408)
  • Add Symbol as a known global (#​7418)

v3.46.6

Compare Source

  • Actually include action TypeScript interface in published package (#​7407)

v3.46.5

Compare Source

  • Add TypeScript interfaces for typing actions (#​6538)
  • Do not generate unused-export-let warning inside <script context="module"> blocks (#​7055)
  • Do not collapse whitespace-only CSS vars (#​7152)
  • Add aria-description to the list of allowed ARIA attributes (#​7301)
  • Fix attribute escaping during SSR (#​7327)
  • Prevent .innerHTML optimization from being used when style: directive is present (#​7386)

v3.46.4

Compare Source

  • Avoid maximum call stack size exceeded errors on large components (#​4694)
  • Preserve leading space with preserveWhitespace: true (#​4731)
  • Preserve leading space in <pre> tags (#​6437)
  • Improve error message when trying to use style: directives on inline components (#​7177)
  • Add FormData as a known global (#​7199)
  • Mark css/instance/module AST properties as optional in types (#​7204)

v3.46.3

Compare Source

  • Ignore whitespace in {#each} blocks when containing elements with animate: (#​5477)
  • Throw compiler error when variable in context="instance" collides with import in context="module" (#​7090)
  • Fix compiler crash when {@&#8203;const} contains arrow functions (#​7134)

v3.46.2

Compare Source

  • Export FlipParams interface from svelte/animate (#​7103)
  • Fix style: directive reactivity inside {#each} block (#​7136)

v3.46.1

Compare Source

  • Handle style:kebab-case directives (#​7122)
  • Improve AST produced for style: directives (#​7127)

v3.46.0

Compare Source

v3.45.0

Compare Source

  • Fix non-boolean attribute rendering in SSR to render truthy values as-is (#​6121)
  • Fix binding to a member expression also invalidating the member property (#​6921)
  • Fix default values in {#each}/etc. destructurings not being considered references for the purposes of compiler warnings (#​6964)
  • Fix {:else if} value incorrectly being cached (#​7043)
  • Add a11y-no-redundant-roles warning (#​7067)
  • Fix code generation error with arrow functions whose bodies are object destructuring assignments (#​7087)

v3.44.3

Compare Source

  • Fix bind:this binding inside onMount for manually instantiated component (#​6760)
  • Prevent cursor jumps with one-way binding for other type="text"-like <input>s (#​6941)
  • Exclude async loops from loopGuardTimeout (#​6945)

v3.44.2

Compare Source

  • Fix overly restrictive preprocessor types (#​6904)
  • More specific typing for crossfade function - returns a tuple, not an array (#​6926)
  • Add URLSearchParams as a known global (#​6938)
  • Add types field to exports map (#​6939)

v3.44.1

Compare Source

  • Fix code generation when a multi-line return statement contains comments (code-red#​36)
  • Fix code generation when for/if/while statements have empty bodies (#​6884)

v3.44.0

Compare Source

  • Add enableSourcemap compiler option (#​6835)

v3.43.2

Compare Source

  • Fix regression where user-specified imports were not rewritten according to the sveltePath option (#​6834)

v3.43.1

Compare Source

  • Prevent a rejecting promise used in {#await} during SSR from appearing as an unhandled rejection (#​6789)

v3.43.0

Compare Source

  • Use export map to expose no-op versions of lifecycle functions for SSR (#​6743)
  • Prefer context passed to component constructor, even when running synchronously in another component (#​6753)
  • Handle preprocessors that return empty sourcemaps (#​6757)

v3.42.6

Compare Source

  • Hide private preprocess typings (#​6622)
  • Fix reactive function in {:else if} expression not being properly re-run (#​6727)

v3.42.5

Compare Source

  • In draw transition, account for stroke-linecap in determining length (#​4540)
  • Fix regression with destructuring assignments with default values (#​6699)

v3.42.4

Compare Source

  • Only apply optimized src attribute handling when in an html namespace (#​6575)
  • Fix styles for transitions and animations being attached to the wrong document in <iframe>s (#​6637)
  • Fix <select> with a {...spread} attribute that didn't provide a value key getting its value improperly unset (#​6675)

v3.42.3

Compare Source

  • Add BigInt as a known global (#​6671)
  • Fix regression where onDestroy in svelte/ssr was improperly a no-op (#​6676)

v3.42.2

Compare Source

  • Collapse whitespace in class and style attributes (#​6004)
  • Deselect all <option>s in a <select> where the bound value doesn't match any of them (#​6126)
  • In hydrated components, only rely on helpers for creating the types of elements present in the component (#​6555)
  • Add HTMLElement and SVGElement as known globals (#​6643)
  • Account for scaling in flip animations (#​6657)

v3.42.1

Compare Source

  • Fix regression with reordering keyed {#each} blocks when compiling with hydration enabled (#​6561)

v3.42.0

Compare Source

  • Allow use:actions to be used on <svelte:body> (#​3163)
  • Improve parser errors for certain invalid components (#​6259, #​6288)
  • Fix paths in generator JS sourcemaps to be relative (#​6598)
  • Fix overzealous warnings about context="module" variables not being reactive (#​6606)

v3.41.0

Compare Source

  • Support export { ... } from syntax in components (#​2214)
  • Support export let { ... } = syntax in components (#​5612)
  • Support {#await ... then/catch} without a variable for the resolved/rejected value (#​6270)

v3.40.3

Compare Source

  • Fix <slot> data when a transition is cancelled before completing (#​5394)
  • Fix destructuring into variables beginning with $ so that they result in store updates (#​5653)
  • Fix in: transition configuration not properly updating when it's changed after its initial creation (#​6505)
  • Fix applying :global() for > selector combinator (#​6550)
  • Fix mounting component at detached DOM node (#​6567)

v3.40.2

Compare Source

  • Fix dynamic autofocus={...} attribute handling (#​4995)
  • Add filename to combined source map if needed (#​6089)
  • In AST, parse empty attribute values as an empty string (#​6286)
  • Fix tracking whether transition has started (#​6399)
  • Fix incorrect scoping of :global() selectors (#​6550)

v3.40.1

Compare Source

  • Fix store reactivity regression when using reactive statements (#​6557)

v3.40.0

Compare Source

  • Support rendering a component in a shadow DOM (#​5869)
  • Fix :root selector being erroneously scoped to component (#​4767)
  • Fix .end in AST for expressions inside attributes (#​6258)
  • Fix one-way <select> binding when it has a spread attribute (#​6433)
  • Various hydration improvements and fixes (#​6449)
  • Use smaller versions of internal helpers when compiling without hydration support (#​6462)
  • Fix two-way binding of values when updating through synchronous component accessors (#​6502)

v3.39.0

Compare Source

  • Support bind:group in SSR (#​4621)
  • Add a11y warning a11y-mouse-events-have-key-events which checks that mouseover/mouseout are accompanied by focus/blur event handlers (#​5938)
  • Make it possible to silence more warnings (#​5954)
  • Add |trusted event modifier (#​6137)
  • Add varsReport compiler option to include all variables reference in the component in the variables report (#​6192)
  • Add errorMode compiler option to try to continue compiling when an error is detected (#​6194)
  • Expose svelte/ssr which exports lifecycle methods as no-ops (#​6416)
  • Add getAllContexts (#​6447)
  • Throw proper error for export default function() {} and export default class {} rather than crashing the compiler (#​3275)
  • Fix SSR rendering of falsy input values (#​4551)
  • Fix preserveComments in SSR mode (#​4730)
  • Do not warn if context="module" variables are not the only dependencies in reactive statements (#​5954)
  • Stop checking a11y-media-has-caption a11y warning on <audio> elements (#​6054)
  • Fix erroneous "unknown prop" warning when using slot on a component (#​6065)
  • Add sourcemaps to all HTML elements (#​6092)
  • Relax derived function signature (#​6178)
  • Throw compiler error when passing empty directive names (#​6299)
  • Fix compiler error when using :where() inside :global() (#​6434)
  • Fix ordering of elements in keyed {#each} (#​6444)
  • Remove deprecated a11y warning a11y-no-onchange warning (#​6457)
  • Fix :global() with pseudo element not being seen as global (#​6468)
  • Allow :global() to contain multiple selectors when it is not part of a larger selector (#​6477)
  • Make <script> and <style> end tag parsing more robust (#​6511)

v3.38.3

Compare Source

  • Speed up hydration by reducing amount of element reorderings (#​4308)
  • Fix escaping attribute values when using a spread in SSR (#​5756)
  • Throw compiler error when :global() contains multiple selectors (#​5907)
  • Give explicit error rather than crashing when an attribute shorthand {} is empty (#​6086)
  • Make <textarea> end tag parsing more robust (#​6276)
  • Fix :global(...):some-pseudoclass selectors not being seen as global (#​6306)
  • Fix type signatures of writable and readable so it's possible to call them without arguments (#​6291, #​6345)
  • Preserve this in bubbled events (#​6310)
  • Fix slot props not updating when transition is aborted (#​6386)
  • Fix generic props relationship in SvelteComponentTyped (#​6400)

v3.38.2

Compare Source

  • Revert hydration optimisation for the time being (#​6279)

v3.38.1

Compare Source

v3.38.0

Compare Source

  • Avoid recreating DOM elements during hydration (#​1067)
  • Support passing CSS custom properties to component (#​5628)
  • Support :global() as part of compound CSS selectors (#​6222)
  • Fix updating <slot> contents when there's an aborted transition (#​3542)
  • Fix setting boolean attributes on custom elements (#​5951)
  • Add missing function overload for derived to allow explicitly setting an initial value for non-async derived stores (#​6172)
  • Fix dynamic href values erroneously triggering a11y warnings (#​5990)
  • Fix scope leak when updating an {#await} block (#​6173)
  • Pass full markup source to script/style preprocessors (#​6169)
  • Fix crossfade types to mark fallback as optional (#​6201)
  • Add missing "context" typing to SvelteComponent constructor options (#​6236)
  • Don't automatically switch to svg namespace when in foreign namespace (#​6257)

v3.37.0

Compare Source

  • Allow root-level context to be passed to the component constructor (#​6032)

v3.36.0

Compare Source

  • Add this: void typing to store functions (#​6094)
  • Export Spring, Tweened and EasingFunction interfaces (#​6070, #​6056)
  • Export interfaces for transition parameters (#​5207)
  • Export store's useful TypeScript definitions (#​5864)
  • Fix previous breaking change to svelte/preprocess types location (#​6100)
  • Fix missing slotted elements in AST (#​6066)

v3.35.0

Compare Source

  • Implement slotted components and <svelte:fragment slot="..."> (#​1037, #​2079)
  • Fix reactivity bug where slot="..." is specified after attributes that should be reactive (#​5626)

v3.34.0

Compare Source

  • Add a cssHash option for controlling the classname used for CSS scoping (#​570)

v3.33.0

Compare Source

  • In custom elements, call onMount functions when connecting and clean up when disconnecting (#​1152, #​2227, #​4522)
  • Allow destructured defaults to refer to other variables (#​5066)
  • Do not emit contextual-store warnings for function parameters or declared variables (#​6008)

v3.32.3

Compare Source

  • Fix removal of lone :host selectors (#​5982)

v3.32.2

Compare Source

  • Fix unnecessary additional invalidation with <Component bind:prop={obj.foo}/> (#​3075, #​4447, #​5555)
  • Fix scoping of selectors with :global() and ~ sibling combinators (#​5499)
  • Fix removal of :host selectors as unused when compiling to a custom element (#​5946)

v3.32.1

Compare Source

  • Warn when using module variables reactively, and close weird reactivity loophole (#​5847)
  • Throw a parser error for class: directives with an empty class name (#​5858)
  • Fix extraneous store subscription in SSR mode (#​5883)
  • Don't emit update code for class: directives whose expression is not dynamic (#​5919)
  • Fix type inference for derived stores (#​5935)
  • Make parameters of built-in animations and transitions optional (#​5936)
  • Make SvelteComponentDev typings more forgiving (#​5937)
  • Fix foreign elements incorrectly disallowing bind:this (#​5942)

v3.32.0

Compare Source

  • Allow multiple instances of the same action on an element (#​5516)
  • Support foreign namespace, which disables certain HTML5-specific behaviour and checks (#​5652)
  • Support inline comment sourcemaps in code from preprocessors (#​5854)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 264ae12 to 4be1758 Compare January 29, 2021 21:03
@renovate renovate bot changed the title Update dependency svelte to v3.32.0 Update dependency svelte to v3.32.1 Jan 29, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 4be1758 to 2188d99 Compare February 8, 2021 20:54
@renovate renovate bot changed the title Update dependency svelte to v3.32.1 Update dependency svelte to v3.32.2 Feb 8, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 2188d99 to 1082004 Compare February 11, 2021 04:02
@renovate renovate bot changed the title Update dependency svelte to v3.32.2 Update dependency svelte to v3.32.3 Feb 11, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 1082004 to 289ea7c Compare February 25, 2021 17:13
@renovate renovate bot changed the title Update dependency svelte to v3.32.3 Update dependency svelte to v3.33.0 Feb 25, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 289ea7c to a5e75ad Compare February 26, 2021 01:03
@renovate renovate bot changed the title Update dependency svelte to v3.33.0 Update dependency svelte to v3.34.0 Feb 26, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from a5e75ad to cb0b2d8 Compare March 1, 2021 22:18
@renovate renovate bot changed the title Update dependency svelte to v3.34.0 Update dependency svelte to v3.35.0 Mar 1, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from cb0b2d8 to 7b7964b Compare April 26, 2021 12:23
@renovate renovate bot changed the title Update dependency svelte to v3.35.0 Update dependency svelte to v3.37.0 Apr 26, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 7b7964b to 73e87a9 Compare May 9, 2021 20:59
@renovate renovate bot changed the title Update dependency svelte to v3.37.0 Update dependency svelte to v3.38.2 May 9, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 73e87a9 to c59e33c Compare October 18, 2021 16:34
@renovate renovate bot changed the title Update dependency svelte to v3.38.2 Update dependency svelte to v3.44.0 Oct 18, 2021
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from c59e33c to dc5c240 Compare March 7, 2022 09:20
@renovate renovate bot changed the title Update dependency svelte to v3.44.0 Update dependency svelte to v3.46.4 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from dc5c240 to 0e012d6 Compare April 24, 2022 17:38
@renovate renovate bot changed the title Update dependency svelte to v3.46.4 Update dependency svelte to v3.47.0 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/svelte-3.x branch from 0e012d6 to 45fae2c Compare May 15, 2022 22:10
@renovate renovate bot changed the title Update dependency svelte to v3.47.0 Update dependency svelte to v3.48.0 May 15, 2022
@renovate renovate bot changed the title Update dependency svelte to v3.48.0 Update dependency svelte to v3.48.0 - autoclosed Sep 25, 2022
@renovate renovate bot closed this Sep 25, 2022
@renovate renovate bot deleted the renovate/svelte-3.x branch September 25, 2022 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant