nativescript-vue

Native mobile applications using Vue and NativeScript.

MIT License

Downloads
6.5K
Stars
5.3K
Committers
6

Bot releases are visible (Hide)

nativescript-vue - 3.0.0-rc.2 Latest Release

Published by rigor789 6 months ago

$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: https://github.com/nativescript-vue/nativescript-vue/compare/3.0.0-rc.1...3.0.0-rc.2

nativescript-vue - 3.0.0-rc.1

Published by rigor789 6 months ago

What's Changed

New Contributors

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

nativescript-vue -

Published by rigor789 about 2 years ago

2.9.3 (2022-08-09)

Features

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

Published by rigor789 over 2 years ago

2.9.1 (2022-03-08)

Bug Fixes

nativescript-vue -

Published by rigor789 over 3 years ago

2.9.0 (2021-04-01)

Features

nativescript-vue -

Published by rigor789 over 3 years ago

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
nativescript-vue -

Published by rigor789 over 3 years ago

2.7.2 (2021-02-10)

Bug Fixes

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

Published by rigor789 almost 4 years ago

2.8.3 (2020-11-24)

Bug Fixes

  • patchTemplate should flush pending callbacks (9125286)
nativescript-vue -

Published by rigor789 almost 4 years ago

2.8.2 (2020-11-21)

Bug Fixes

nativescript-vue -

Published by rigor789 about 4 years ago

2.8.1 (2020-09-03)

Bug Fixes

  • use preferred imports for ns7 (4c38dfa)
nativescript-vue - NativeScript 7!

Published by rigor789 about 4 years ago

🚨 Important: 🚨
This version and above is for NativeScript 7 - if your project is not migrated yet, make sure you pin the version of nativescript-vue and nativescript-vue-template-compiler to ~2.7.1 - otherwise you may end up with a newer version that causes a "blank screen" due to missing exports in older @nativescript/core versions.

2.8.0 (2020-08-31)

Features

nativescript-vue -

Published by rigor789 about 4 years ago

2.7.1 (2020-07-23)

Bug Fixes

  • double navigation is certain conditions (6a710aa)
nativescript-vue -

Published by rigor789 over 4 years ago

2.7.0 (2020-07-15)

Bug Fixes

  • ios: fix white screen on start (#672) (d2899a1)
  • types: fix TS2702 can't use static class members (eada027)
  • types: navigateBack options types (#679) (53695ed)

Features

nativescript-vue -

Published by rigor789 over 4 years ago

2.6.4 (2020-05-25)

Bug Fixes

  • remove debugger statements (6d0f954)
nativescript-vue -

Published by rigor789 over 4 years ago

2.6.3 (2020-05-23)

Bug Fixes

  • wrong child order (929b11a)
  • formatted-string: wrong atIndex condition (8939f7c)
  • trace: print actual nativeView's with their id (b2adf9c)
  • trace: print tagName without the native prefix (3b22260)
nativescript-vue -

Published by rigor789 over 4 years ago

2.6.2 (2020-05-20)

Bug Fixes

  • correctly handle child reordering (a735ee5), closes #608
  • properly remove Spans from FormattedString (80fa127)
  • v-if/v-else-if/v-else and v-model updating the wrong model (5314f17), closes #644 #569 #402 #405

Performance Improvements

nativescript-vue -

Published by rigor789 over 4 years ago

2.6.1 (2020-04-24)

Bug Fixes

nativescript-vue -

Published by rigor789 over 4 years ago

2.6.0 (2020-04-13)

Bug Fixes

  • remove console.log override (#627) (226e108)
  • renderer: check for undefined before trimming style (#622) (9ce38a0)

Features

  • resolve navigation page on navigation event (#624) (787d1a5)
  • logging: log node creation errors (#625) (b502fc8)
  • registry: allow overriding elements (#626) (e37788c)

BREAKING CHANGES

  • Our console.log override using util-inspect has been removed due to performance concerns. If you were using Vue.config.debug = true to get colorful console.logs, this will no longer work. We have documented how you may add this feature back to your app if you relied on this behavior. See CONSOLE_LOG_OVERRIDE.md for details.
nativescript-vue -

Published by rigor789 over 4 years ago

2.5.1 (2020-03-28)

Features

  • modals: allow passing in the target for opening the modal (#614) (31bc425), closes #612
nativescript-vue -

Published by rigor789 over 4 years ago

2.5.0 (2020-02-28)

Bug Fixes

  • TabStripItem: bind attributes and listeners (#601) (aa42642)
  • nativeView accessor when $el is undefined. fixes #595 (#602) (6df1351)

Features

  • types: export ListView ItemEventData with item (3ba4941)