Skip to main content
Module

x/solid/CHANGELOG.md

A declarative, efficient, and flexible JavaScript library for building user interfaces.
Go to Latest
File

solid-js

1.7.12

Patch Changes

  • 12eb1552: fix #1875 - mergeProps not handling undefined on SSR
  • 13b1fa6e: fix #1883 initialize createDeferred with transition value
  • 10ac07af: update jsx types, iife compiler optimization
  • 8b49110b: Allow passing defer:boolean to on

1.7.11

Patch Changes

  • 26740b88: fix #1848 Suspense Default Context Non-Null

1.7.10

Patch Changes

  • 5ed448ae: Export ContextProviderComponent, ResolvedChildren and ResolvedJSXElement types
  • 7dd1f413: fix .pipeTo signature to return promise
  • c2008f02: Fix underscore property
  • 792e7dea: fix #1821 improve context performance

1.7.9

Patch Changes

  • 44a2bf0b: fix #1814 incorrect typing embedding for h and html

  • 6cd10c73: Changes how the Setter type was declared without actually functionally changing it, fixing the Setter type being assignable to any other Setter type; fixes #1818.

    Generically typed Setters must now non-null assert their parameter, i.e.

    function myCustomSignal<T>(v: T) {
      const [get, set] = createSignal<T>();
    -   const mySetter: Setter<T | undefined> = (v?) => set(v);
    +   const mySetter: Setter<T | undefined> = (v?) => set(v!);
    
      const [get, set] = createSignal<T>(v);
    -   const mySetter: Setter<T> = (v?) => set(v);
    +   const mySetter: Setter<T> = (v?) => set(v!);
    }
  • 6c9879c9: fix in introspection in stores

  • 039cf60d: update universal runtime readme

  • 852f4c76: add missing link jsx types

1.7.8

Patch Changes

  • efd23186: fix #1780 invalid HTML comments
  • 51074fab: remove optional chaining, reduce bundle size
  • fe6f03f9: fix #1795 early effects running during async hydration

1.7.7

Patch Changes

  • c4cbfd3c: fix(Portal): reactive in children when pass signal directly
  • 0100bd12: Propagate errors to parents when throwing errors in nested catchError
  • 46e5e787: Improve type inference of createSelector.
  • 8ba0e80a: Fix mergeProps.
  • e660e5a3: add prettier code format in git-commit-hook
  • 93d44d45: fix #1787 missing CJS types

1.7.6

Patch Changes

  • 83c99d51: fix #1739 resolved state of disabled resources
  • f99dd044: Solid-Element: Add clarification on ‘props’ parameter in customElement function
  • 88493691: apply reference optimization to mergeProps
  • 514ef679: test: add tests to splitProps
  • 20261537: fix #1735 web component instantiation before constructor
  • 194f93c7: Improve performance in splitProps and mergeProps

1.7.5

Patch Changes

  • 5288cfa8: fix #1713, fix non-option jsx types
  • 8852c199: test: add tests to splitProps and mergeProps

1.7.4

Patch Changes

  • 1b5ea076: perf: avoid unnecessary flat
  • 91110701: fix element/test mismatch issues #1684, #1697, #1707 fix solid-ssr types add missing JSX types #1690 fix firefox iframe #1688

1.7.3

Patch Changes

  • 655f0b7e: fix attr in ssr spread, fix static undefined classList values, fix #1666 directives in TTLs
  • 8ce2c47b: Portal fixes #1676, #1677

1.7.2

Patch Changes

  • 27994dc9: Another attempt at fixing skypack
  • dfec6883: fix #1668 proto methods on store data nodes

1.7.1

Patch Changes

  • ba024813: fix ref timing in portals

1.7.0

Minor Changes

  • 503b6328: Add type narrowing non-keyed control flow
  • 86c32279: always cast to errors when handled
  • f7dc355f: Remove FunctionElement from JSX.Element types
  • 940e5745: change to seroval serializer, better ssr fragment fixes
  • 608b3c3a: Add catchError/deprecate onError
  • 2b80f706: Reduce DOM compiler output size Remove auxilary closing tags and lazy evaluate templates
  • 8d0877e4: fix #1562 cleanup order
  • 74f00e15: Support prop/attr directives in spreads, apply prop aliases only to specific elements

Patch Changes

  • 6b77d9ed: Better types on function callback control flow
  • 41ca6522: fixes around templates and hydration
  • 840933b8: fix #1653 portal bypasses Suspense
  • cb6a383d: ensure narrowed values are non-null
  • 3de9432c: Better Input Event Types, Template Pruning, Universal Renderer Fixes
  • 2cb6f3d6: fix treeshaking in rollup 3
  • 24469762: Add a reference to the component funciton to DevComponent owner. Rename DevComponent’s property from componentName to name.
  • 5545d3ee: Type narrowed flow on the server, add stale warning
  • 0dc8e365: Make non-null control flow assertion stricter by throwing
  • 4929530b: Remove name generation of owners and signals
  • 71c40af6: DEV: Minor additions and change the API of dev hooks
  • 6a4fe46c: fix #1553 improper html entity encoding in literal expressions
  • 5d671b89: Fix external source tests
  • 23c157ac: fix backward compatibility of template, fix #1639 loading on iframe

1.7.0-beta.5

Patch Changes

  • 0dc8e365: Make non-null control flow assertion stricter by throwing

1.7.0-beta.4

