Migrating between v0
These are all the breaking changes in v0 and how to migrate between them
Breaking Changes 0.39.0
Functions Parameters
All TypeScript functions now use object parameters instead of regular parameters. This change affects channels and client generators across all protocols.
Before:
// Publishing
await jetStreamPublishToSendUserSignedup(message, parameters, js);
await publishToSendUserSignedup(message, parameters, connection);
// Subscribing
const subscriber = await jetStreamPullSubscribeToReceiveUserSignedup(
onDataCallback,
parameters,
js,
config
);
After:
// Publishing
await jetStreamPublishToSendUserSignedup({
message,
parameters,
js
});
await publishToSendUserSignedup({
message,
parameters,
connection
});
// Subscribing
const subscriber = await jetStreamPullSubscribeToReceiveUserSignedup({
onDataCallback,
parameters,
js,
config
});
Breaking Changes 0.55.1
We upgraded the AsyncAPI Modelina dependency to the next version so for the next few versions it will contain breaking changes as we continue to improve the tool.