Skip to content

Conversation

@rojoangel
Copy link
Collaborator

@rojoangel rojoangel commented Nov 14, 2025

Description

This PR upgrades the cloudevents dependency from version ^8.0.0 to ^10.0.0 (actual version change: 8.0.310.0.0).

Key changes:

  • Updated cloudevents package in package.json and package-lock.json
  • Node.js engine requirements changed: >=16 <=22 → >=20 <=24
  • Dropped support for Node.js 16 & 18
  • Added support for Node.js 24

Related Issue

AGENTCOM-75

Motivation and Context

This change updates the cloudevents library to the latest stable version to:

  • Keep dependencies current with the latest bug fixes and improvements
  • Ensure compatibility with Node.js 22+ (required by both the project and cloudevents 10.x)
  • Maintain security best practices by staying on supported versions

How Has This Been Tested?

Testing environment:

  • Node.js version: v24.11.1
  • Platform: Adobe I/O Runtime

Tests performed:

  1. Unit & Integration Tests: All tests passed
  2. Deployment Test: Successfully deployed to Adobe Developer Console and verified runtime functionality

Impact assessment:

  • The cloudevents library is only used in actions/ingestion/webhook/index.js

Screenshots (if appropriate):

Running npm install with node 24

Before the change - fails 🛑
image

After the change - succeeds ✅
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Note: While this is technically a breaking change (drops Node.js 16 & 18 support), it does not impact this project as we require Node.js >=22.0.0.

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@rojoangel rojoangel requested a review from a team as a code owner November 14, 2025 16:49
@rojoangel rojoangel changed the title Update cloudevents dependency from 8.0.3 to 10.0.0 AGENTCOM-75 - Update cloudevents dependency from 8.0.3 to 10.0.0 Nov 14, 2025
@rojoangel rojoangel merged commit 32c54ac into main Nov 17, 2025
3 checks passed
@rojoangel rojoangel deleted the update-cloudevents-dep branch November 17, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants