Skip to content

10.0.0

Compare
Choose a tag to compare
@shazron shazron released this 04 Oct 15:02
· 133 commits to master since this release

What's Changed

  • feat: ACNA-1650 - Template Registry Api integration by @shazron in #569
  • fix: ACNA-1812 - aio app init --no-login --extension dx/excshell/1 should not error by @shazron in #584
  • fix: ACNA-1814 - aio app init --standalone-app should not ask for overwrite input by @shazron in #585
  • fix: ACNA-1807 - remove deprecated flags in the commands by @shazron in #586
  • fix: ACNA-1817 - error when trying to deploy an app created with aio app init --no-login by @shazron in #588
  • fix: init standalone-app if no templates are selected by @MichaelGoberling in #594
  • fix: ACNA-1810 - update Template Registry API usage for OR category clauses by @shazron in #589
  • fix: disable templates that use services unavailable to the user's org by @MichaelGoberling in #593
  • fix: ACNA-1822 - aio app add action fails with console error without local .aio file by @shazron in #595
  • chore: bump checkbox table version by @MichaelGoberling in #596

Full Changelog: 9.2.0...10.0.0

Release Notes

This major version release includes:

  1. Template Registry integration of some of the commands
  2. Removal of deprecated flags (these already have other flag equivalents, see the --help of a command)

Adobe App Builder Template Registry Integration

These commands now connect to the Adobe App Builder Template Registry:

  1. aio app init
  2. aio app add extension
  3. aio app add action
  4. aio app add web-assets

Removed Flags

  1. aio app init

    • --no-extensions
  2. aio app delete extension

    • --skip-install
  3. aio app add action

    • --skip-install
  4. aio app add extension

    • --skip-install
  5. aio app add web-assets

    • --skip-install
  6. aio app build

    • --skip-static
    • --skip-web-assets
    • --skip-actions
  7. aio app deploy

    • --skip-build
    • --skip-deploy
    • --skip-static
    • --skip-web-assets
    • --skip-actions
  8. aio app run

    • --skip-actions
  9. aio app undeploy

    • --skip-static
    • --skip-web-assets
    • --skip-actions

Added Flags

  1. aio app init

    • --standalone-app
    • --template

Migration from an Older App

  1. If you encounter this Parcel issue:
error Browser scripts cannot have imports or exports.

Make sure the <script> tag in your index.html file has the attribute type="module"

  1. If you encounter a Babel issue, make sure your .babelrc file only contains this:
{
  "plugins": [
    "@babel/plugin-transform-react-jsx"
  ]
}

Known Issues

  1. There are some quirks with the cli (which has been upgraded to oclif v2) if a command has a multiple:true flag, like the aio app init command. The workaround is to put all argument(s) before the flag(s).

    1. oclif@v2: argument not read, if after a flag with multiple: true
    2. oclif@v2: if a command has a flag with multiple:true it will not error out on a non-existent flag

How to Use the Template Chooser

  • Use the arrow keys to move up and down the list, which by default will list 5 templates per page.
  • To select a template, use the spacebar to toggle a selection.
  • If a row has a - (dash) instead of a selection circle, that means the template is disabled -- this is because the template requires APIs that your Org does not support. The color of the text in the row is also dimmed.
  • The template table dynamically resizes to your terminal width. If it doesn't fit properly for some reason, resize your terminal wider, then press up or down on the arrow keys to refresh the table.
  • If you do not select any templates, it will create a standalone app (equivalent to the --standalone-app flag)

Create an Adobe App Builder Template

See https://github.com/adobe/create-aio-app-template

Submit your Template to the Adobe App Builder Template Registry

See https://github.com/adobe/aio-template-submission