Version 9: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
The version is not yet released - it is in bata.
== Major New Features ==
== Major New Features ==
# BootStrap 5 support added
# [[AI Coding Assistant]] to help you with your code
# [[Bootstrap 5]] support added
# [[Using_SQLite_with_Chrome_119|SQL WASM]] support added
# VoltBuilder integration improved.
# [http://wiki.appstudio.dev Online Wiki] - server reconfigured for faster response


== Upgrading ==
== Upgrading ==
Line 9: Line 11:


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.
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.4 ==
# BS5: new [[Carousel (Bootstrap)|Carousel]] control
# BS5: [[Input (Bootstrap 5)|Input]].files now works properly
# BS5: [https://getbootstrap.com/docs/5.3/getting-started/introduction/ Bootstrap 5] updated to 5.3.3
# Code Window: Selecting a item in the Functions panel now goes to that function.
# Docs: The offline wiki has been updated with the latest changes.
# SQLite: [[SqlOpenDatabase]] can now save to localStorage
# Libraries: [[Using SQLite with Chrome 119|SQLite WASM]] updated to 3.45.3
# Libraries: Shake library removed (no longer maintained by author)
# Samples: new [https://gemini.google.com/?hl=en Google Gemini AI] sample
# Samples: new [[Carousel (Bootstrap)|Carousel]] sample
== Version 9.0.3 ==
# BS4, BS5: Checkbox: inline property no longer adds a BR
# BS5: Textarea now supports .text and .value
# Build: Action scripts updated.
# Build: Upgraded signing certificates for Windows
# ChatGPT: Context size increase 4x. Larger code modules can be handled.
# ChatGPT: error messages improved.
# ChatGPT: Version updated to gpt-3.5-turbo-1106
# Electron: package-lockfile now added by default
# Libraries: multiple updated
# Samples: Unneeded voltbuilder folders deleted.
# [[Snackbar (Bootstrap 4, 5)|Snackbar]]: Duration is now user controllable.
# Stripe: User's name now used instead of defaulting to 'Stripe'.
# Toolbox: SQL WASM description improved.
# VoltBuilder: do not include SQL WASM module when using - use Cordova plugin.
# VoltBuilder: Log file name now includes date and time of build.
# Voltbuilder: Missing download folder now handled properly.
# VoltBuilder: update trial messages
== Version 9.0.2 ==
# BS5: Input-item: enable style property
# Design Screen: Formatting problems fixed with BS4 Scroller and others. (Windows)
# SQLite: To use SQLite in your app, select '''SQLite (WASM)''' in [[Toolbox|Libraries]].
# SQLite: SQLite.js and SQLite.wasm are no longer included for VoltBuilder. Use plugins instead.
== Version 9.0.1 ==
# Demo: Users of older versions of AppStudio can now try AppStudio 9 for 10 days.
# Controls: BS5 Input uses size instead of font attributes for sizing.
# Controls: BS5 TextArea now shows headers and footers.
# Copyright: Updated to 2024
# Electron: Updated to version 28 (samples too)
# Installer: proper icon shows in the Windows toolbar
# Runtime: Navigo warning removed by using Version 7.1.2
# Samples: Compass sample now asks for permission from user (iOS)


== Version 9.0.0 ==
== Version 9.0.0 ==
Line 16: Line 65:
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.
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.
Until you have bought the upgrade, you can use AppStudio 9 in Demo mode for up to 10 days. Once you buy, your copy will convert automatically to the full version.


===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.
# Registration and validation now uses new backend stem.
# 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
# New [[AI Coding Assistant]] icon added.
# [[Code Window|eslint]] messages now show just the first 10,000 characters (fixes an error)
# Code formatting updated to use Prettier instead of jsBeautifier
# Pasted code with smart quotes no longer crashes Code Window.
# Switching between tabs is now faster.
# Format Code is now in sync with Check Syntax.
# Format Code now uses the latest JS best practices.
# Changed indent preference takes effect immediately.
# Using the Functions window to navigate code has been improved.
# [[Properties_Window#Project_Properties|eslintRules]] can be used to fine tune syntax checking.


====Design Screen====
====Design Screen====
# Hang which could be caused by adding and deleting a jQM control fixed.
# Stability of dragging controls improved.
# Right clicking on a control will refer to the control, not its parent.
# Avoid adding control to container it already is in.
# Changes to Project CSS are updated in the Design Screen right away.
# Fix underlining and reporting of syntax errors in code.
# Design Screen: Add warning for mixed frameworks (like BS4 and BS5 in same project)


====Preferences====
====ToolBox====
# A download directory has been added to PhoneGap Preferences.
# SQLite WASM added
# Option to specify deploy location removed from Deploy Preferences.
# Bootstrap 5 controls added


====Project Explorer====
===Runtime===
# Filenames with spaces can be dragged and dropped.
# Change delays in startup to improve import of SQLite databases.
# Filenames now display their actual names.
# SQLite error messages improved.
# Option to use [[Using SQLite with Chrome 119|SQLite WASM]] added to libraries.