Patch Changes

  • cb6a383d: ensure narrowed values are non-null
  • 3de9432c: Better Input Event Types, Template Pruning, Universal Renderer Fixes
  • 2cb6f3d6: fix treeshaking in rollup 3
  • 23c157ac: fix backward compatibility of template, fix #1639 loading on iframe

1.7.0-beta.3

Patch Changes

  • 41ca6522: fixes around templates and hydration

1.7.0-beta.2

Minor Changes

  • 940e5745: change to seroval serializer, better ssr fragment fixes

1.7.0-beta.1

Minor Changes

  • 608b3c3a: Add catchError/deprecate onError
  • 2b80f706: Reduce DOM compiler output size Remove auxilary closing tags and lazy evaluate templates
  • 8d0877e4: fix #1562 cleanup order
  • 74f00e15: Support prop/attr directives in spreads, apply prop aliases only to specific elements

Patch Changes

  • 6b77d9ed: Better types on function callback control flow
  • 24469762: Add a reference to the component funciton to DevComponent owner. Rename DevComponent’s property from componentName to name.
  • 5545d3ee: Type narrowed flow on the server, add stale warning

1.7.0-beta.0

Minor Changes

  • 503b632: Add type narrowing non-keyed control flow
  • 86c3227: always cast to errors when handled
  • f7dc355: Remove FunctionElement from JSX.Element types

Patch Changes

  • 4929530: Remove name generation of owners and signals
  • 71c40af: DEV: Minor additions and change the API of dev hooks
  • e245736: Fixed test case for setStore 7 parameter overload by fixing KeyOf giving number for KeyOf
  • 6a4fe46: fix #1553 improper html entity encoding in literal expressions

1.6.16

Patch Changes

  • d10da016: Fix #1651 hydration markers introduced too early
  • 620c7636: Switch test runner from Jest to Vitest

1.6.15

Patch Changes

  • e8448ebd: fix #1624 early fallback removal, add missing svg pathLength type
  • da83ebda: defer ssr cleanup to next macrotask

1.6.14

Patch Changes

  • 6cceab2f: fix #1613 broken renderToString

1.6.13

Patch Changes

  • af20f00b: fix #1602 wrong resource state during SSR
  • 60f8624d: fix #1596 ssr fragment text merge, fix #1599 ssr onCleanup

1.6.12

Patch Changes

  • e2888c77: Correct the type of isServer const to boolean from false.
  • 676ed331: docs: fix typos
  • b8a3ff13: fix #1586 error boundary called twice
  • 1aff80c6: fix #1573 top level reconcile not merging
  • 53db3f0f: fix fallback hydration
  • 47d574a8: fix #1588: dynamic mount elements in Portals without recreation
  • e245736f: Fixed test case for setStore 7 parameter overload by fixing KeyOf giving number for KeyOf
  • 61d1fe25: Export isDev const from solid-js/web for differentiating between dev/prod env.
  • 4fdec4f9: fix #1564, fix #1567 template literal bugs

1.6.11

Patch Changes

  • bfbd002: Fixed the store setter’s recursive fallback overload not terminating with non-numbers
  • 1ecdea4: chore: export package.json
  • 91d518a: fix: createResource should not ignores empty string throw
  • 18e734d: Support null for detachedOwner in createRoot
  • 12d458d: fix #1547, missing SVGPattern type
  • 4aaa94b: Fix: swap KeyOf for MutableKeyOf in one of the SetStoreFunction overload
  • c26f933: Add fast track for untrack in case of null listener
  • 6fb3cd8: fix #1541: process errors at the end of synchronous execution
  • c5b208c: fix #1522, errors stop future effects from running

1.6.10

Patch Changes

  • 1b32e63: Fix broken comments description link to solid docs
  • dd879da: fix #1493 export DynamicProps
  • d89e791: Add generic to onCleanup
  • 695d99b: Export EffectOptions and OnOptions from main module
  • d35a1ca: Fixed the return type of the Symbol.observable method of the observable in the generated .d.ts
  • 7ab43a4: fix #1492 SSR Spread Breaks Hydration fix #1495 runWithOwner not clearing listener fix #1498 unrecoverable error in async batch

1.6.9

Patch Changes

  • a572c12: Streaming without a wrapper and compile time JSX validation
  • 0ad9859: fix #1478 error infinite loop
  • 12629a3: DEV: registerGraph graph property added to values

1.6.8

Patch Changes

  • 6db2d89: Fix #1461 - streaming broken due to reusing same resources for lazy dedupe

1.6.7

Patch Changes

  • c4ac14c: Format/Cleanup Types and code style
  • 1384496: Fix unowned roots having owner in dev
  • 1dbd5a9: stub out render and hydrate on server
  • 368e508: make splitProps with dynamic source return proxies
  • 54f3068: fix #1452 runWithOwner responsible for errors in its scope
  • c8edacd: Fix lazy defined in components during SSR
  • 89baf12: fix boolean escaping, improve ssr performance

1.6.6

Patch Changes

  • a603850: Export SignalOptions
  • 2119211: fix #1423 - inlined arrow functions in SSR and update rollup
  • 5a5a72d: Fix #1436 incorrectly missing proxy detection
  • 5eb575a: fix: delete lazy contexts one by one as they are completed

1.6.5

Patch Changes

  • 50d1304: fix #1416 nulls in array reconcile
  • ee71b16: fix #1410 - node 14 compatibility. Remove ||= operator that isn’t available on some legacy platforms.

1.6.4

Patch Changes

  • a42a5f6: memoize merging functions

1.6.3

Patch Changes

  • e95e95f: Bug fixes and testing changelog