Skip to content

Commit

Permalink
PreloadJS version 0.4.0
Browse files Browse the repository at this point in the history
Signed-off-by: Lanny McNie <[email protected]>
  • Loading branch information
Lanny McNie committed Sep 25, 2013
1 parent 93dc524 commit 99832ff
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 163 deletions.
190 changes: 96 additions & 94 deletions VERSIONS.txt
Original file line number Diff line number Diff line change
@@ -1,94 +1,96 @@
Version 0.4.0 [Releasing Soon]
************************************************************************************************************************
CRITICAL (may break existing content):
- removed all onEvent handlers (ex. onClick, onTick, onAnimationEnd, etc)
- updated EventDispatcher with latest bubbling model, and the Event class

****
- implemented createjs Utils
- implemented "use strict" mode
- Fixed issue where a null parameter would cause remove() to reset a queue (removeAll)
- Fixed documentation where JSONP was doc'd as a second JSON
- Added description about file types to main LoadQueue description, including example.
- Fixed edge case where an unmatched file pattern would cause errors
- Handled cases with no extension
- Fixed an issue with EventDispatcher when adding the same listener to an event twice
- Updated the build process to use NodeJS & Grunt.js. Please refer to the readme in the build folder.

Version 0.3.1 [May 10, 2013]
****************************************************************************************************
- Fix for removeAll method error
- Updated file validation RegExp. Supports double-byte characters, prevents partial matches, better
support for relative paths, improved matching of domains, and modified the "file name" match to
include the extension (file.mp3 instead of file). The match arguments have not changed otherwise.
Also used the "extended" argument to make the pattern more readable.
- Extension comparisons are now case-insensitive
- Added getAllResponseHeaders() and getResponseHeader() to XHRLoader
- Added loader parameter to LoadQueue's fileload event.
- Added support for JSONP. Requires a "callback" parameter on the load item that maps to the JSONP callback
- Now setting the result object to any JSON parse errors that occur.
- Now allowing GET and POST requests. Pass a new values option when loading a file to send that data
as a GET. For a POST request set the new method value to POST.
- Fixed an issue where setting max connections on an empty queue would trigger a complete event.
- Added a "filestart" event (thanks zvxy)
- Fixed naming of the "loadstart" event (used to be "loadStart")
- Added support for a "basePath" parameter on LoadQueue constructor, and loadFile and loadManifest
methods, which will prepend a path onto all file loads without modifying the load item. Updated
all demos to use the new approach. Note that paths with a protocol (http://) will ignore basePath.
- Added a public method "buildPath" to AbstractLoader, which compiles a full source path using a path,
basePath, and query object
- Fixed documentation on progress and fileprogress to display the right property name for progress
- Fixed AbstractLoader progress event to include the progress property.
- Fixed IE7/8/9 support for SVG, XML, and other load events.
- Fixed proxy so deprecated method doesn't override the global one.
- Fixed several IE 6-8 bugs.
- Fixed svg flickering while loading on Opera.
- Fixed issue where operations such as setMaxConnections would unpause a queue

Version 0.3.0 [Feb 12, 2013]
****************************************************************************************************
- Class name changed from createjs.PreloadJS to createjs.LoadQueue.
- Added versions file that is automatically updated via the build process, which provides run-time
version information on the new PreloadJS object
- Migrated to new NodeJS-based doc/build process
- Added version file, which is updated via the build process, and injects build date and version
into the PreloadJS object
- Added JSDocs to all protected and private methods, and expanded documentation considerably
- Added indexOf shim and HTMLAudioElement check to provide IE7/8 support
- Changed internal proxy method to live on createjs namespace, and support additional parameters.
- Added methods to clear and reset the preload queue (remove, removeAll, and reset)
- Changed how the XHR level is determined
- Changed how request responses in XHR are determined
- Changed XHR loading for SCRIPT and CSS tags to inject into tags, instead of reloading them
- Added tag-based loading of SCRIPT, SVG, and CSS tags. Note that Scripts can only be loaded one
at a time to maintain load order when using tags.
- Removed XHR-loading of AUDIO tags for use with HTMLAudioElement (can not properly preload)
- Added BINARY file type and enabled plugin-overriding of types
- Added better file name parsing via RegExp
- Added CreateJS EventDispatcher support, and updated demos to use events.
- Added rawResult, which is the unformatted result loaded via XHR. Update the getResult method toreturn
it (optionally).
- Changed how event objects are constructed. Events now contain an "item" property, which contains
the initially requested object. The items contain a "result" property which points
to the loaded & parsed content, as well as a "rawResult".
- Internal reorganization of entire library
- Much more thorough documentation and examples
- Moved onFileLoad and onFileProgress event/handlers from AbstractLoader to PreloadJS
- Added parsing of XML, JSON, and JavaScript files to return formatted results
- Added setUseXHR method to provide proper xhr setting after a queue is created.


Version 0.2.0 [Aug 24, 2012]
****************************************************************************************************
- moved all classes into a configurable createjs namespace
- added support for preloading SVG files
- Fixed issues with loading in mobile (Android) browsers
- Fixed various loading issues throughout
- added tag-based fallback for images loaded with XHR that fail due to local restrictions
- Canceling loads now prevents complete, error, and other callbacks from firing.
- Unloaded code in IE9/10 will not cause RTE when asynchronous callbacks occur.


Version 0.1.0 [Apr 2, 2012]
****************************************************************************************************
Initial release.
Version 0.4.0 [September 25, 2013]
************************************************************************************************************************
CRITICAL (may break existing content):
- removed all onEvent handlers (ex. onClick, onTick, onAnimationEnd, etc)
- updated EventDispatcher with latest bubbling model, and the Event class

****
- implemented createjs Utils
- implemented "use strict" mode
- Fixed issue where a null parameter would cause remove() to reset a queue (removeAll)
- Fixed documentation where JSONP was doc'd as a second JSON
- Added description about file types to main LoadQueue description, including example.
- Fixed edge case where an unmatched file pattern would cause errors
- Handled cases with no extension
- Fixed an issue with EventDispatcher when adding the same listener to an event twice
- Updated the build process to use NodeJS & Grunt.js. Please refer to the readme in the build folder.


Version 0.3.1 [May 10, 2013]
****************************************************************************************************
- Fix for removeAll method error
- Updated file validation RegExp. Supports double-byte characters, prevents partial matches, better
support for relative paths, improved matching of domains, and modified the "file name" match to
include the extension (file.mp3 instead of file). The match arguments have not changed otherwise.
Also used the "extended" argument to make the pattern more readable.
- Extension comparisons are now case-insensitive
- Added getAllResponseHeaders() and getResponseHeader() to XHRLoader
- Added loader parameter to LoadQueue's fileload event.
- Added support for JSONP. Requires a "callback" parameter on the load item that maps to the JSONP callback
- Now setting the result object to any JSON parse errors that occur.
- Now allowing GET and POST requests. Pass a new values option when loading a file to send that data
as a GET. For a POST request set the new method value to POST.
- Fixed an issue where setting max connections on an empty queue would trigger a complete event.
- Added a "filestart" event (thanks zvxy)
- Fixed naming of the "loadstart" event (used to be "loadStart")
- Added support for a "basePath" parameter on LoadQueue constructor, and loadFile and loadManifest
methods, which will prepend a path onto all file loads without modifying the load item. Updated
all demos to use the new approach. Note that paths with a protocol (http://) will ignore basePath.
- Added a public method "buildPath" to AbstractLoader, which compiles a full source path using a path,
basePath, and query object
- Fixed documentation on progress and fileprogress to display the right property name for progress
- Fixed AbstractLoader progress event to include the progress property.
- Fixed IE7/8/9 support for SVG, XML, and other load events.
- Fixed proxy so deprecated method doesn't override the global one.
- Fixed several IE 6-8 bugs.
- Fixed svg flickering while loading on Opera.
- Fixed issue where operations such as setMaxConnections would unpause a queue


Version 0.3.0 [Feb 12, 2013]
****************************************************************************************************
- Class name changed from createjs.PreloadJS to createjs.LoadQueue.
- Added versions file that is automatically updated via the build process, which provides run-time
version information on the new PreloadJS object
- Migrated to new NodeJS-based doc/build process
- Added version file, which is updated via the build process, and injects build date and version
into the PreloadJS object
- Added JSDocs to all protected and private methods, and expanded documentation considerably
- Added indexOf shim and HTMLAudioElement check to provide IE7/8 support
- Changed internal proxy method to live on createjs namespace, and support additional parameters.
- Added methods to clear and reset the preload queue (remove, removeAll, and reset)
- Changed how the XHR level is determined
- Changed how request responses in XHR are determined
- Changed XHR loading for SCRIPT and CSS tags to inject into tags, instead of reloading them
- Added tag-based loading of SCRIPT, SVG, and CSS tags. Note that Scripts can only be loaded one
at a time to maintain load order when using tags.
- Removed XHR-loading of AUDIO tags for use with HTMLAudioElement (can not properly preload)
- Added BINARY file type and enabled plugin-overriding of types
- Added better file name parsing via RegExp
- Added CreateJS EventDispatcher support, and updated demos to use events.
- Added rawResult, which is the unformatted result loaded via XHR. Update the getResult method toreturn
it (optionally).
- Changed how event objects are constructed. Events now contain an "item" property, which contains
the initially requested object. The items contain a "result" property which points
to the loaded & parsed content, as well as a "rawResult".
- Internal reorganization of entire library
- Much more thorough documentation and examples
- Moved onFileLoad and onFileProgress event/handlers from AbstractLoader to PreloadJS
- Added parsing of XML, JSON, and JavaScript files to return formatted results
- Added setUseXHR method to provide proper xhr setting after a queue is created.


Version 0.2.0 [Aug 24, 2012]
****************************************************************************************************
- moved all classes into a configurable createjs namespace
- added support for preloading SVG files
- Fixed issues with loading in mobile (Android) browsers
- Fixed various loading issues throughout
- added tag-based fallback for images loaded with XHR that fail due to local restrictions
- Canceling loads now prevents complete, error, and other callbacks from firing.
- Unloaded code in IE9/10 will not cause RTE when asynchronous callbacks occur.


Version 0.1.0 [Apr 2, 2012]
****************************************************************************************************
Initial release.
2 changes: 1 addition & 1 deletion build/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PreloadJS",
"version": "0.3.1",
"version": "0.4.0",
"description": "PreloadJS Docs",
"url": "http://www.createjs.com/#!/PreloadJS",
"logo": "http://createjs.com/resources/SuiteIcons/PreloadJS/docs-icon-PreloadJS.png",
Expand Down
Binary file added docs/PreloadJS_docs-0.4.0.zip
Binary file not shown.
Binary file modified docs/preloadjs_docs-NEXT.zip
Binary file not shown.
Loading

0 comments on commit 99832ff

Please sign in to comment.