mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
7.4 KiB
7.4 KiB
Change Log
All notable changes to this project will be documented in this file. File syntax. This project adheres to Semantic Versioning.
[3.0.0]
- New API, only providing a
getUser()
function on the server. Docs for setting up Apollo Server 2.0 andapollo-boost
.
[2.0.0]
- Basic support for Apollo Client 2.0 with
createApolloClient
, and drop support for Apollo Client 1.0
[1.0.0] - 2017-07-27
BREAKING CHANGE
- This package doesn't depend anymore on
graphql-server-express
butapollo-server-express
. See this blog post 🚀
Added
- Add support for an asynchronous context #105
[0.9.1] - 2017-05-27
Changed
- Fix #101: return an empty object from
getUserContext
when nobody is authenticated. - Fixes lint issue on
package.js
(from previous version) - Automatic update of
.version
from latest Meteor version.
[0.9.0] - 2017-05-27
Changed
- Allow
context
option to be a function that accepts context with the current user, and returns final context.
[0.8.0] - 2017-05-16
Changed
- Remove NPM warnings: just make it fail early if you don't have dependencies installed.
[0.7.2] - 2017-03-30
Changed
- Invite the package's users to install
apollo-client@1.0.0
!
[0.7.1] - 2017-03-30
Changed
- Update dependencies:
apollo-client@1.0.0-rc.9
&graphql-tools@0.11.0
[0.7.0] - 2017-03-22
Changed
- No more
dataIdFromObject
pre-configuration:apollo-client
does it for us. - Fix accounts client-side: the login token is handled per request and not per client, by looking for it directly in the middleware.
- Fix options server-side (issue #90).
Removed
- Breaking: Subscriptions configuration are not any more handled in this package: this package is intended to provide easy configuration of an Apollo client and its network interface to communicate with a GraphQL Express Server. A new package is going to be created to configure GraphQL subscriptions in a Meteor context.
[0.6.1] - 2017-03-18
Changed
- Depends on latest
apollo-client
: version 1.0.0-rc.3. Also updategraphql-subscriptions
(note: dependency on this latter package should be removed on next release, see discussion).
[0.6.0] - 2017-03-16
Changed
- Move logic code to
/src
. - Use
rawCollection
method onMeteor.users
for the current user lookup, to allow the tests to pass (also no need to wrap the GraphQL server inMeteor.bindEnvironment
as it no more a Fibers-aware code).
Added
- Set up ESLint with prettier & Meteor settings.
- Provide
handleDone
utility for asynchronous tests which to catch errors. - Handle GraphQL subscriptions client-side with the option
enableSubscriptions
oncreateMeteorNetworkInterface
& start a websocket server if apubsub
mechanism is passed along theschema
tocreateApolloServer
.
[0.5.0] - 2017-03-03
Changed
- Breaking: Use latest NPM dependencies, especially
apollo-cient@1.0.0-rc.0
. - Provide a middleware handling (
apply(Batch)Middleware
), related toapollo-client@1.0.0-rc.0
. - In tests, use
print
fromgraphql
itself and not fromgraphql-tag
, related tographql-tag@1.3
& upcominggraphql-tag@2.0
.
[0.4.1] - 2017-02-27
Changed
- Pass
batchingInterval
to the batching network interface if configured to used it increateMeteorNetworkInterface
. - Move
networkInterface
configuration withcreateMeteorNetworkInterface()
from thedefaultClientConfig
to themeteorClientConfig
function, so that it's only executed when needed and not on startup too...
[0.4.0] - 2017-02-26
Changed
- The argument to
meteorClientConfig()
was changed:meteorClientConfig(networkInterfaceConfig)
->meteorClientConfig(customClientConfig)
. If you previously didmeteorClientConfig({ batchingInterface: false })
, it should be changed to: - Don't force
meteor/apollo
to update their NPM dependencies on Graphql-related packages, clean-up the User Accounts middleware #74
meteorClientConfig({
networkInterface: createMeteorNetworkInterface({ batchingInterface: false })
});
Added
-
Make it possible to extend the default Apollo Client & network interface configuration objects with any Apollo Client & interface options (+ some tests) #70
-
Don't force
meteor/apollo
to update their NPM dependencies on Graphql-related packages, clean-up the User Accounts middleware #74
[0.3.1]
Fixed
- Fixed bug in
v0.3.0
#69
[0.3.0] - 2017-02-08
AKA The Xavier Release 👍
Updated
apollo-client
^0.7.0 || ^0.8.0'
apollo-server-express
^0.5.0
Added
- Export
createMeteorNetworkInterface
andmeteorClientConfig
server-side to allow server-side rendering, accept aloginToken
option in the config of Apollo Client (for example the cookie frommeteorhacks:fast-render
used for SSR) #57 - Tests! #63 and #68
[0.2.1] - 2016-12-23
Added
[0.2.0] - 2016-11-04
Updated
apollo-client
v0.5.x- Updated createNetworkInterface call to match new signature (@jasonphillips in #43).
graphql-server
v0.4.2
Added
- Added the logged-in user's doc to
context.user
[0.1.2] - 2016-10-04
Added
- Pass a function to configure the express server in createApolloServer (@nicolaslopezj in #32).
- Automatically pass Meteor authentication in GraphiQL (@nicolaslopezj in #35).
[0.1.1] - 2016-09-21
Fixed
- Fix userId persisting in options.context (reported in #37)
[0.1.0] - 2016-09-09
Updated
[0.0.4] - 2016-08-24
Fixed
- Fixed global auth issue
[0.0.2] - 2016-06-17
Fixed
- Fix dependencies #17