#Breaking Changes 0.2.1 -> 0.3.x composio core

6 messages · Page 1 of 1 (latest)

frosty jackal
#

What is the best way for us to identify breaking changes in a minor version upgrade? Attempted an upgrade and got initialization failures

cerulean locust
frosty jackal
#

ECS containers are crashing and it appears it was due to a newly introduced bunlding issue

#

My investigation so far:

The issue was in @composio/core/dist/chunk-SfbczIpV.mjs:

var __require = /* @PURE */ createRequire(import.meta.url);

This is in the ESM chunk file from @composio/core. When esbuild bundles this ESM file into CJS,
it converts import.meta to an empty object {}, causing import.meta.url to be undefined.

cerulean locust
#

Thanks for flagging this! I've escalated it to the eng team and I'll keep you updated.

frosty jackal
#

I think It will work if I bundle as external, trying that now. Appreciate the quick repsonse here though