====Project Properties====
===Deploy Methods===
# Background: Set this to inherit to enable dark mode.
# PWA: New 'disable PWA' property turns off creation of PWA.


====Status Bar====
====Local Deploy====
# Updates more frequently
# Deploy: fix error on Windows local deploy when using Hebrew.


===Runtime===
====VoltBuilder and Cordova====
# Async/Await support added.
# Cordova: remove option from Run menu.
# "apple-mobile-web-app-capable" no longer included in head.
# VoltBuilder: Rename "VoltBuilder and Cordova" to "Cordova"
# "jquery 3.3.1 SNYK-JS-JQUERY-174006 assets/www/nsb/library/jquery3.js" message from Google fixed.
# VoltBuilder: Remove "Cordova command" property.
# VoltBuilder: Add "Release" and "Platform" properties.
# VoltBuilder: properties renamed to be consistent with VoltBuilder docs.
# VoltBuilder: Use utf-8 encoding to handle extended characters in Arabic, Hebrew, etc.
# VoltBuilder: Improve handling of special characters in "description" property.
# VoltBuilder: Update "config.xml" property template for latest requirements.
# VoltBuilder Status: Work gracefully if job not submitted yet.


===Deploy Methods===
====Electron====
# Packages listed in package.json are now deployed with your project.
# isElectron set earlier in startup - fixes possible runtime error
# Updated to latest version.


====Electron====
====ToolBox====
# 'Make Desktop App using Electron' added to Run menu
# [[Using_SQLite_with_Chrome_119|SQLite WASM]] added
# '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. 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====
====Bootstrap 5====
# Complete new framework. Read about [[Bootstrap 5]].


====Bootstrap 4====
====Bootstrap 4====
# Listgroup: Using button style with appearances now works properly.
# Select: name and required properties are now implemented.
# Textarea: Use rows property, not height, to set size of control.
# New themes: morph, quartz, vapor, yeti and zephyr.
# Updated to Bootstrap 4.4.1
# Toast - Add z-index property
# Datatables controls updated to current version.
 
====Bootstrap 3 (Obsolete)====
# Now marked as Obsolete in the Toolbox and Samples.


====Common====
====Common====
Line 119: Line 146:
====jQuery Mobile (Obsolete)====
====jQuery Mobile (Obsolete)====
# Now marked as Obsolete in the Toolbox and Samples.
# Now marked as Obsolete in the Toolbox and Samples.
====jqWidgets====
=== BASIC ===
# Async and Await are translated properly.
# False syntax error on Catch fixed.


=== Samples ===
=== Samples ===
# BootStrap 5 samples added.
# BootStrap 5 samples added.
# SQLSample1, 2 and 3 updated to use SQLite WASM
# Add missing descriptions to some samples.
# Fix JS Northwind sample.
# HeaderBodyFooter: Add comment to app describing what it is for.
# Splitview: Add comment to app describing what it is for.
# PictureBox - fix image not showing
# StudentsLocalStorage - Add a message if record not found


=== Documentation ===
=== Installer ===
# Windows installer now shows 9.0.0.0
# Windows Installer: use new icon


=== Internals ===
=== Internals ===
# Python updated from 2.7 to 3.7.
# jQuery updated to 3.7
# wxPython updated to Version 4 ("Phoenix")
# Python updated to 3.8.10.
# All references to hfunc.js removed (obsolete)
# Node updated to 20
# jQuery updated to 3.4.1
# Many, many internal libraries updated.
# Customer and level set in .env (affects dev environment only)
# PDFMake updated to fix unsafe-eval issue.
# 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.
# Calling Cordova to build your project locally is no longer supported. Use VoltBuilder instead - it's much easier and is mult-platform. (If you need to build locally, you can use the files in the VoltBuilder folder which is created on a deploy to VoltBuilder)
# 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.

Latest revision as of 07:17, 2 May 2024

Major New Features

  1. AI Coding Assistant to help you with your code
  2. Bootstrap 5 support added
  3. SQL WASM support added
  4. VoltBuilder integration improved.
  5. Online Wiki - server reconfigured for faster response

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.4

  1. BS5: new Carousel control
  2. BS5: Input.files now works properly
  3. BS5: Bootstrap 5 updated to 5.3.3
  4. Code Window: Selecting a item in the Functions panel now goes to that function.
  5. Docs: The offline wiki has been updated with the latest changes.
  6. SQLite: SqlOpenDatabase can now save to localStorage
  7. Libraries: SQLite WASM updated to 3.45.3
  8. Libraries: Shake library removed (no longer maintained by author)
  9. Samples: new Google Gemini AI sample
  10. Samples: new Carousel sample

