Releases: ionic-team/trapeze
v6.0.1
v6.0.0
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
Added support for copying files from URLs for the ios and android copy operations, and the android res operation.
v5.0.8
5.0.7
v5.0.0
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_GROUPSBreaking 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
4.0.0
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
What's Changed
-
Added new XML operations to iOS and updated docs"
-
Updated dependencies []:
- @trapezedev/[email protected]
Full Changelog: https://github.com/ionic-team/trapeze/compare/@capacitor/[email protected]...@trapezedev/[email protected]
Trapeze 3.0.2
First release under Trapeze
@trapezedev/project
3.0.2
Patch Changes
-
Added support for generating Info.plist if not exists
-
Updated dependencies []:
- @trapezedev/[email protected]
3.0.1
Patch Changes
- Updated dependencies []:
- @trapezedev/[email protected]
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 []:
- @trapezedev/[email protected]
3.0.1
Patch Changes
-
Change binary name
-
Updated dependencies []:
- @trapezedev/[email protected]
3.0.0
Major Changes
- Releasing first version of Trapeze