Releases: przucidlo/electron-broker
Releases · przucidlo/electron-broker
v4.1.1
4.1.1 (2024-07-06)
Bug Fixes
- core: lack of promise as return in MessagePattern (8ad7772)
v4.1.0
4.1.0 (2024-07-06)
Features
- core: strongly typed message pattern (#14) (b3a8514)
v4.0.1
4.0.1 (2024-07-03)
Bug Fixes
- workflow: lack of build step in release workflow (2c0730d)
v4.0.0
4.0.0 (2024-07-03)
Features
- core: strongly typed messages (a49eee2)
BREAKING CHANGES
- core: BrokerClient API has changed to enforce strongly typed messages.
v3.1.1
3.1.1 (2024-07-03)
Bug Fixes
- workflow: lack of build step in release workflow (1258962)
v3.1.0
3.1.0 (2024-07-02)
Bug Fixes
Features
3.0.0
- Change library name from
electron-dove
to electron-broker
.
- Rename
DoveClient
class to BrokerClient
.
- Rename
Dove
class to Broker
.
- Rework building of
Broker
object to use BrokerFactory
class.
- Support context isolation.
- Create template
preload.js
file.
- Forward exceptions from controllers to client origin.
- Each instance of
BrokerClient
is now unique.
- Rewrite
child_process
IPC wrapper.
- Expose method to set custom timeout value in
BrokerClient
instance.
- Create library documentation.
- Clear and improve existing codebase.
- Rename
invokeForBrokerEvent()
method to invokeRaw()
in BrokerClient
class.
- Rename
getClient()
method to createClient()
in Broker
class.
2.4.0
- Setting default scope of IoC container to
Singleton
, no longer corrupts controller responses.
- Enforce internal middleware to be always bound in
Request
scope.
- Controllers are now always bound in
Singleton
scope.
2.3.0
- Extending controllers with
@MessagePattern()
decorators is now correctly parsed by ControllersHandlersMetadataReader
.
2.2.0
- Added
@Controller(pattern: string)
decorator, which appends every message-pattern in decorated controller, with it's pattern.