Skip to content

Gitana JavaScript Driver 1.0.7

Compare
Choose a tag to compare
@uzquiano uzquiano released this 28 Oct 14:13
· 401 commits to master since this release

The Cloud CMS team is pleased to announce the immediate availability of the 1.0.7 version of the Gitana JavaScript Driver for Cloud CMS.

JavaScript Driver for Cloud CMS

The Gitana JavaScript Driver is a JS library that you can drop into your HTML5/JS applications to take advantage of the authoring and delivery APIs of the Cloud CMS server. It makes it easier for developers to utilize the Cloud CMS HTTP/REST APIs by providing native convenience functions via JavaScript.

The Gitana JavaScript Driver is ideal for use within either the browser or server-side JS environments (like Node.js). For a Node.js wrapped module, please check out: http://github.com/gitana/gitana-node-js.

What is Cloud CMS?

Cloud CMS is a cloud platform as a service for managing all of your business content - from formal business content like articles and news items to social content and interaction data coming from your applications. Cloud CMS puts all of your data into an innovative, high performance and scalable repository and gives your business powerful tools for collaboration, branching, merging and working with content with a secure and robust tools.

To learn more about Cloud CMS, please visit: http://www.cloudcms.com

Release Highlights

This release includes a number of highlights, including bug fixes and new features, which are worth mentioning. A few of the more important elements are shown below. For an itemized list of code level changes, please check the commit history.

  • Support for Cloud CMS referenceable access checks and authority lookups API to allow for bulk determination of access rights across datastores and objects all within a single and fast API call.
  • Added the listTeamMemberships method to the DomainPrincipal object to provide an easy way to determine the teams that a principal belongs to
  • Enhanced and expanded test cases for Gitana driver connectivity to the cloudcms.net hosted tier using the "host" and "baseURL" configuration options. This option allows the Gitana driver to connect to a cloudcms.net application server, allowing HTML5 applications to run in a CORS compatible mode while keeping all secret key information on the server (and never in the client).
  • Support for Cloud CMS custom roles within all data stores, stacks and teamable hierarchies.
  • Improvements to team-based logic + additional helper methods.
  • Support for automatic group-assignment on user create (using the "groups" property which is an array of group ids to which the user should be assigned).
  • Support for Cloud CMS referenceable bulk reads of objects across datastores and objects.
  • New API adminContentMaintenance() method to trigger content maintenance for a branch. This is a safe operation that doesn't interfere with your custom data but does helpful things like clean up indexes or remove un-needed system data.
  • Made AppHelper loading optional via the "loadAppHelper" configuration option (set to false to have faster driver init times + no automatic app, stack and datastore loading). This is useful for situations where you either don't need these pre-loaded or you're handling the work yourself.
  • Fixed a bug where the Gitana driver config parameter "ticketMaxAge" wasn't being passed properly to the Cloud CMS server. This parameter lets you specify the number of seconds that the GITANA_TICKET cookie should be available before expiry. When not specified, the default is for session duration.

Installation

To use the gitana.js driver, simply include it into your HTML5 application either via a SCRIPT tag or as an AMD module. You can download both JS and minified versions below. In addition, if you are using Bower, you can install using bower install gitana.

We encourage our community to upgrade to this new release of the Gitana JavaScript driver. We encourage everyone to submit issues, pull requests or post questions to our forums at http://www.cloudcms.org.

To learn more about the Gitana JavaScript Driver, please visit our open-source GitHub repository at http://github.com/gitana/gitana-javascript-driver.