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.
Last updated
This chapter provides a set of guidelines to help you migrate from Marble.js version 3.x to the latest 4.x version.
Last updated
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 .
Legacy EffectFactory
builder is no longer available. Please user r
builder instead.
Legacy switchToProtocol
operator is no longer available.
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:
❌ Old:
✅ New:
Version 4.x removes deprecated legacy connection$
attribute. Please use HTTP upgrade
event for checking connections.
❌ Old:
✅ New:
❌ Old:
✅ New: