Skip to content

Releases: nativescript-vue/nativescript-vue

3.0.0

12 Mar 20:43
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.0-rc.3...3.0.0

3.0.0-rc.3

13 Feb 10:55
Compare
Choose a tag to compare

What's Changed

  • Add importable $closeModal helper by @MrSnoozles in #1088
  • Updated to latest vue and other dependencies

Full Changelog: 3.0.0-rc.2...3.0.0-rc.3

3.0.0-rc.2

19 Apr 11:11
Compare
Choose a tag to compare

$showModal changes

If a closeCallback is passed to the $showModal options, it will now be called with all the arguments passed to $modal.close or $closeModal. Previously this was never called.

The props types are automatically inferred unless there's a first generic passed in.

/* Without a generic */
$showModal(Home, {
  props: {
     // this infers props/events from the "Home" component and provides intellisense.
  },
  closeCallback(data, ...args) {
    // data type is any
    // args type is any[]
  }
}).then(data => {
  // data type is any
});
/* With a generic */
type Example = { foo: string; };
$showModal<Example>(Home, {
  props: {
    // this is `any` because we explicitly passed in `<Example>` as the generic above.
  }
  closeCallback(data, ...args) {
    // data type is Example
    // args type is any[]
    // this is called with the closeModal data + additional args
  }
}).then(data => { 
  // data type is Example
  // this is called with only the 1st argument passed to closeModal because promises can't resolve multiple values.
});

$navigateTo changes

Similarly to $showModal the type of props is now inferred.

Full Changelog: 3.0.0-rc.1...3.0.0-rc.2

3.0.0-rc.1

19 Apr 08:10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/nativescript-vue/nativescript-vue/commits/3.0.0-rc.1

v2.9.3

09 Aug 21:18
Compare
Choose a tag to compare

2.9.3 (2022-08-09)

Features

  • template-compiler: include sfc tag locations (792e6ba)

v2.9.1

08 Mar 14:56
Compare
Choose a tag to compare

2.9.1 (2022-03-08)

Bug Fixes

v2.9.0

01 Apr 15:34
Compare
Choose a tag to compare

2.9.0 (2021-04-01)

Features

v2.8.4

10 Mar 12:30
Compare
Choose a tag to compare

2.8.4 (2021-03-10)

Bug Fixes

  • child of NavigationEntry key generated in render (#813) (#814) (ee47fc1)
  • incorrect nextSibling of prevSibling in appendChild/insertBefore (#811) (5156f20), closes #809 #809

v2.7.2

10 Feb 14:28
Compare
Choose a tag to compare

2.7.2 (2021-02-10)

Bug Fixes

  • patchTemplate should flush pending callbacks (#790) (199a31a)

v2.8.3

24 Nov 12:37
Compare
Choose a tag to compare

2.8.3 (2020-11-24)

Bug Fixes

  • patchTemplate should flush pending callbacks (9125286)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy