3.1.2 (2023-08-14)
- update license year (a6b34b0)
3.1.1 (2022-11-28)
- well-known-types: create non-optional versions of wkt (154190e)
3.1.0 (2022-11-28)
- protoc-gen-ng: properties are always generated in optional interfaces (53f0969)
- protoc-gen-ng: returned some methods in MessageMessageField (361fdba)
3.0.4 (2022-11-19)
- add missing license information in package.json files (53c5e5c)
3.0.3 (2022-09-02)
- protoc-gen-ng: properly generate ID of nested messages (d6ee435)
3.0.2 (2022-07-31)
- improbable-eng-grpc-web-client: allow @improbable-eng/grpc-web versions greater than 0.13.0 (26acec6)
3.0.1 (2022-03-24)
- grpc-handler: typo in switch-case for
clientStream
(7c0cd96)
3.0.0 (2022-03-01)
- protoc-gen-ng: properly generate AsObject and asProtobufJSON for messages nested into maps (c1a86a6)
- worker: use grpc-web RpcError instead of Error (88c0e01)
- the library requires at least angular@12. For earlier versions please use the previous major version
2.4.1 (2021-11-10)
- protoc-gen-ng: add a @ts-nocheck comment to the generated files (55ead7b)
2.4.0 (2021-10-12)
- protoc-gen-ng: old typescript compability (cd288cf)
- protoc-gen-ng: add support for custom WKT (8a64bde)
2.3.0 (2021-06-13)
- protoc-gen-ng: add support for proto3 optional bytes and string (d2367a6)
2.2.0 (2021-06-02)
- protoc-gen-ng: add support for proto3 optional primitives (6184c5a)
2.1.0 (2021-04-09)
- well-known-types: fix constructor parameter type (75f1155)
- protoc-gen-ng: use google-protobuf plugin data source instead of third-party proto-plugin package (7b327b8)
2.1.0 (2021-04-09)
- well-known-types: fix constructor parameter type (75f1155)
- protoc-gen-ng: use google-protobuf plugin data source instead of third-party proto-plugin package (7b327b8)
2.0.4 (2021-01-20)
- protoc-gen-ng: fix test of map with int64 key (eb3310b)
- protoc-gen-ng: handle map int64/uin64 key as string (53b3616)
2.0.3 (2020-12-07)
- fix GrpcMessageClass constructor (ad0c695)
2.0.2 (2020-12-07)
- common: fix uint8ArrayToBase64 implementation (a36104d)
- protoc-gen-ng: use
AsObject
type as constructor argument instead of a message type, closes #37 (834811f) oneof
binary types which are strings are now handled as expected. (f4d5401)
2.0.1 (2020-12-01)
- grpc-web-client: properly create errors metadata (462a5e4)
- improbable-eng-grpc-web-client: use proper name to publish the package (29f2af4)
2.0.0 (2020-11-26)
- core: add missing request metadata for logger errors (32ea435)
- grpc-web-client: use MethodDescriptor instead of deprecated MethodInfo (3ef868e)
- grpc-worker: use MethodDescriptor instead of deprecated MethodInfo (a4d5444)
- protoc-gen-ng: do not re-export js modules and care of duplicate dependencies (99c592b)
- protoc-gen-ng: properly initialize and cast to object the maps with message as value, close #29 (a6d4568)
- common: add withCredentials flag to GrpcClientSettings, close #30 (e4645f8)
- core: add advanced logger settings, shortening the logger service and its corresponding types names; the logger is enabled by default (7bbf215)
- core: add client settings to the logger output, close #21 (dfe019a)
- protoc-gen-ng: add configuration file support (7d753b8)
- protoc-gen-ng: add support for jstype field option (dae4e6a)
- add @improbable-eng/grpc-web client implementation (4d0a2ff)
- add child / lazy / feature modules support, close #18 (ec2e7aa)
- add method
getSettings
to each client's implementation (ec1995d) - add protobuf JSON mapping implementation and full support of google.protobuf.Any (718edf6)
- move all well-known types to a separate package @ngx-grpc/well-known-types, close #15 (c8360ea)
- reduce service client clutter by moving all raw (former $eventStream) methods under a $raw property (f16d58c)
- remove GrpcClientSettings in favour of having the settings defined by each client implementation (259e658)
- update all dependencies (cdf7d82)
- use class GrpcMetadata instead of metadata hashmap (d081377)
- $eventStream methods are moved to $raw property
- metadata is not a hashmap anymore, use GrpcMetadata instead. GrpcStatusEvent properties code and details are renamed to statusCode and statusMessage correspondingly
- The way to configure the project has been changed. Use corresponding modules for core, logger and client implementations. All services are injected with
providedIn: 'any'
instead of 'root'. If you want to change this behaviour use corresponding generator setting - protoc-gen-ng:
worker=true
compiler argument is removed; the same configuration can be achieved within the config file - GrpcClientSettings is removed, use the specific client settings instead; e.g. GrpcWebClientSettings or GrpcWorkerClientSettings for corresponding clients
- core: GRPC_CONSOLE_LOGGER_ENABLED is removed in favour of more general GRPC_LOGGER_SETTINGS. The logger is renamed to GrpcLoggerInterceptor. By default, the logger is enabled (before it was disabled by default).
- all well-known types are served with separate package that needs to be installed with
npm i @ngx-grpc/well-known-types
. If you want to keep the old behaviour, use generateWellKnownTypes plugin option - protoc-gen-ng: messages re-exports are no longer available, use direct imports instead
1.0.4 (2020-10-09)
- protoc-gen-ng: properly handle explicit [packed=false] fields (5abae75)
1.0.3 (2020-10-05)
1.0.2 (2020-09-17)
1.0.1 (2020-08-05)
- protoc-gen-ng: add support of strict typescript compiler options: noUnusedParameters, noImplicitReturns, noImplicitThis and noUnusedLocals, closes #9 (a90af3f)
1.0.0 (2020-08-02)
- core: handle non-multi interceptors configuration (e3fa1bf)
- protoc-gen-ng: properly clone maps in initialization and toObject functions (3b0844b)
- core: add types documentation (896ea98)
- rename serialize / deserialize methods to be compliant wit h corresponding methods in standard protobuf message (161dd38)
- common: add types documentation (1f162f0)
- upgrade to angular 10 (0236ca7)
- grpc-web-client: add types documentation (ca8ae41)
- protoc-gen-ng: add AsObject interface for each message type and use it as toObject() return type, closes #5 (3afeec4)
- protoc-gen-ng: extend generated types documentation (6d74d52)
- protoc-gen-ng: move from https://github.com/ngx-grpc/protoc-gen-ng (814db17)
- protoc-gen-ng: preserve enum values case, closes #11 (cea22a0)
- worker: add types documentation (c8f4049)
- worker-client: add types documentation (8b7a10d)
- toBinary is now non-static method and is called serializeBinary; fromBinary, fromBinaryReader and toBinaryWriter are renamed to deserializeBinary, deserializeBinaryFromReader and serializeBinaryToWriter correspondingly
- protoc-gen-ng: generated enum values now fully reflect the way they are defined in proto file (the same name is used, unless it is not a reserved JS word)
- protoc-gen-ng: protoc-gen-ng is tracked with the rest of the packages ecosystem and will follow the same versioning system
0.4.3 (2020-06-24)
- grpc-web-client: handle breaking changes of [email protected] (1d931ce)
- worker: handle breaking changes of [email protected] (db9d21d)
0.4.2 (2020-06-09)
- core: add GrpcConsoleLoggerInterceptor (55c78ab)
0.4.1 (2020-06-08)
- fix grpc-web-client not being published (e445a20)
0.4.0 (2020-06-08)
- grpc-web-client: separate grpc-web-client into a separate library; add global configuration support (bfc5fc1)
- worker: add global configuration support (dbe2921)
- grpc-web-client: GrpcStandardClientFactory and GrpcStandardClient are renamed to GrpcWebClientFactory and GrpcWebClient correspondingly and moved to @ngx-grpc/grpc-web-client
0.3.1 (2020-02-18)
- worker: add missing zero-status for unary events (1208f8c)
0.3.0 (2020-02-17)
- worker: use proper Error object from grpc-web for error responses (a58be0e)
- common: add grpc events (803ac13)
- common: change GrpcClient method definitions to always emit GrpcEvent (c8237a1)
- core: add rxjs operators for better development experience with event streams (ed9c100)
- core: change GrpcHandler, GrpcStandardClient and GrpcInterceptor to use new response type GrpcEvent (e454301)
- worker-client: rework GrpcWorkerClient and gateway to emit GrpcEvent (aa7ef7e)
- core: all existing interceptors should be adapted to use event streams
- common: all GrpcClient implementations should be adapted to implement new response type
0.2.0 (2020-02-02)
- common: create package @ngx-grpc/common (ebfb4a1)
- core: add GRPC_CLIENT_FACTORY to define which client implementation should be used (72d7b46)
- worker: create packate @ngx-grpc/worker (a2b4a21)
- worker-client: create packate @ngx-grpc/worker-client (0cf896b)
- core: GRPC_CLIENT_FACTORY must be provided. GrpcClient is renamed to GrpcStandardClient
- common: GrpcClient, GrpcClientSettings, GrpcCallType, GrpcRequest, GrpcMessageClass, GrpcMessage and RecursivePartial are not anymore available in @ngx-grpc/core
0.1.5 (2020-01-13)
- remove restriction of RecursivePartial for maps (97c29fe)
0.1.4 (2020-01-13)
- add RecursivePartial type (20ede2b)
0.1.3 (2020-01-10)
- properly export grpc-message (f27724a)
0.1.2 (2020-01-10)
- add grpc message definition (335f2a7)
0.1.1 (2019-12-18)
- pass error handling to the result observable in serverStream (f3921ea)