From 2c6a7b60b4fa15e3038f4a4b2fe9095d79bcfdfe Mon Sep 17 00:00:00 2001 From: crissdev Date: Thu, 12 Feb 2015 12:32:24 +0200 Subject: [PATCH] 2.5.0 --- HISTORY.md | 24 ++++++++++++++---------- bower.json | 9 +++++---- dist/knockout.mapping.js | 2 +- dist/knockout.mapping.min.js | 2 +- dist/knockout.mapping.min.js.map | 2 +- package.json | 4 ++-- 6 files changed, 24 insertions(+), 19 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 16450a4..2ceffc5 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,41 +1,45 @@ -Release 2.4.1 - February 8th, 2013 +## 2.5.0 (2015-02-12) + +* Remove deprecated methods (`updateFromJS` and `updateFromJSON`) +* Issue #1: Compatibility with Knockout 3.x may still be a problem +* Issue #4: Library is not exported in ko namespace for CommonJS/Node + +## 2.4.1 (2013-02-08) * Added mappedGet for observable arrays * Issue #134: Throttle issue using mapping * Issue #135: Why is custom update for observableArray firing twice when using mapping plugin? -Release 2.4.0 - February 4th, 2013 +## 2.4.0 (2013-02-04) * Removed asynchronous processing that was used to reset mapping nesting * Improved getType performance -Release 2.3.5 - December 10th, 2012 +## 2.3.5 (2012-12-10) * Issue #121: Added functionality so that explicit declared none observable members on a ViewModel will remain none observable after mapping -Release 2.3.4 - November 22nd, 2012 +## 2.3.4 (2012-11-22) * Issue #114: Added new "observe" array to options -Release 2.3.3 - October 30th, 2012 +## 2.3.3 (2012-10-30) * Fixed issue #105, #111: Update callback is not being called * Fixed issue #107: String values in mapping cause infinite recursion in extendObject -Release 2.3.2 - August 20th, 2012 +## 2.3.2 (2012-08-20) * Fixed issue #86: Don't update properties on object with update callback -Release 2.3.1 - August 6th, 2012 +## 2.3.1 (2012-08-06) * Fixed issue #33: Create method in mappings receive meaningless options.parent for observableArray properties * Fixed issue #99: Updating throttled observable * Fixed issue #100: private variable leaks onto window object -Release 2.3.0 - July 31st, 2012 +## 2.3.0 (2012-07-31) * Added support for not mapping certain array elements (return "options.skip" from your create callback) * Fixed issue #91: "wrap" function makes computed writable * Fixed issue #94: Bug/problem with ignore argument in mapping.fromJS - -Release 2.2.4 diff --git a/bower.json b/bower.json index 2188c01..cadaba9 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "bower-knockout-mapping", - "main": "knockout.mapping.js", - "version": "2.4.1", + "main": "dist/knockout.mapping.js", + "version": "2.5.0", "homepage": "https://github.com/crissdev/knockout.mapping", "authors": [ "Steven Sanderson", @@ -22,9 +22,10 @@ "**/.*", "node_modules", "spec", - "gulpfile.js" + "gulpfile.js", + "knockout.mapping.js" ], "dependencies": { - "knockout": "^3.0.0" + "knockout": ">=2.2.0" } } diff --git a/dist/knockout.mapping.js b/dist/knockout.mapping.js index bfb1dde..4377398 100644 --- a/dist/knockout.mapping.js +++ b/dist/knockout.mapping.js @@ -1,5 +1,5 @@ /*! - * Knockout Mapping plugin v2.4.1 + * Knockout Mapping plugin v2.5.0 * (c) 2013 Steven Sanderson, Roy Jacobs - http://knockoutjs.com/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ diff --git a/dist/knockout.mapping.min.js b/dist/knockout.mapping.min.js index 981c53c..7352b4c 100644 --- a/dist/knockout.mapping.min.js +++ b/dist/knockout.mapping.min.js @@ -1,5 +1,5 @@ /*! - * Knockout Mapping plugin v2.4.1 + * Knockout Mapping plugin v2.5.0 * (c) 2013 Steven Sanderson, Roy Jacobs - http://knockoutjs.com/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ diff --git a/dist/knockout.mapping.min.js.map b/dist/knockout.mapping.min.js.map index c925369..3ff33b0 100644 --- a/dist/knockout.mapping.min.js.map +++ b/dist/knockout.mapping.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["knockout.mapping.min.js"],"names":["factory","require","exports","module","define","ko","Error","mapping","unionArrays","i","j","k","args","arguments","l","length","obj","res","push","extendObject","destination","source","destType","key","hasOwnProperty","getType","bothArrays","merge","obj1","obj2","merged","fillOptions","rawOptions","otherOptions","options","recognizedRootProperties","property","Object","ignore","mergeArrays","include","copy","observe","defaultOptions","mappedProperties","copiedProperties","a","b","utils","arrayGetDistinctValues","concat","withProxyDependentObservable","dependentObservables","callback","localDO","dependentObservable","read","owner","realDeferEvaluation","deferEvaluation","isRemoved","wrap","DO","tmp","realKoDependentObservable","isWriteable","isWriteableObservable","wrapped","arrayRemoveItem","apply","write","val","__DO","realDependentObservable","fn","computed","result","updateViewModel","mappedRootObject","rootObject","parentName","parent","parentPropertyName","mappedParent","isArray","unwrapObservable","isMapped","previousMapping","mappingProperty","callbackParams","data","hasCreateCallback","create","Function","createCallback","Array","skip","emptyReturn","hasUpdateCallback","update","updateCallback","params","target","observable","alreadyMapped","visitedObjects","get","changes","hasKeyCallback","keyCallback","x","isObservable","observableArray","mappedRemove","valueOrPredicate","predicate","value","remove","item","mappedRemoveAll","arrayOfValues","arrayOfKeys","filterArrayByKey","arrayIndexOf","mappedDestroy","destroy","mappedDestroyAll","mappedIndexOf","keys","mappedGet","mappedCreate","newValue","currentArrayKeys","sort","newArrayKeys","editScript","compareArrays","ignoreIndexOf","unwrappedRootObject","itemsByKey","optimizedKeys","undefined","index","newContents","passedOver","mappedItem","fullPropertyName","status","getItemByKey","ignorableIndexOf","event","arrayChanged","arrayForEach","change","canHaveProperties","save","visitPropertiesOrArrayEntries","indexer","prevMappedProperty","retval","valueToWrite","hasCreateOrUpdateCallback","array","ignoreIndices","mapKey","arrayMap","visitorCallback","propertyName","object","type","getPropertyName","SimpleObjectLookup","values","this","existingIndex","ObjectLookup","buckets","findBucket","bucketKey","e","bucket","mappingNesting","_defaultOptions","viewModel","unwrapped","fromJS","jsObject","pop","fromJSON","jsonString","prototype","slice","call","parseJson","toJS","resetDefaultOptions","visitModel","toJSON","plainJavaScriptObject","stringifyJson","constructor","Date","propertyValue","previouslyMappedValue"],"mappings":";;;;;CAKC,SAASA,GACN,YAKA,IAAuB,kBAAZC,UAA6C,gBAAZC,UAA0C,gBAAXC,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jacobs - http://knockoutjs.com/\n * License: MIT (http://www.opensource.org/licenses/mit-license.php)\n */\n(function(factory) {\n 'use strict';\n\n /*jshint sub:true,curly:false*/\n /*global ko,require,exports,define,module*/\n\n if (typeof require === \"function\" && typeof exports === \"object\" && typeof module === \"object\") {\n // CommonJS or Node: hard-coded dependency on \"knockout\"\n factory(require(\"knockout\"), exports);\n }\n else if (typeof define === \"function\" && define[\"amd\"]) {\n // AMD anonymous module with hard-coded dependency on \"knockout\"\n define([\"knockout\", \"exports\"], factory);\n }\n else {\n //