electron-broker

Simple and seamless messaging for Electron with built-in inter-process communication protocol.

MIT License

Downloads
21
Stars
7

Bot releases are hidden (Show)

electron-broker - 3.0.0 Latest Release

Published by przucidlo over 2 years ago

  • 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.
electron-broker - 2.4.0

Published by przucidlo about 3 years ago

  • 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.
electron-broker - 2.3.0

Published by przucidlo about 3 years ago

  • Extending controllers with @MessagePattern() decorators is now correctly parsed by ControllersHandlersMetadataReader.
electron-broker - 2.2.0

Published by przucidlo about 3 years ago

  • Added @Controller(pattern: string) decorator, which appends every message-pattern in decorated controller, with it's pattern.
electron-broker -

Published by przucidlo over 3 years ago

  • Fixed IsoDateTransformerMiddleware trying to convert a string, which part of contained a valid date string.
  • Fixed NodeJS warning about exceeding max listeners number.
electron-broker - v2.1.3

Published by przucidlo over 3 years ago

  • Added IsoDateTransformerMiddleware
  • Added TransformableDoveClient
electron-broker - 2.0.2

Published by przucidlo over 3 years ago

  • Fixed critical bug that made controller lose references to it's variables.
electron-broker - 2.0.0

Published by przucidlo over 3 years ago

  • Use decorators to access the message data in controller methods.
  • Rebuild and expose middleware feature to high-level API.
  • Support middleware in DoveClient class.
  • Built-in class-transformer support, to convert controller params to classes provided by user.
  • Write unit-tests for core classes of the library.
  • Various refractors/improvements to the already existing codebase.
electron-broker - 1.0.3

Published by przucidlo over 3 years ago