Migration from version 3.x
This chapter provides a set of guidelines to help you migrate from Marble.js version 3.x to the latest 4.x version.
The newest iteration comes with some API breaking change, but don’t worry, these are not game-changers, but rather convenient improvements that open the doors to new future possibilities. During the development process, the goal was to notify and discuss incoming changes within the community as early as possible. You can check here what has changed since the latest version.
For more detailed info about more low-level improvements, please visit release candidate changelog.
@marblejs/core
Legacy EffectFactory
builder is no longer available. Please user r
builder instead.
Legacy switchToProtocol
operator is no longer available.
@marblejs/http
Moved HTTP-related API's from @marblejs/core
to new package @marblejs/http
, eg.
❌ Old (example):
✅ New (example):
HttpOutputEffect - Improved interface
❌ Old:
✅ New:
HttpErrorEffect - Improved interface
❌ Old:
✅ New:
@marblejs/messaging
❌ Old:
✅ New:
@marblejs/websockets
Version 4.x removes deprecated legacy connection$
attribute. Please use HTTP upgrade
event for checking connections.
@marblejs-contrib/middleware-joi
❌ Old:
✅ New:
@marblejs-contrib/middleware-jwt
❌ Old:
✅ New:
Last updated