Version 9: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
== Major New Features ==
== Major New Features ==
# BootStrap 5 support added
# BootStrap 5 support added
# VoltBuilder integration improved.


== Upgrading ==
== Upgrading ==
Line 20: Line 21:
===IDE===
===IDE===
====General====
====General====
# AppStudio icon updated to a more modern circle style.
# AppStudio icon updated to a modern squared circle.
# Dark Mode Support: AppStudio can now make Dark Mode apps. AppStudio does not support Dark Mode fully itself: there are still parts of the underlying wxWidgets library that its developer's need to work on.
# Filename checking improved. Properly supports spaces, underbars, dashes and periods.
# Opens to HelloWorld the first time AppStudio is started.
# Check for updates on startup.
# [[Menu_Options#Tools|Tools Menu]]: New option to open project in GitHub website.
# Tools Menu: New option to open project in GitHub Desktop app.
# New version check on startup.
# Landscape enabled in the Layout option of the browser's Print dialog.
# [[Menu_Options#Run|Run menu]]: If Local Path is not defined, Deploy Local can now start the app after Deploy.
# Run menu: Deploy option now uses the deploy method selected in the picker.


====Code Window====
====Code Window====
# More keyboard shortcuts now work on MacOS
# [[Code Window|eslint]] messages now show just the first 10,000 characters (fixes an error)
# Pasted code with smart quotes no longer crashes Code Window.


====Design Screen====
====Design Screen====
# Hang which could be caused by adding and deleting a jQM control fixed.
# Right clicking on a control will refer to the control, not its parent.
# Changes to Project CSS are updated in the Design Screen right away.


====Preferences====
====Preferences====
# A download directory has been added to PhoneGap Preferences.
# Option to specify deploy location removed from Deploy Preferences.


====Project Explorer====
====Project Explorer====
# Filenames with spaces can be dragged and dropped.
# Filenames now display their actual names.


====Project Properties====
====Project Properties====
# Background: Set this to inherit to enable dark mode.
# PWA: New 'disable PWA' property turns off creation of PWA.
====Status Bar====
# Updates more frequently


===Runtime===
===Runtime===
# Async/Await support added.
# "apple-mobile-web-app-capable" no longer included in head.
# "jquery 3.3.1 SNYK-JS-JQUERY-174006 assets/www/nsb/library/jquery3.js" message from Google fixed.


===Deploy Methods===
===Deploy Methods===


====Electron====
====Electron====
# 'Make Desktop App using Electron' added to Run menu
# 'Make Desktop App for Distribution' added to Run menu
# Electron build now uses [https://www.electron.build/ Electron-build] library.
# ElectronWeather sample updated to use electron-build.
# Electron Wiki article updated to show how to use electron-build manually.


====PhoneGap====
====PhoneGap====
# New PhoneGap icon property added. Should be 1024x1024 png.
# PhoneGap dropped - no longer in business.
# New PhoneGap splash property added. Should be 2732x2732 png.
# If icon or splash are the wrong size or missing, a 'Missing source image' message is shown.
# All required icons are now automatically generated.
# All required splash screens are now automatically generated.
# Config.xml is automatically updated with the correct paths for icons and splashes.
# 'Generate Icons for PhoneGap' removed from Tools menu.
# Errors in config.xml now throw an appropriate message.
# Build counter property added. Increments on each build and updates config.xml.
# CSP is now required for all PhoneGap apps (Google requirement).
# PhoneGap samples now give a warning when not run with PhoneGap.
# PhoneGap Preferences: Download directory added.
# Get Native Build Status: After PhoneGap app is generated, it is automatically downloaded.
# A reasonable filename is now generated for download PhoneGap apps.
# PWA code is no longer included in PhoneGap apps.
# QR Code is no longer displayed if no PhoneGap account.
# PhoneGap Status exits if new project loaded.


====PWA====
===Frameworks===
# Errors in manifest.json now throw an appropriate message.
# Add project property to turn off PWA code.
# Better message given when starting PWA with file://. Must be started from a server.
# 'scope' line added to manifest.json for iOS.


===Frameworks===
Bootstrap 5 has been released. The developers continue to support Bootstrap 4 as well: both are supported by AppStudio.


