JayData 1.3.0 - Anniversary Edition

Rating: No reviews yet
Downloads: 773
Released: Apr 30, 2013
Updated: Apr 30, 2013 by JayDataOrg
Dev status: Stable Help Icon

Recommended Download

Application JayData 1.3.0
application, 474K, uploaded Apr 30, 2013 - 594 downloads

Other Available Downloads

Source Code JayData 1.3.0 source
source code, 30350K, uploaded Apr 30, 2013 - 179 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.0 - Anniversary Edition

For detailed release notes check the release notes.

Geospatial types and functions

Store map data in local databases and query geospatial objects through OData protocol. Manage remote geopatial from JavaScript using JayData syntax, calculate distances, find intersection areas, create location-aware social apps and display POIs on Google/Bing/Leaflet/Nokia maps! Developing your pub-hunter app has never been so easy! Read more abour JayData Geo features

OData v3 features

Beyound the geospatial types, OData provider supports, JSON light format, item- and collection-level actions of OData-enabled WebAPI services. Squize out more from your OData server on the client-side!

Learn more about OData service operations actions in JayData

Simple EntitySet filter feature with 3 parameters

northwind.Products.filter('Name', '.startsWith", 'Thai') 

Read the related blogpost - Simplified filter syntax for simple tasks

Blob data management across many providers

JayData is here for you if you want to retrieve/persist images or any kind of binary data in WebSQL, IndexedDB or via OData

JayData Server edition is here

JayData Server is here for you if you want to set up your own OData endpoint in node.js environment with MongoDB or SQLite support. Why wouldn’t you extend your JayData skillset to the server-side?
JayData Server can be accessed using JayData library or any other OData client and it covers a wide range of features of OData protocol. Read more about JayData Server

Extensible field conversion API

The dev team refactored the type converter module to improve the type checking of the library.

TypeContainers and IoC

Move your types to TypeContainers and resolve them!
$data.Container.registerType('$some.int', $data.Integer);

Schema Evolutions (Pro feature)

The schema evolutions gives you an API to migrate your existing WebSQL/SQLite, IndexedDB database to a new structure. Read more about Schema evolutions

Other new features:

  • WebAPI OData Collection(Edm.String) support
  • Context.ready property
var context = new myContext({ name: 'webSql' });
  context.ready.then(function () {
  • JayData Server: OData error format in JSON
  • JayData Server: lazy-loaded properties aren't returned by default, can be retrieved by map()
$data.Class.define('Test.BigData', $data.Entity, null, {
  Id: { type: 'id', key: true, computed: true },
  Name: { type: 'string' },
  Data: { type: 'blob', lazyLoad: true },
  Index: { type: 'int' }
  • MongoDB provider: inlineCount() support
  • Modular type extension - blogpost coming soon
  • guid fields can be computed


  • CodeParser uses Acorn or Esprima parser to improve performance and reduce file size
  • Datajs 1.1.1 beta support


  • JayService: Metadata generator: MaxLength info MAX -> Max
  • Guid represented as string
  • Fixed kendo array datatype handling
  • Array properties with elementTypes
  • Computed key error generates warning if can't compute value
  • Saving Int64 field with OData provider (context must be re-generated by JaySvcUtil)

Breaking changes

  • Default database name for SQLite and IndexedDB is changed to JayDataDefault
    • This can be overriden by assigning a value to the $data.defaults.defaultDatabaseName global variable

Reviews for this release

No reviews yet for this release.