All notable changes to this project will be documented in this file. If a contribution does not have a mention next to it, @michalkvasnicak did it.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v1.0.0-alpha.24 - 2021-12-21
v1.0.0-alpha.23 - 2021-03-14
v1.0.0-alpha.22 - 2021-03-14
- GraphQL peer dependency update, see #138
v1.0.0-alpha.21 - 2021-01-22
- Fixed missing support for
connection_terminate
operation by @kunhuangau, see #132
v1.0.0-alpha.20 - 2021-01-18
- Added new
DynamoDBRangeSubscriptionManager
that allow to create multiple subscriptions for same event and connection by @clmntrss, see #127
v1.0.0-alpha.19 - 2020-11-13
- Added new options
getSubscriptionNameFromEvent
,getSubscriptionNameFromConnection
to Subscription managers to extract event name from event and connection by [@seanchambo], see #123
v1.0.0-alpha.18 - 2020-09-18
- Fixed DynamoDB subscriptions pagination by leveraging
LastEvaluatedKey
to determine the end of result, see #119
v1.0.0-alpha.17 - 2020-09-10
v1.0.0-alpha.16 - 2020-08-24
- Added
connectionEndpoint
option tosubscriptionOptions
so it's possible to use API Gateway Custom Domains by @n1te1337, see #113
v1.0.0-alpha.15 - 2020-08-17
- Added basic validation for constructor parameters, see #109
v1.0.0-alpha.14 - 2020-08-11
- Added support for
onWebsocketConnect
which enables to use result from Authorizers like Cognito in your GraphQL schema context by @jcane86, see #103
v1.0.0-alpha.13 - 2020-07-23
- Fixed
graphql-ws
protocol check, see #101.
v1.0.0-alpha.12 - 2020-07-21
- Remove
multiValueHeader
support from API Gateway v2 event, see #98.
v1.0.0-alpha.11 - 2020-07-21
- Returning only single
graphql-ws
value inSec-WebSocket-Protocol
if header containsgraphql-ws
, see #97.
v1.0.0-alpha.10 - 2020-07-21
- Added support for
Sec-WebSocket-Protocol
headers. Now the value is returned back to client, see #94.
v1.0.0-alpha.9 - 2020-07-06
- Added support for filtering out expired DynamoDB connections, subscriptions and events, see #92.
v1.0.0-alpha.8 - 2020-07-06
- Added ttl support for dynamodb connections, subscriptions and subscriptionOperations , see #90.
v1.0.0-alpha.7 - 2020-06-19
- Added SubscriptionManager and ConnectionManager that use Redis for data storage, see #85.
v1.0.0-alpha.6 - 2020-06-09
- Added support for
graphql-ws
WebSocket protocol soSec-WebSocket-Protocol
actually returns this value (fixes GraphQL playground and addresses #79. @lepilepi see #84
v1.0.0-alpha.5 - 2020-05-26
- Added optional
serializeEventPayload
option toPubSub
, that can be used to disable serialization of event payload toJSON
. By default it's set to true, see #78
v1.0.0-alpha.4 - 2020-02-14
- Added lambda event and context to onConnect function payload to enable adding custom authorizer logic to the connection flow. @nenti see #70
v1.0.0-alpha.3 - 2020-02-09
- Fixed missing connection when in serverless-offline environment. Added retry logic to wait for connection to be hydrated by @nenti see #68
v1.0.0-alpha.2 - 2020-01-08
- Fixed missing connection GraphQL context data in Event processor by @AlpacaGoesCrazy, see #63 - 2020-01-02
- Added getters for connection and subscription managers to Server by @AlpacaGoesCrazy, see #63
v1.0.0-alpha.1 - 2020-01-02
- Limit the number of request items sent to DynamoDB when cleaning up stale connections by @alvinypyim, see #61.
v1.0.0-alpha.0 - 2019-12-27
- added
Server
as base implementation to be used instead ofcreateHttpHandler, createWsHandler etc
, see #59- uses
apollo-server-lambda
as underlying implementation for HTTP handling - removed legacy protocol support, please use only Client from subscriptions-transport-ws.
- uses
v0.13.0 - 2019-12-12
- Added TTL support to
DynamoDBEventStore
(see #53)
v0.12.3 - 2019-12-04
- Do not allow to publish an event with empty name (see #52)
v0.12.2 - 2019-12-04
- Return proper response on websocket disconnect (see #51)
v0.12.1 - 2019-11-27
- Serialize DynamoDB event's payload to JSON by @seanchambo (see #46)
v0.12.0 - 2019-11-22
- Provide connection context to context builder function by @AlpacaGoesCrazy (see #43)
v0.11.0 - 2019-11-17
- Wait for connection to be initialized (see #40)
v0.10.0 - 2019-11-08
- Added support for context in event processors (see #36)
v0.9.1 - 2019-11-03
- Normalize headers to lower case (see #32)
v0.9.0 - 2019-11-01
- Support for server lifecycle methods by @AlpacaGoesCrazy (see #29)
v0.8.1 - 2019-10-07
v0.8.0 - 2019-10-03
- Apollo Subscription Transport support by @AlpacaGoesCrazy (see #27)
v0.7.2 - 2019-09-29
- Fixed empty result for DynamoDB subscriptions scan by @AlpacaGoesCrazy (see #26)
v0.7.1 - 2019-09-17
v0.7.0 - 2019-08-07
- Added AWS Lambda's context to GraphQL context (see #23)
v0.6.0 - 2019-06-14
- Added a way to unsubscribe client from specific subscription (see #18)
v0.5.0 - 2019-06-12
- Use incremental id generation for operations (see #17)
v0.4.0 - 2019-06-11
- Replaced
ulid
byuuid
and added support for custom id generators
v0.3.1 - 2019-06-04
- Add support for context creator (see #14)
v0.3.0 - 2019-06-04
- Added support for custom context and added an AWS Lambda event to resolvers (see #13)
v0.2.1 - 2019-05-29
v0.2.0 - 2019-05-29
- Added
serverless.yml
deployment instead of cloudformation template by @guerrerocarlos (see #8) - Added support for
validationRules
- unregistering all subscriptions on connection deletion
v0.1.0 - 2019-01-13
v0.13.0 - 2019-12-12
- Updated
aws-lamba-graphql
version to0.13.0
v0.12.3 - 2019-12-04
- Updated
aws-lamba-graphql
version to0.12.3
v0.12.2 - 2019-12-04
- Updated
aws-lamba-graphql
version to0.12.2
v0.12.1 - 2019-11-27
- Updated
aws-lamba-graphql
version to0.12.1
v0.12.0 - 2019-11-22
- Updated
aws-lamba-graphql
version to0.12.0
v0.11.0 - 2019-11-17
- Updated
aws-lamba-graphql
version to0.11.0
v0.10.0 - 2019-11-08
- Updated
aws-lamba-graphql
version to0.10.0
v0.9.1 - 2019-11-03
- Updated
aws-lamba-graphql
version to0.9.1
v0.9.0 - 2019-11-01
- Updated
aws-lamba-graphql
version to0.9.0
v0.8.1 - 2019-10-07
- Updated
aws-lamba-graphql
version to0.8.1
v0.8.0 - 2019-10-03
- Updated
aws-lamba-graphql
version to0.8.0
v0.7.2 - 2019-09-29
- Updated
aws-lamba-graphql
version to0.7.2
v0.7.1 - 2019-09-17
- Updated
aws-lamba-graphql
version to0.7.1
v0.7.0 - 2019-08-07
- Updated
aws-lamba-graphql
version to0.7.0
v0.6.0 - 2019-06-14
- Updated
aws-lamba-graphql
version to0.6.0
v0.5.0 - 2019-06-12
- Updated
aws-lamba-graphql
version to0.5.0
v0.4.0 - 2019-06-11
- Updated
aws-lamba-graphql
version to0.4.0
v0.3.1 - 2019-06-04
- Updated
aws-lamba-graphql
version to0.3.1
v0.3.0 - 2019-06-04
- Updated
aws-lamba-graphql
version to0.3.0
v0.2.1 - 2019-05-29
- Updated
aws-lamba-graphql
version to0.2.1
v0.2.0 - 2019-05-29
- Updated
aws-lamba-graphql
version to0.2.0