backbone-orm
Advanced tools
Comparing version 0.6.5 to 0.7.0
{ | ||
"name": "backbone-orm", | ||
"version": "0.6.5", | ||
"version": "0.7.0", | ||
"description": "A polystore ORM for Node.js and the browser", | ||
"main": "backbone-orm.js", | ||
"license": "MIT", | ||
"author": "Kevin Malakoff (https://github.com/kmalakoff)", | ||
"author": { | ||
"name": "Kevin Malakoff", | ||
"url": "https://github.com/kmalakoff" | ||
}, | ||
"contributors": [ | ||
"Gwilym Humphreys (https://github.com/gwilymhumphreys)" | ||
{ | ||
"name": "Gwilym Humphreys", | ||
"url": "https://github.com/gwilymhumphreys" | ||
} | ||
], | ||
@@ -15,2 +21,6 @@ "repository": { | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/vidigami/backbone-orm/issues" | ||
}, | ||
"homepage": "https://github.com/vidigami/backbone-orm", | ||
"keywords": [ | ||
@@ -17,0 +27,0 @@ "backbone", |
Please refer to the following release notes when upgrading your version of BackboneORM. | ||
### 0.7.0 | ||
* Implemented strict-json syntax in the query string, eg. https://things/1?string="value"&number=1. Use JSONUtils.parseQuery instead of JSONUtils.parse. | ||
* Removed parseParams. Use JSONUtils.parseField(value, model_type, 'id') instead | ||
* Bug fix to respect whitelisting in modelJSONSave | ||
* Naming consistency for whitelist (removed hypenated version like white_list). | ||
* Renamed JSONUtils.toQuery to JSONUtils.querify. | ||
### 0.6.6 | ||
* Fixed error messages not being passed through when using a cache sync | ||
### 0.6.5 | ||
@@ -4,0 +14,0 @@ * Bug fix for relationships not being destroyed |
/* | ||
stream.js 0.6.5 | ||
stream.js 0.7.0 | ||
Copyright (c) 2013-2014 Vidigami | ||
@@ -4,0 +4,0 @@ License: MIT (http://www.opensource.org/licenses/mit-license.php) |
@@ -1,3 +0,39 @@ | ||
### From 0.5.x to 0.6.1 | ||
### From 0.6.x to 0.7.x | ||
1. Use JSONUtils.parseQuery instead of JSONUtils.parse. | ||
``` | ||
# change | ||
JSONUtils.parse(req.query) | ||
# to | ||
JSONUtils.parseQuery(req.query) | ||
``` | ||
2. Use JSONUtils.parseField instead of JSONUtils.parseParams. | ||
``` | ||
# change | ||
JSONUtils.parseParams(req.params) | ||
# to | ||
JSONUtils.parseField(req.params.id, MyModel, 'id') | ||
``` | ||
3. Remove strict types that were required for queries. | ||
``` | ||
# change | ||
class MyModel extends Backbone.Model | ||
schema: | ||
status: ['Integer'] | ||
# to | ||
class MyModel extends Backbone.Model | ||
``` | ||
### From 0.5.x to 0.6.x | ||
1. All references to BackboneORM.CacheSingletons.ModelCache.configure should be replaces with configure. | ||
@@ -4,0 +40,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1392904
1
2
15448