fix(deps): update dependency @adobe/aio-commerce-lib-app to v2 - #359
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Tessl Plugin Lint✅ ✅ All 1 plugin(s) clean. Updated by |
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.10.1→^2.0.0Release Notes
adobe/aio-commerce-sdk (@adobe/aio-commerce-lib-app)
v2.0.0Compare Source
Major Changes
#637
9d9888fThanks @mariam21arauj! - Remove the deprecatedPUT /configaction endpoint. It overwrote every value for a scope and could not express partial updates or unset a key, which caused data loss when only a subset of keys was meant to change.Migration: Switch calls from
PUT /configtoPATCH /config. The request shape is unchanged ({ scopeId, config: [{ name, value }] }), but send only the entries you want to change;PATCHleaves unmentioned keys untouched and unsets a key when its value isnull.Minor Changes
#626
f012ae0Thanks @vinayrao2000! - Add Admin UI upgrade reconciliation. The Admin UI step now diffs the installed baseline against the target configuration component-by-component, registering newly added components, removing dropped ones, and unregistering the extension when Admin UI is removed entirely. Registration requires at least one declared component, and ids withinmassActions/viewButtonsarrays must be unique.#627
e5cbdf1Thanks @obarcelonap! - Apply webhook configuration changes during upgrades when fields, conditions, headers, or other mutable settings change without changing webhook identity.#659
a1a7ee2Thanks @jcuerdo! - Reconcile custom installation steps during app upgrades, so previously installed steps are not re-run and removed steps are not uninstalled until the app itself is fully uninstalled.#634
f8f13c1Thanks @vinayrao2000! - Reconcile configuration changes to existing Admin UI components during an upgrade. The Admin UI step now detects when a component present in both the installed and target versions has a changed configuration (ACL, labels, descriptions, notifications) and refreshes the extension to apply it, instead of leaving the change unapplied.#625
e0852d1Thanks @oshmyheliuk! - Reconcile Commerce event subscription configuration changes during an app upgrade. When an event that exists in both the installed baseline and the target config changes its fields, rules, priority or HIPAA flag, the upgrade now updates the live subscription instead of leaving it stale.#624
4b42092Thanks @oshmyheliuk! - Add upgradeplan/applysupport to the eventing domain. During an app upgrade the Commerce and external event leaves now diff the installed baseline against the target config and converge Adobe I/O Events and Commerce state: adding and removing providers, event metadata, registrations and Commerce subscriptions, and updating registrations whose event set changed.#613
f688120Thanks @iivvaannxx! - Generalize the workflow engine to lifecycle-neutral names (LifecycleContext,WorkflowData,WorkflowError,WorkflowRunStateand its variants,WorkflowStateMetadata,WorkflowHooks) so it can be reused across lifecycle modules. The previous installation-branded type names remain exported as@deprecatedaliases.#623
93730ebThanks @iivvaannxx! - Add post-deployment upgrade planning with automatic execution that waits for the result and a manual plan-only mode.POST /installationis now a desired-state endpoint: with no baseline it installs, otherwise it upgrades towardmetadata.versionand reports the chosenoperationin the response.#621
03c4cc3Thanks @obarcelonap! - Add upgrade planning support for webhook additions and removals: the webhooks step now diffs the baseline snapshot against the target configuration to add newly configured webhooks and remove ones dropped from it.#650
f3ea3a6Thanks @jcuerdo! - Fix uninstallation failing for apps with adynamicListBusiness Configuration field, caused by revalidating the recorded installation snapshot against a schema that required functions a JSON-serialized snapshot can never have. Uninstallation now validates the recorded config withvalidateRecordedCommerceAppConfig, which accepts adynamicListfield withoutoptions/default.#614
01d5013Thanks @iivvaannxx! - UseisConfiguredwhen defining lifecycle steps to identify whether their domain is present in app configuration. The deprecatedwhenpredicate remains supported for compatibility.#653
c04983dThanks @oshmyheliuk! - Add support for declaring custom ACL resources underadminUi.acl(flat leaves or one-level groups) that are injected into the Commerce User Roles tree for app-checked permissions. An app declaring only ACL resources does not register acommerce/backend-ui/2extension point (inapp.config.yaml,install.yaml, or generated ext.config), since ACL resources reach Commerce through the app-config payload.Patch Changes
#653
c04983dThanks @oshmyheliuk! - Reject Admin UI ids that would map to the same Commerce permission. Conflicting grid column, mass action, order view button, or custom ACL resource ids now fail config validation instead of silently overwriting one another.#636
186d245Thanks @oshmyheliuk! - Fix the Admin UI SDK installation step timing out by raising the Commerce HTTP client timeout to 2 minutes, matching the events and webhooks installation steps. Apply the same timeout to the Commerce scope sync endpoint.#680
1612b38Thanks @iivvaannxx! - Ensure required Admin UI web source support files are present, including an environment-aware Babel configuration that produces compatible production JSX.#639
74b9a3bThanks @iivvaannxx! - Ensure CLI commands find the project root before generating files or updating project configuration.#642
79dcda0Thanks @iivvaannxx! - Install Node.js type definitions when initializing TypeScript projects.#627
e5cbdf1Thanks @obarcelonap! - Reject webhook configurations with unsupported webhook types or HTTP methods.#643
d13ca97Thanks @iivvaannxx! - Prune app-owned Commerce webhooks that are absent from the target configuration during upgrades.#672
4bed4e3Thanks @vinayrao2000! - Fix upgrades failing with a 404 "no such event metadata" error when a duplicate event provider exists in the org.Updated dependencies [
f012ae0,c04983d,e0852d1,c04983d,1837df1,f3ea3a6]:v1.11.0Compare Source
Minor Changes
f3ea3a6Thanks @jcuerdo! - Fix uninstallation failing for apps with adynamicListBusiness Configuration field, caused by revalidating the recorded installation snapshot against a schema that required functions a JSON-serialized snapshot can never have. Uninstallation now validates the recorded config withvalidateRecordedCommerceAppConfig, which accepts adynamicListfield withoutoptions/default.Patch Changes
f3ea3a6]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.