What's Changed
Multi-event provider support
This release introduces support for multi-event providers. This enables multiple App Builder based Commerce extensions to connect to the same Adobe Commerce instance using isolated event providers. This isolation:
- Prevents one application from overriding the event provider registered by another application.
- Ensures that event subscriptions created by one application do not interfere with those created by another.
OpenTelemetry support
- Integrate observability into App Builder actions.
- Configure Grafana and New Relic with App Builder runtime actions.
Breaking Changes
- The
onboardscript will no longer set the created event provider as thedefault; it will add it as anon-defaultevent provider in the commerce instance. - The script now updates only the
merchant_id,environment_id, andworkspace_configurationin the commerce instance. - It also updates the
.envfile withBACKOFFICE_PROVIDER_IDandCOMMERCE_PROVIDER_ID. - The
EVENT_PREFIXenvironment variable needs to be updated.
Migration Guide
Users upgrading from v2.x should use the commerce-eventing 1.12.1 or higher
1. Code Changes
- Added APIs to
addandgetevent providers from the commerce instance inscripts/lib/commerce-eventing-api-client.js. - Enhanced the
updateConfigurationAPI to update onlymerchant_id,environment_id, andworkspace_configurationin the commerce instance. Previously, it also updatedprovider_idandinstance_id, which is no longer supported. - Updated
scripts/lib/event-subscribe.jsto includeEVENT_PREFIXandCOMMERCE_PROVIDER_IDfor each event during subscription.
2. Testing and Validation
-
Event Testing
- Test event generation and reception
- Verify all subscribed events are being received
- Check event payload structure matches expectations
-
API Testing
- Test all API endpoints used by your integration
- Verify response formats and error handling
- Test rate limiting and retry mechanisms
3. Rollback Plan
-
Backup Configuration
- Keep a backup of your current
.envfile - Save current API client configurations
- Keep a backup of your current
-
Rollback Steps
- Revert to previous
.envconfiguration - Revert to previous version
v2.0.0of integration-starter-kit
- Revert to previous
Support
If you encounter any issues during the migration:
- Check the documentation
- Review the updated
README.mdfor new configuration options. - Open an issue in the GitHub repository with detailed information about the problem
For detailed migration instructions, please refer to the updated documentation in the README.md file.
Full Changelog: v2.0.0...v3.0.0