Skip to content

Releases: ionic-team/trapeze

v6.0.1

15 Nov 16:14

Choose a tag to compare

Added extensive logging to help with debugging operations (#121). Use --verbose when running npx trapeze to enable logging.

v6.0.0

11 Nov 18:03

Choose a tag to compare

Added support for inserting variable assignments into gradle files #120.

Breaking changes

The signature for the insertProperties method on GradleFile has been modified to add a third argument before the exact argument. The new signature is

async insertProperties(pathObject: any, toInject: any[], type: AndroidGradleInjectType = AndroidGradleInjectType.Method, exact: boolean = false): Promise<void>

v5.0.9

08 Nov 23:00

Choose a tag to compare

Added support for copying files from URLs for the ios and android copy operations, and the android res operation.

v5.0.8

07 Nov 22:42

Choose a tag to compare

Fixed an issue for @trapezedev/configure on iOS where null would be set instead of an integer if setBuild is passed a null value. #118

5.0.7

14 Oct 13:49

Choose a tag to compare

Tweaked variable substitution to fix usage in strings with periods. #112

v5.0.0

27 Jul 17:44

Choose a tag to compare

Support for JSON values in variables

In #90 support for JSON values for variables was added. This makes it possible to supply complex values as variables. These values then recursively resolve any variables they depend on, enabling support for using variables inside of other variables:

vars:
    KEYCHAIN_GROUPS:
      default:
        [
          '$BUNDLE_ID',
          'com.blah',
        ]

platforms:
  ios:
    targets:
      App:
        entitlements:
          - keychain-access-groups: $KEYCHAIN_GROUPS

Breaking Changes

There are two improvements that required breaking changes:

XML and Manifest Operations

To resolve the merge issues in #87, when using merge in XML, a matching root node must now be supplied.

Before:

 android:
    xml:
      - file: app/src/main/res/values/strings.xml
        target: resources
        merge: |
          <string name="app_name">$PRODUCT_NAME</string>
          <string name="title_activity_main">$PRODUCT_NAME</string>
          <string name="package_name">$ANDROID_PACKAGE_NAME</string>
          <string name="custom_url_scheme">$ANDROID_PACKAGE_NAME</string>

In 5.0.0:

 android:
    xml:
      - file: app/src/main/res/values/strings.xml
        target: /resources
        merge: |
          <resources>
            <string name="app_name">$PRODUCT_NAME</string>
            <string name="title_activity_main">$PRODUCT_NAME</string>
            <string name="package_name">$ANDROID_PACKAGE_NAME</string>
            <string name="custom_url_scheme">$ANDROID_PACKAGE_NAME</string>
          </resources>

This will then merge the two matching trees. This also resolves the merge issues in #87

Multiple Operations

An improvement was made to operations to have them apply to one open instance of a file, meaning multiple operations will now transform a single file multiple times. Previously, the file was loaded from disk for each operation which meant multiple operations would not stack. This fixed other issues specified in #87.

Thus, if your operations expected to run against a fresh copy of the file each time, this may break your configuration.

4.0.1

19 Jul 19:33

Choose a tag to compare

Added exact flag to Gradle operations to support targeting exact nodes per #69.

4.0.0

19 Jul 19:33

Choose a tag to compare

Refactoring and added new --diff feature to see changes to each file before committing.

Breaking Changes

@trapezedev/configure

The infoPlist operation for ios was removed. This was just an alias for plist Use the plist operation

@trapezedev/project

JsonFile.getData() was renamed to getDocument() to be more consistent with the other file wrappers.

VFS types have been made more concrete and data stored in the VFS must now be either a string or extend VFSStorable.

3.0.6

03 Jul 15:12

Choose a tag to compare

What's Changed

  • Added new XML operations to iOS and updated docs"

  • Updated dependencies []:

Full Changelog: https://github.com/ionic-team/trapeze/compare/@capacitor/[email protected]...@trapezedev/[email protected]

Trapeze 3.0.2

14 Jun 19:00

Choose a tag to compare

First release under Trapeze

@trapezedev/project

3.0.2

Patch Changes

  • Added support for generating Info.plist if not exists

  • Updated dependencies []:

3.0.1

Patch Changes

3.0.0

Major Changes

  • Releasing first version of Trapeze

@trapezedev/configure

3.0.2

Patch Changes

  • Added support for generating Info.plist if not exists

  • Updated dependencies []:

3.0.1

Patch Changes

3.0.0

Major Changes

  • Releasing first version of Trapeze