Another year has passed without updates to jQuery Mobile. That's 5 years now. While the controls still work, for the most part, they throw error messages in Chrome for using insecure libraries. We recommend [[Converting_jQuery_Mobile_to_Bootstrap_4|converting to Bootstrap 4]].
Bootstrap 3 is no longer supported. We recommend [[Converting_jQuery_Mobile_to_Bootstrap_4|converting to Bootstrap 4] or Bootstrap 5.


Bootstrap 3 has been replaced by Bootstrap 4. We recommend switching to the new version.
jQuery Mobile is no longer supported. That's 5 years now. While the controls still work, for the most part, they throw error messages in Chrome for using insecure libraries. We recommend [[Converting_jQuery_Mobile_to_Bootstrap_4|converting to Bootstrap 4]] or Bootstrap 5.


====AppStudio====
====AppStudio====
====Bootstrap 5====
# Listgroup: Using button style with appearances now works properly.
# Textarea: Use rows property, not height, to set size of control.
# Updated to Bootstrap 4.4.1
# Datatables controls updated to current version.


====Bootstrap 4====
====Bootstrap 4====
Line 109: Line 63:
# Updated to Bootstrap 4.4.1
# Updated to Bootstrap 4.4.1
# Datatables controls updated to current version.
# Datatables controls updated to current version.
====Bootstrap 3 (Obsolete)====
# Now marked as Obsolete in the Toolbox and Samples.


====Common====
====Common====
Line 123: Line 74:


=== BASIC ===
=== BASIC ===
# Async and Await are translated properly.
# False syntax error on Catch fixed.


=== Samples ===
=== Samples ===
Line 132: Line 81:


=== Internals ===
=== Internals ===
# Python updated from 2.7 to 3.7.
# wxPython updated to Version 4 ("Phoenix")
# All references to hfunc.js removed (obsolete)
# jQuery updated to 3.4.1
# Customer and level set in .env (affects dev environment only)
# Code quality improved by linting
# Windows installer: now built by InnoSetup 6.0.3
# Windows installer: appearance updated


=== Breaking Changes ===
=== Breaking Changes ===
# [https://support.microsoft.com/en-us/help/15056/windows-32-64-bit-faq 64-bit Windows] is required. 32-bit Windows will not work any more: some of the underlying libraries AppStudio uses are not available in 32 bit.
# AppStudio now installs to c:/Program Files, not c:/Program Files (x86). You may need to [[Solutions_to_Common_Problems#How_can_I_do_a_complete_uninstall.3F|do a complete uninstall]] for this to happen.
# MacOS 10.13 or later is required.
# The PhoneGap config.xml property needs to be updated. Fill in values for PhoneGap Icon (1024) and Splash (2732), then delete these lines from config.xml. AppStudio now generates this content automatically:<br>* Sections with &lt;icon lines<br>* Sections with &lt;splash lines<br>* &lt;gap:splash src='{splashscreen}'/><br>Or, start fresh by copying the config.xml sample in shown [[Submitting_to_the_iOS_App_Store#Config.xml|here]] and adding any other changes you have made. Don't forget to delete all the old icons and splashscreens which are no longer needed.

Revision as of 20:18, 25 May 2023

The version is not yet released - it is in bata.

Major New Features

  1. BootStrap 5 support added
  2. VoltBuilder integration improved.

Upgrading

If you have AppStudio 8 or older and don't have a subscription, you will need to get the upgrade to use these new features. You can order it here.

If you like would to try it first, download from the 'Check for Updates' screen in the Help menu. You'll get a demo copy.

Version 9.0.0

Here's a list of what is new.

If you own a previous version of AppStudio and do not have a subscription, you need to buy the upgrade to use Version 9. You can do this from within the app or from our order form.

Until you have bought the upgrade, you can use AppStudio 9 in Demo mode for up to 30 days. Once you buy, your copy will convert automatically to the full version.

IDE

General

  1. AppStudio icon updated to a modern squared circle.

Code Window

Design Screen

Preferences

Project Explorer

Project Properties

Runtime

Deploy Methods

Electron

PhoneGap

  1. PhoneGap dropped - no longer in business.

Frameworks

Bootstrap 5 has been released. The developers continue to support Bootstrap 4 as well: both are supported by AppStudio.

Bootstrap 3 is no longer supported. We recommend [[Converting_jQuery_Mobile_to_Bootstrap_4|converting to Bootstrap 4] or Bootstrap 5.

jQuery Mobile is no longer supported. That's 5 years now. While the controls still work, for the most part, they throw error messages in Chrome for using insecure libraries. We recommend converting to Bootstrap 4 or Bootstrap 5.

AppStudio

Bootstrap 5

  1. Listgroup: Using button style with appearances now works properly.
  2. Textarea: Use rows property, not height, to set size of control.
  3. Updated to Bootstrap 4.4.1
  4. Datatables controls updated to current version.

Bootstrap 4

  1. Listgroup: Using button style with appearances now works properly.
  2. Textarea: Use rows property, not height, to set size of control.
  3. Updated to Bootstrap 4.4.1
  4. Datatables controls updated to current version.

Common

  1. Forms: iScroll no longer used - use native scrolling instead.
  2. QRCode: setValue added to autocomplete in Code Window

jQuery Mobile (Obsolete)

  1. Now marked as Obsolete in the Toolbox and Samples.

jqWidgets

BASIC

Samples

  1. BootStrap 5 samples added.

Documentation

Internals

Breaking Changes