JayData 1.3.1 - Interoperability Edition

Rating: No reviews yet
Downloads: 1128
Released: Jun 24, 2013
Updated: Jun 25, 2013 by JayDataOrg
Dev status: Stable Help Icon

Recommended Download

Application JayData 1.3.1
application, 522K, uploaded Jun 24, 2013 - 890 downloads

Other Available Downloads

Source Code JayData 1.3.1 Source
source code, 30692K, uploaded Jun 24, 2013 - 238 downloads

Release Notes

JayData is a unified data access library for JavaScript to CRUD + Query data from different sources like WebAPI, OData, MongoDB, WebSQL, SQLite, HTML5 localStorage, Facebook or YQL. The library can be integrated with KendoUI, Knockout.js or Sencha Touch 2 and can be used on Node.js as well.

See it in action in this 6 minutes video
KendoUI examples: JayData example site
Examples for map integration JayData example site

What's new in JayData 1.3.1 - Interoperability Edition

This version is dedicated to all our partners and OData users attending our presentation at Microsoft Interoperability Protocols Plugfest 2013 in Redmond.

For detailed release notes check the release notes.

Improved Microsoft Dynamics CRM integration

Microsoft Dynamics CRM is a popular data platform for enterprise applications and - thanks to the OData interface - it is famous from its data integration capabilities. JayData supports the integration with Microsoft Dynamics CRM with postmessage-based authentication and communication. Read more - Microsoft Dynamics CRM + JayData is awesome

Partial Metadata generation with dynamic metadata loader

The huge metadata can be now avoided either by JaySvcUtil and dynamic metadata loader functions - $data.initService() and $data.service() - as you can initialize a JayData context by using only a subset of your schema published via OData. Learn how to configure filtered metadata import

Queryable service oparations

No matter how you use JayData on the server-side - jaydata npm package (JayService), odata-server npm package or JayData Server Pro - now you can publish not only queryable EntitySets and service operations, but queryable service operations, too! This way you are able to implement prefiltered entities, which can be filtered further by the client. Blogpost coming soon.

Query cache module (PRO)

The Query Cache module is a configurable request cache, which keeps the results of particular queries with the same parameters. The module is available across all the JayData providers and can be configured with time-based or manual invalidation. Read more about the Query Cache Pro module in JayStack blog

Auto-attach of included child objects

Included entities are attached automatically when attaching parent object
db.Articles.include('Category').filter('it.Id == 1').toArray(function (res) {
	var article = res[0];
        article.Category.Title = 'Changed_Category_Title';
        db.saveChanges(function () {
        	// ...

Other new features:

  • Debug helper: $data.fdebug - callback for success and error to write to the console


  • Validation for primitive types
  • InmemoryProvider: inmemory source has been moved to dataSource from provicderConfiguration.source
  • inmemoryProvider: add unique instanceId every inmemory context (overridable with instanceId in context parameter)
  • Optimalization: First context creation happens with less property reads
  • OData provider: reload complex types after save
  • entity.get_Property can be used without attach
  • Validation of complex type fields in entities
  • Deferred default error callback writes to console.error


  • validateGeoJSON
  • mongoDB Blob fromDb breaking change fix (blobs saved to Base64 before, can be read)
  • OData provider withCredentials fix
  • context ready property without loaded defferred module
  • Handlebars module is now ready for minification
  • OData converter: unescape geo types
  • Default collection name of ItemStore
  • Conversion of Time type
  • Converters return the same instance if there is a valid value assigned
  • IndexedDB: error called when failed to create indices
  • Blob conversion from object
  • MongoDb: Array of ObjectID
  • MongoDb: filter Id with include
  • MongoDb: inline count
  • MongoDb: update entity with navigation field
  • Add new types to Kendo UI module
  • MongoDB Blob fix on inserted blob return value
  • Time parse from date
  • IndexedDB, LocalStore, InMemory provider: complex support for saving and loading
  • set storeToken after saveChanges if not exists
  • integer converter with Number's specific values

Breaking changes

  • Time type is represented as string - instead of DateTime (breaking only to some code using 1.3.0)

Reviews for this release

No reviews yet for this release.