Announcing the Release of NativeScript 3.4
Announcing the Release of NativeScript 3.4
Check out the improvements that have arrived with NativeScript version 3.4, like Angular 5 support, new templates and plugins, and more!
Join the DZone community and get the full member experience.Join For Free
Here at NativeScript we're excited to announce one last release before the holiday season: NativeScript 3.4!
The 3.4 release is live on npm, so let's take a look at what's new:
Debugging With Chrome Dev Tools for iOS by Default
The Chrome Dev Tools are now the default debugging tool when debugging for iOS. Prior to today, you needed to provide a
--chrome option to the
debug command when you wanted to use the Chrome Dev Tools for iOS debugging. Now,
tns debug ios launches the Chrome Dev Tools automatically, exactly like
tns debug android does when working on Android applications.
debug command has a new
--inspector option, which you can use to launch the Safari-based inspector that used to be the default debugger. You can check each debugger's supported features in the Chrome DevTools Debugging documentation. Currently "Timeline and CPU Profiling" is only in the Safari Inspector, and "Elements" debugging is in the Chrome Dev Tools.
Android Studio Enablement
With this release, NativeScript users are now able to use Android Studio to work with their Android projects. This unlocks functionality like debugging, profiling, and working with resources in a way that is more familiar to native developers. A lot of this native tooling was impossible to use in previous versions of NativeScript.
All you need to do is open your app's
platforms/android folder in Android Studio to get started.
Angular 5 Support
Along with NativeScript 3.4, we also released a new version of the nativescript-angular plugin with official support for Angular 5. The update includes support for Angular's new
AnimationBuilder APIs, as well as some iOS-specific startup time improvements. You can learn more about these changes in the nativescript-angular changelog.
Updated Webpack Support
We're also happy to announce a new version (0.9.0) of the nativescript-dev-webpack plugin with a number of new features. There's a lot to cover with this one, so stay tuned for a detailed blog post tomorrow on the new features and how to update your apps.
NativeScript Marketplace Updates
We're not done yet! The NativeScript Marketplace also has a number of new features that are already live:
The Marketplace now hosts app templates in addition to plugins. The templates are great for use as starting points for your next app.
Do you spend your nights wondering which NativeScript plugins have recently been updated or verified? Well no more! Recently verified and updated plugins now show on the Marketplace homepage:
You can now view all plugin authors along with their contributions to the NativeScript plugins Ecosystem. There are two new sections on this page: "Top Authors", where we recognize top contributors, and "New Authors", where we recognize authors who have recently submitted a new plugin.
Do you want to make your plugin verified? This is how you do it.
NativeScript UI Updates
NativeScript Playground Improvements
We're still not done! The NativeScript Playground also has a number of new features!
The NativeScript getting started tutorials are now available in the Playground. New users can take advantage of this new way to onboard themselves with NativeScript:
Manage Project Files
One of the most requested features by the community is now live - the ability to add new files to your project and build more complex examples:
Build UI With All NativeScript Components
All UI components from the NativeScript core modules and NativeScript UI are now available in the components panel. Use these components to get creative and build the UI you want by dragging and dropping.
Display Connected Devices
You can now see information about the devices that are connected to your Playground session - including the device model, OS version, Preview app version, NativeScript runtime version, and core modules versions.
Add npm Package
The feature we're most excited about is the ability to add npm packages to apps running in NativeScript Playground!
Note: NativeScript plugins that depend on native SDKs such as CocoaPods and Android SDKs do not work in the Playground environment.
Anything Else in 3.4?
We've got so much to say about this release that these last few features only get honorable mentions:
"Thank You" to the Community!
Finally, a huge THANKS to all of you folks that helped to make NativeScript better with your PRs. We appreciate your hard work and involvement!
So what are you waiting for? Go ahead and
npm install -g nativescript to update and get started using 3.4!
If you run into issues feel free to reach out on the NativeScript community forum.
We hope you enjoy all the new things in the NativeScript world, and you can look forward to a bunch more in 2018. For now, happy holidays from all of us on the NativeScript team!
Published at DZone with permission of Alexander Vakrilov , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.