Skip to content

Latest commit

 

History

History
239 lines (166 loc) · 8.55 KB

CHANGELOG.md

File metadata and controls

239 lines (166 loc) · 8.55 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.15]

  • fix: correctly destroy root element on application exit

[1.0.14]

  • feat: allow let:index in Template

[1.0.13]

  • fix: dont rely on a custom modalStack anymore

[1.0.12]

  • fix: error fix with bezier curves

[1.0.11]

  • fix: broken typings

[1.0.10]

  • fix: use time method and only set performance if necessary

[1.0.9]

  • fixed svelteNative and svelteNativeNoFrame typings. Props parameter type is now inferred from component

[1.0.8]

  • fixed jsx typings and add missing layoutChanged event

[1.0.7]

  • fix global typings and made typings more generic to infer props from svelte component

[1.0.6]

  • Fix elements properties change to null/undefined not being seen by N Views

[1.0.5]

  • Updated type definitions used by language server to resolve issue with "on:tap" style events
  • Updated definitions to include new properties from Nativescript core 8.1.3

[1.0.4]

  • Fix showModal, not all controls have nativeView

[1.0.3]

  • Fix typescript types for SvelteComponent and Template

[1.0.2]

  • Fix detection of external renderer when being bundled by REPL

[1.0.1]

  • change appendChild logic to match other Nativescript flavours

[1.0.0]

  • Drop the "beta" suffix, see below betas for changes from 0.9

[1.0.0-beta.6]

  • revert prior fix and apply a proper fix.

[1.0.0-beta.5]

  • Fall back to global document when owner not provided to createElement()
  • Fix bug introduced in beta.4 which prevented registration of events for items not derived from View

[1.0.0-beta.4]

  • Update supported svelte version
  • Internal change which should allow self registration of components to reduce bundle size

[1.0.0-beta.3]

  • Update to Nativescript 8.1
  • Resolve several problems preventing svelte 3.42.x from working with svelte native
  • Resolve a problem preventing svelte-loader 3.x from working correctly with svelte native

[1.0.0-beta.2]

  • Change JSX types to use interfaces so they can be extended/augmented
  • Added shims.d.ts to fix type errors reporting on bind:this

[1.0.0-beta.1]

  • Update JSX types based on latest 8.0.2 fixing some errors in the type definitions

[1.0.0-beta.0]

  • BREAKING: BottomNavigation and Tabs are gone, use @nativescript-community/ui-material-tabs and @nativescript-community/ui-material-bottom-navigation as drop in replacements
  • BREAKING: Svelte Native is now case sensitive on attributes, this brings it in line with other frameworks on NativeScript. The types included should give nice autocomplete and hints in VSCode to help.
  • Added RootLayout component
  • Rebuild against NativeScript 8 (changes in NS8 here)
  • Add JSX types for core widgets for better VSCode experience

[0.9.5]

  • Fix typing for Template element (added $$prop_defs)
  • Initialize Dom on package import so that svelte latches onto our populated global and window shims correctly

[0.9.4]

  • Only include children that set the same property on parent when calculating index.

[0.9.3]

  • Fix regression in attribute setter logic

[0.9.2]

  • Test harness is working again
  • Fixed regression for tabstrip item removal
  • Resolved more property names

[0.9.1]

  • Nativescript 7 support
  • Resolve [Object object] in listview when using itemTemplateSelector

[0.8.5]

  • Resolve Formatted string reactivity #166
  • Prevent resolving of log messages when trace is not enabled

[0.8.4]

  • Remove calls to deprecated "topmost()"

[0.8.3]

  • Fix animations by overwriting NativeScripts slightly non-compliant requestAnimationFrame
  • Fix slide animation

[0.8.2]

  • Fix event bubbling with less monkey patching.

[0.8.1]

  • Fix event bubbling #124

[0.8.0]

  • Fix bug in segmented bar (re)creation closes #118 and #119
  • Correctly handle multiple child text nodes
  • Added ability to override nativescript tags with your own. Closes #105
  • Swap to @nativescript/core from tns-core-modules. Closes #103
  • Internal logger now skips evaluation of template strings when logging is disabled
  • Upgrade to nativescript 6.4
  • Upgrade to svelte 3.19.*

[0.7.3]

  • provide timestamp to requestAnimationFrame shim,fixes transition problems with svelte 3.16+

[0.7.2]

  • use most recent patch of svelte and tns-core-modules instead of most recent minor, this should help prevent breakages by upstream dependencies
  • Require svelte 3.16.*
  • Detect nativescripts own requestAnimationFrame polyfill and don't try to overwrite

[0.7.1]

  • Fix Tabs component rendering on iOS
  • Fix Tabs component on start page crashes app on iOS

[0.7.0]

  • Support for Nativescript 6.2
  • Clear history when frame direct child change causes a navigation, closes #96

[0.6.1]

[0.6.0]

Breaking Changes

  • Renamed NativeElementNode to NativeViewElementNode and added a parent class NativeElementNode which handles nativescript entities not derived from View
  • Removed "meta" legacy onInsert and Remove hook container

Added

  • support for prop: directive to set the value of the containing node to the nativeView of the current node e.g <gridLayout prop:mainContent> for sideDrawer
  • Added a parameter to NativeElementNode that configures the prop: behaviour and defines the correct casing of any property
  • Added a parameter setsParentProp to NativeElementNode that specifies a property on the perent node to set to constructed element when inserted.
  • Added registerNativeViewElement and registerNativeConfigElement exports. These help change:
  registerElement('myTag', () => new NativeViewElementNode('myTag', require('some-tns-plugin/mytag').MyTag))

into

  registerNativeViewElement('myTag', () => require('some-tns-plugin/mytag').MyTag )
  • Added svelteNativeNoFrame which allows you to launch your app without an implicit root frame. Great for when you are using RadSidebar

Changes

  • Refactored property name normalization to cache based on object prototype so we aren't walking all defined properties every time we get or set.
  • Use the new 'scoped styles' boolean parameter when calling addCss if we don't detect any :global() styles. This should improve perf.

[0.5.3]

  • Add support for itemTemplateSelector closes #86

[0.5.2]

  • Fix frame not found by Id #82

[0.5.1]

  • Fix animations when using latest svelte

[0.5.0]

  • Updated to NativeScript 6.1
  • Support Tabs, TabStrip, and Bottom Navigation components

[0.4.3]

  • Support sveltes new dev document.dispatch calls
  • Update to svelte 3.12.1

[0.4.2]

[0.4.1]

[0.4.0] -

  • Built against latest svelte 3.6.7 and Nativescript 6.0

[0.3.4] - 2019-06-15

  • ListItem template components are now created with intro: true

[0.3.3] - 2019-05-22

Fixed

  • mounting with anchor uses correct index during insert (fixes #30)

[0.3.2] - 2019-05-16

Fixed

  • class: directives now work with falsy values

Changed

  • Bumped Nativescript to 5.4
  • Bumped Svelte to 3.4
  • Updated unit tests to use bundled svelte components instead of compiling as part of test.

[0.3.1] - 2019-04-30

Added

  • Removed console log spam and added to a NativeScript trace category exported as DomTraceCategory

[0.3.0] - 2019-04-23

Added

  • Introduced a Changelog

Changed

  • Bumped versions to use freshly released Svelte 3.0.0