AeroGear JS 1.4.0 Release

The next release, version 1.4.0, of the AeroGear.js library has been released.

This release a little for everyone. A new Adapter, a new Cookbook, and some code deprecation

Deprecation Notice

Back in 1.3.0 we deprecated the synchronous api for DataManager to better fall inline with the async nature of the IndexedDB and WebSQL adapters.

However, we added an option to allow users to keep using the sync api for the Memory and SessionLocal adapters.

In this release we removed the sync option. So don’t use it, please :)

Cookbook

We’ve added a cookbook with some initial examples.

Each example is a small web application and node.js server( if needed ) that you can run to discover a use case for some of the AeroGear.js library features.

More recipies will be added in the future, so make sure to keep an eye out.

Also, if there is a recipe you would like to see or contribute, please file a JIRA here: AeroGear.js JIRA Project

Cookbook on Github

OAuth2 Adapter

This release sees a new module and experimental adapter added to the library.

We’ve added an Authorization Module, with an OAuth2 Adapter.

This adapter is best used when “plugged” in to the pipeline module.

It will allow your pipes to get access to services that are protected by OAuth2, such as Google Drive.

For an example of how to use this new adapter, checkout the cookbook example, Google Drive

Code

As always, you can view the source code here

If bower is your thing:

$ bower install aerogear

Or if you want to create a custom build, JS Custom Builder

Release Notes - AeroGear JavaScript - Version 1.4.0

Bug

  • [AGJS-128] - STOMP notifier unsubscribe method fails with "Cannot unsubscribe as no subscription exists for id undefined"
  • [AGJS-136] - DataManager WebSQL is vulnerable to SQLI attack
  • [AGJS-140] - WebSQL, "-" database name causes an error
  • [AGJS-145] - DataManager doesn't load in chrome packaged app environment

Feature Request

  • [AGJS-19] - Create another server side offering for getting started guide
  • [AGJS-72] - Add OAuth2 Adapter
  • [AGJS-104] - Create a AeroGear JavaScript Cookbook
  • [AGJS-119] - OAuth2 adapter - add Some Non standard options
  • [AGJS-127] - Add debug property support for STOMP over websocket notifier
  • [AGJS-129] - Find handler by address in Vert.x notifier unsubscribe if callback is not provided
  • [AGJS-133] - Bower repos for custom builds

Task

Sub-task