Skip to content

Commit

Permalink
Merge pull request #331 from andygup/master
Browse files Browse the repository at this point in the history
v2.7
  • Loading branch information
andygup committed Apr 28, 2015
2 parents bd2b14c + e9d09e3 commit faeb5e2
Show file tree
Hide file tree
Showing 27 changed files with 2,277 additions and 772 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# offline-editor-js - Changelog

## Version 2.7

This release focused on improving the handling of attachments. Has breaking changes.

** Enhancements **
* Added a new sample attachments-editor-secure.html to demonstrate the pattern for working with secure feature services and attachments.
* Closes #286 - support for secure services (HTTPS) when working with attachments
* Closes #305 - Support both ADD and UPDATE attachment.
* Closes #306 - removes createObjectURL functionality from attachmentsStore. This allows for attachments to be used in full offline scenarios.
* Closes #318 - added OfflineFeaturesManager.ATTACHMENTS_DB_NAME and ATTACHMENTS_DB_OBJECSTORE_NAME.
* Closes #321 - switch offlineFeaturesManager unit test to a different feature service that's attachments enabled.
* Closes #322 - rewrite offlineAttachmentsSpec.
* Closes #324 - attachmentsStore._readFile() can indicate false positives.
* Closes #325 - support DELETE an existing attachment.
* Closes #328 - add layer.resestAttachmentsDatabase().
* Closes #329 - add layer.getAttachmentsUsage().

** Breaking Changes **
* attachmentsStore.DB_NAME has been renamed to attachmentsStore.dbName to be consistent with editStore.
* attachmentsStore.OBJECTSTORE_NAME has been renamed to attachmentsStore.objectStoreName to be consistent with editStore.
* Added use of the browser's [FormData() API](https://developer.mozilla.org/en-US/docs/Web/API/FormData) along with `FormData.append`. This may cause
attachment support to break in certain older browsers. This is a courtesy heads-up because as a rule this library only
supports the latest version of Chrome, Firefox and Safari.

## Version 2.6.1 - April 13, 2015

Patch release. Recommended update. No breaking changes.
Expand Down
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(grunt) {
'lib/tpk/*.js'
],

tasks: ['concat', 'uglify'],
tasks: ['jshint','concat', 'uglify'],
options: {
spawn: false
}
Expand Down Expand Up @@ -120,8 +120,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-jshint');

grunt.registerTask('build',['concat','uglify']);
grunt.registerTask('build',['jshint','concat','uglify']);
grunt.registerTask('test',['jshint']);

grunt.registerTask('buildAll',['jshint','concat','uglify']);
//grunt.registerTask('buildAll',['jshint','concat','uglify']);
};
5 changes: 3 additions & 2 deletions dist/offline-edit-min.js

Large diffs are not rendered by default.

510 changes: 383 additions & 127 deletions dist/offline-edit-src.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/offline-tiles-advanced-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/offline-tiles-advanced-src.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! offline-editor-js - v2.6.1 - 2015-04-13
/*! offline-editor-js - v2.7.0 - 2015-04-27
* Copyright (c) 2015 Environmental Systems Research Institute, Inc.
* Apache License*/
define([
Expand Down
2 changes: 1 addition & 1 deletion dist/offline-tiles-basic-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/offline-tiles-basic-src.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! offline-editor-js - v2.6.1 - 2015-04-13
/*! offline-editor-js - v2.7.0 - 2015-04-27
* Copyright (c) 2015 Environmental Systems Research Institute, Inc.
* Apache License*/
define([
Expand Down
2 changes: 1 addition & 1 deletion dist/offline-tpk-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/offline-tpk-src.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! offline-editor-js - v2.6.1 - 2015-04-13
/*! offline-editor-js - v2.7.0 - 2015-04-27
* Copyright (c) 2015 Environmental Systems Research Institute, Inc.
* Apache License*/
/**
Expand Down
Loading

0 comments on commit faeb5e2

Please sign in to comment.