Version 9.0.3

  1. BS4, BS5: Checkbox: inline property no longer adds a BR
  2. BS5: Textarea now supports .text and .value
  3. Build: Action scripts updated.
  4. Build: Upgraded signing certificates for Windows
  5. ChatGPT: Context size increase 4x. Larger code modules can be handled.
  6. ChatGPT: error messages improved.
  7. ChatGPT: Version updated to gpt-3.5-turbo-1106
  8. Electron: package-lockfile now added by default
  9. Libraries: multiple updated
  10. Samples: Unneeded voltbuilder folders deleted.
  11. Snackbar: Duration is now user controllable.
  12. Stripe: User's name now used instead of defaulting to 'Stripe'.
  13. Toolbox: SQL WASM description improved.
  14. VoltBuilder: do not include SQL WASM module when using - use Cordova plugin.
  15. VoltBuilder: Log file name now includes date and time of build.
  16. Voltbuilder: Missing download folder now handled properly.
  17. VoltBuilder: update trial messages

Version 9.0.2

  1. BS5: Input-item: enable style property
  2. Design Screen: Formatting problems fixed with BS4 Scroller and others. (Windows)
  3. SQLite: To use SQLite in your app, select SQLite (WASM) in Libraries.
  4. SQLite: SQLite.js and SQLite.wasm are no longer included for VoltBuilder. Use plugins instead.

Version 9.0.1

  1. Demo: Users of older versions of AppStudio can now try AppStudio 9 for 10 days.
  2. Controls: BS5 Input uses size instead of font attributes for sizing.
  3. Controls: BS5 TextArea now shows headers and footers.
  4. Copyright: Updated to 2024
  5. Electron: Updated to version 28 (samples too)
  6. Installer: proper icon shows in the Windows toolbar
  7. Runtime: Navigo warning removed by using Version 7.1.2
  8. Samples: Compass sample now asks for permission from user (iOS)

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 10 days. Once you buy, your copy will convert automatically to the full version.

IDE

General

  1. AppStudio icon updated to a modern squared circle.
  2. Registration and validation now uses new backend stem.

Code Window

  1. New AI Coding Assistant icon added.
  2. Code formatting updated to use Prettier instead of jsBeautifier
  3. Switching between tabs is now faster.
  4. Format Code is now in sync with Check Syntax.
  5. Format Code now uses the latest JS best practices.
  6. Changed indent preference takes effect immediately.
  7. Using the Functions window to navigate code has been improved.
  8. eslintRules can be used to fine tune syntax checking.

Design Screen

  1. Stability of dragging controls improved.
  2. Avoid adding control to container it already is in.
  3. Fix underlining and reporting of syntax errors in code.
  4. Design Screen: Add warning for mixed frameworks (like BS4 and BS5 in same project)

ToolBox

  1. SQLite WASM added
  2. Bootstrap 5 controls added

Runtime

  1. Change delays in startup to improve import of SQLite databases.
  2. SQLite error messages improved.
  3. Option to use SQLite WASM added to libraries.

Deploy Methods

Local Deploy

  1. Deploy: fix error on Windows local deploy when using Hebrew.

VoltBuilder and Cordova

  1. Cordova: remove option from Run menu.
  2. VoltBuilder: Rename "VoltBuilder and Cordova" to "Cordova"
  3. VoltBuilder: Remove "Cordova command" property.
  4. VoltBuilder: Add "Release" and "Platform" properties.
  5. VoltBuilder: properties renamed to be consistent with VoltBuilder docs.
  6. VoltBuilder: Use utf-8 encoding to handle extended characters in Arabic, Hebrew, etc.
  7. VoltBuilder: Improve handling of special characters in "description" property.
  8. VoltBuilder: Update "config.xml" property template for latest requirements.
  9. VoltBuilder Status: Work gracefully if job not submitted yet.

Electron

  1. Packages listed in package.json are now deployed with your project.
  2. isElectron set earlier in startup - fixes possible runtime error
  3. Updated to latest version.

ToolBox

  1. SQLite WASM added

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. 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.

Bootstrap 5

  1. Complete new framework. Read about Bootstrap 5.

Bootstrap 4

  1. Select: name and required properties are now implemented.
  2. New themes: morph, quartz, vapor, yeti and zephyr.
  3. Toast - Add z-index property

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.

Samples

  1. BootStrap 5 samples added.
  2. SQLSample1, 2 and 3 updated to use SQLite WASM
  3. Add missing descriptions to some samples.
  4. Fix JS Northwind sample.
  5. HeaderBodyFooter: Add comment to app describing what it is for.
  6. Splitview: Add comment to app describing what it is for.
  7. PictureBox - fix image not showing
  8. StudentsLocalStorage - Add a message if record not found

Installer

  1. Windows installer now shows 9.0.0.0
  2. Windows Installer: use new icon

Internals

  1. jQuery updated to 3.7
  2. Python updated to 3.8.10.
  3. Node updated to 20
  4. Many, many internal libraries updated.
  5. PDFMake updated to fix unsafe-eval issue.

Breaking Changes

  1. Calling Cordova to build your project locally is no longer supported. Use VoltBuilder instead - it's much easier and is mult-platform. (If you need to build locally, you can use the files in the VoltBuilder folder which is created on a deploy to VoltBuilder)