Releases

Updated to most recent versions of vue-apollo and bugfixes (v4.0.0-rc.3)
Released 2 months ago

This release starts with compatibility for Nuxt v2 and includes several minor bugfixes and updates to the most recent version of vue-apollo and other dependencies

Fixed vue-apollo version (v4.0.0-rc.2)
Released 3 months ago

Currently there is WIP on vue-apollo with breaking changes. This is a temporary release until the work is done

Bugfix release (v4.0.0-rc.1)
Released 5 months ago

Minor bugfix relase thanks for the contributions!

Updates of dependencies and cleanup (v4.0.0-rc.0)
Released 5 months ago

Thanks to #128 we got some bugfixing and updates of dependencies.

Bugfix release of missing cache (v4.0.0-beta.8)
Released 5 months ago

Bugfix of missing cache setting for each endpoint. Thanks @kieusonlam for your PR

Add possibility to extend options with path to config file (v4.0.0-beta.6)
Released 5 months ago

To fix most recent issues additionally to a simple object based setup you can now add a path to a config file to have full support to provide your own functions (which wasn't possible before this release)

// nuxt.config.js
apollo:{
  clientConfigs:{
    default: '~/plugins/apollo-default-config.js'
  }
}
// plugins/apollo-default-config.js
export default function(context){
  return {
   httpEndpoint: 'localhost:4000/graphql',
   getAuth: () => 'Bearer my-static-api-token'
 }
}

This is partly a breaking change. In case you passed a getAuth function as options you need to change your config to a plugin based config shown above.

Bugfix release (v4.0.0-beta.4)
Released 6 months ago

Evaluate correctly if getAuth function is set in options

Bugfix getAuth function ignored if set (v4.0.0-beta.3)
Released 6 months ago

Bugfix of getAuth as option of apollo. Now currently would work for setting a permanent token:

apollo:{
  clientConfigs:{
    getAuth:() => 'your_permanent_token'
  }
}
Add authenticationType to apollo options (v4.0.0-beta.2)
Released 6 months ago

A new option is now available as some requests are Basic or from any other authentication type.

apollo:{
  authenticationType: 'Basic' // => default: 'Bearer'
}

The default is Bearer so you might don't have to change any code in case you use a popular apollo server provider

Bugfix client-server hydration (v4.0.0-beta.1)
Released 6 months ago

Bring back cache mechanism for client-server hydration

Cleanup and improved documentation (v4.0.0-beta.0)
Released 6 months ago

Minor release towards final release of v4. Improved documentation and contribution guide. Fixed basic test

Zero config for your apollo configurations (v4.0.0-alpha.0)
Released 6 months ago

To follow the same approach as the vue-cli-plugin-apollo version 4 will take of the configuration part entirely.

Breaking changes

This results into breaking changes
All you need to provide are the endpoints to your apollo backend:

// nuxt.config.js
apollo:{
  clientConfigs: {
      default: {
        httpEndpoint: YOUR_HTTP_ENDPOINT,
        wsEndpoint: YOUR_WS_ENDPOINT
      }
    }
}

New function calls for login and logout handling

Additionally you can call now 3 functions to make your login/logout handling as easy as possible:

this.$apolloHelpers.onLogin(token) // optional you can provide as second argument this.apolloProvider.clients.otherClient 
this.$apolloHelpers.onLogout() // optional you can provide this.apolloProvider.clients.otherClient
this.$apolloHelpers.getToken() // optional you can provide the token name
Updated to most recent vue-apollo (v3.0.7)
Released 7 months ago

This is only a convenient release to update to the most recent vue-apollo version.

Add option for node_modules file recognition (v3.0.6)
Released 8 months ago

Added the option to include graphql-tag/loader on node_modules. This is important if you have a npm modules which features graphql files.

options:{
  // config
  includeNodeModules:true
}
Updated dependencies (v3.0.5)
Released 9 months ago

Minor update for dependencies and typos. Thanks for the contributions!

Fixed regression with apollProvider (v3.0.4)
Released 10 months ago

Fixed regression for the use of app.apolloProvider
Thanks @Akryum for the quick fix

Update to vue-apollo beta (v3.0.3)
Released 10 months ago

Minor release to update to the latest vue-apollo beta

Fix multiple clients (v3.0.2)
Released 10 months ago

This release fixes multiclient support. Thanks @bjunc for the contribution!

Update to v1 of NUXT (3.0.1)
Released a year ago

Removed deprecation warnings for NUXT v1.0.0

Thanks to @pSchaub for his early adoption.

25 releases found.