Releases: marblejs/marble
Releases · marblejs/marble
v4.1.0
Features
- @marblejs/messaging: When calling
ackMessage/nackMesagein case of redis strategy, the listener doesn't return an errored event, instead only a respective error log, so that the related effect can run without any disturbance - all - added support for
"fp-ts": "~2.13.0"and"io-ts": "2.2.19"
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v4.0.0-rc.3
What's new?
- @marblejs/messaging - new aliases for deprecations:
MessagingClient,EventBus,EventBusClient
Deprecations
- @marblejs/messaging -
messagingClient,eventBus,eventBusClient
Fixes
- @marblejs/core - incorrect warning message about eventBus & eventBusClient binding order #373
v4.0.0-rc.2
What's new
- TypeScript v4.4 support
v4.0.0-rc.1
Before you'll read
- New, up to date marblejs.com documentation for Marble.js v4 will land just before official release.
What's new?
- support for
rxjs v7.1 - support for
typescript v4.3 - corrected
io-tsdeprecation warnings - @marblejs/http - moved @marblejs/core HTTP-related protocol API's to separate @marblejs/http module (see related RFC)
- @marblejs/http - introduced environment config provider
- @marblejs/http -
HttpOutputEffect's andHttpErrorEffect's are resolved eagerly during initial bootstrap - @marblejs/http - optimized request/response processing
Breaking changes
- @marblejs/core - removed deprecated
EffectFactory - @marblejs/core - removed legacy
switchToProtocoloperator - @marblejs/http - INTERNAL - changed
X-Testing-Request-Idmetadata header name from toX-Request-Metadata-Id - @marblejs/http - INTERNAL - changed
MARBLE_TESTING_METADATA_ONenv variable name toMARBLE_HTTP_REQUEST_METADATA - @marblejs/http - all HTTP headers are lower cased (normalized) unless
MARBLE_HTTP_HEADERS_NORMALIZATIONenvironment variable is set to false (resolves: #311) - @marblejs/http -
Content-Typeheader is automatically guessed and provided only when it is not directly provided by the user (same in case ofContent-Lengthheader) - @marblejs/http -
send/handleResponsefunction are evaluated lazily, which means that they will send the HTTP response only when the stream is subscribed - @marblejs/http -
HttpResponse.sendmethod returnsObservable<boolean>instead of anObservable<never> - @marblejs/http -
HttpOutputEffectinterface change - @marblejs/http -
HttpErrorEffectinterface change
HTTP effect I/O flow after the change (see: #357):
1. HttpMiddlewareEffect
Observable<req> -> Observable<req>
2. HttpEffect
Observable<req> -> Observable<{ status, body, headers }>
Observable<req> -> Observable<{ status, body, headers, response }>
3. HttpOutputEffect ## 👇
Observable<{ status, body, headers, request }> -> Observable<{ status, body, headers, request }>
4. HttpErrorEffect ## 👇
Observable<{ error, request }> -> Observable<{ status, body, headers, request }>
- @marblejs/websockets - removed deprecated server
connection$attribute - @marblejs/websockets - lazy evaluation of
emitEventandbroadcastEventfunctions - @marblejs/middleware-joi, @marblejs/middleware-jwt - migrated packages to marblejs/contrib repository
v3.5.1
v3.5.0
Improved
- @marblejs/core - User is able to insert
undefined | nullvalue inside of a collection of dependencies to register.
