Skip to content

Commit 99832ff

Browse files
author
Lanny McNie
committed
PreloadJS version 0.4.0
Signed-off-by: Lanny McNie <[email protected]>
1 parent 93dc524 commit 99832ff

8 files changed

+112
-163
lines changed

VERSIONS.txt

+96-94
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,96 @@
1-
Version 0.4.0 [Releasing Soon]
2-
************************************************************************************************************************
3-
CRITICAL (may break existing content):
4-
- removed all onEvent handlers (ex. onClick, onTick, onAnimationEnd, etc)
5-
- updated EventDispatcher with latest bubbling model, and the Event class
6-
7-
****
8-
- implemented createjs Utils
9-
- implemented "use strict" mode
10-
- Fixed issue where a null parameter would cause remove() to reset a queue (removeAll)
11-
- Fixed documentation where JSONP was doc'd as a second JSON
12-
- Added description about file types to main LoadQueue description, including example.
13-
- Fixed edge case where an unmatched file pattern would cause errors
14-
- Handled cases with no extension
15-
- Fixed an issue with EventDispatcher when adding the same listener to an event twice
16-
- Updated the build process to use NodeJS & Grunt.js. Please refer to the readme in the build folder.
17-
18-
Version 0.3.1 [May 10, 2013]
19-
****************************************************************************************************
20-
- Fix for removeAll method error
21-
- Updated file validation RegExp. Supports double-byte characters, prevents partial matches, better
22-
support for relative paths, improved matching of domains, and modified the "file name" match to
23-
include the extension (file.mp3 instead of file). The match arguments have not changed otherwise.
24-
Also used the "extended" argument to make the pattern more readable.
25-
- Extension comparisons are now case-insensitive
26-
- Added getAllResponseHeaders() and getResponseHeader() to XHRLoader
27-
- Added loader parameter to LoadQueue's fileload event.
28-
- Added support for JSONP. Requires a "callback" parameter on the load item that maps to the JSONP callback
29-
- Now setting the result object to any JSON parse errors that occur.
30-
- Now allowing GET and POST requests. Pass a new values option when loading a file to send that data
31-
as a GET. For a POST request set the new method value to POST.
32-
- Fixed an issue where setting max connections on an empty queue would trigger a complete event.
33-
- Added a "filestart" event (thanks zvxy)
34-
- Fixed naming of the "loadstart" event (used to be "loadStart")
35-
- Added support for a "basePath" parameter on LoadQueue constructor, and loadFile and loadManifest
36-
methods, which will prepend a path onto all file loads without modifying the load item. Updated
37-
all demos to use the new approach. Note that paths with a protocol (http://) will ignore basePath.
38-
- Added a public method "buildPath" to AbstractLoader, which compiles a full source path using a path,
39-
basePath, and query object
40-
- Fixed documentation on progress and fileprogress to display the right property name for progress
41-
- Fixed AbstractLoader progress event to include the progress property.
42-
- Fixed IE7/8/9 support for SVG, XML, and other load events.
43-
- Fixed proxy so deprecated method doesn't override the global one.
44-
- Fixed several IE 6-8 bugs.
45-
- Fixed svg flickering while loading on Opera.
46-
- Fixed issue where operations such as setMaxConnections would unpause a queue
47-
48-
Version 0.3.0 [Feb 12, 2013]
49-
****************************************************************************************************
50-
- Class name changed from createjs.PreloadJS to createjs.LoadQueue.
51-
- Added versions file that is automatically updated via the build process, which provides run-time
52-
version information on the new PreloadJS object
53-
- Migrated to new NodeJS-based doc/build process
54-
- Added version file, which is updated via the build process, and injects build date and version
55-
into the PreloadJS object
56-
- Added JSDocs to all protected and private methods, and expanded documentation considerably
57-
- Added indexOf shim and HTMLAudioElement check to provide IE7/8 support
58-
- Changed internal proxy method to live on createjs namespace, and support additional parameters.
59-
- Added methods to clear and reset the preload queue (remove, removeAll, and reset)
60-
- Changed how the XHR level is determined
61-
- Changed how request responses in XHR are determined
62-
- Changed XHR loading for SCRIPT and CSS tags to inject into tags, instead of reloading them
63-
- Added tag-based loading of SCRIPT, SVG, and CSS tags. Note that Scripts can only be loaded one
64-
at a time to maintain load order when using tags.
65-
- Removed XHR-loading of AUDIO tags for use with HTMLAudioElement (can not properly preload)
66-
- Added BINARY file type and enabled plugin-overriding of types
67-
- Added better file name parsing via RegExp
68-
- Added CreateJS EventDispatcher support, and updated demos to use events.
69-
- Added rawResult, which is the unformatted result loaded via XHR. Update the getResult method toreturn
70-
it (optionally).
71-
- Changed how event objects are constructed. Events now contain an "item" property, which contains
72-
the initially requested object. The items contain a "result" property which points
73-
to the loaded & parsed content, as well as a "rawResult".
74-
- Internal reorganization of entire library
75-
- Much more thorough documentation and examples
76-
- Moved onFileLoad and onFileProgress event/handlers from AbstractLoader to PreloadJS
77-
- Added parsing of XML, JSON, and JavaScript files to return formatted results
78-
- Added setUseXHR method to provide proper xhr setting after a queue is created.
79-
80-
81-
Version 0.2.0 [Aug 24, 2012]
82-
****************************************************************************************************
83-
- moved all classes into a configurable createjs namespace
84-
- added support for preloading SVG files
85-
- Fixed issues with loading in mobile (Android) browsers
86-
- Fixed various loading issues throughout
87-
- added tag-based fallback for images loaded with XHR that fail due to local restrictions
88-
- Canceling loads now prevents complete, error, and other callbacks from firing.
89-
- Unloaded code in IE9/10 will not cause RTE when asynchronous callbacks occur.
90-
91-
92-
Version 0.1.0 [Apr 2, 2012]
93-
****************************************************************************************************
94-
Initial release.
1+
Version 0.4.0 [September 25, 2013]
2+
************************************************************************************************************************
3+
CRITICAL (may break existing content):
4+
- removed all onEvent handlers (ex. onClick, onTick, onAnimationEnd, etc)
5+
- updated EventDispatcher with latest bubbling model, and the Event class
6+
7+
****
8+
- implemented createjs Utils
9+
- implemented "use strict" mode
10+
- Fixed issue where a null parameter would cause remove() to reset a queue (removeAll)
11+
- Fixed documentation where JSONP was doc'd as a second JSON
12+
- Added description about file types to main LoadQueue description, including example.
13+
- Fixed edge case where an unmatched file pattern would cause errors
14+
- Handled cases with no extension
15+
- Fixed an issue with EventDispatcher when adding the same listener to an event twice
16+
- Updated the build process to use NodeJS & Grunt.js. Please refer to the readme in the build folder.
17+
18+
19+
Version 0.3.1 [May 10, 2013]
20+
****************************************************************************************************
21+
- Fix for removeAll method error
22+
- Updated file validation RegExp. Supports double-byte characters, prevents partial matches, better
23+
support for relative paths, improved matching of domains, and modified the "file name" match to
24+
include the extension (file.mp3 instead of file). The match arguments have not changed otherwise.
25+
Also used the "extended" argument to make the pattern more readable.
26+
- Extension comparisons are now case-insensitive
27+
- Added getAllResponseHeaders() and getResponseHeader() to XHRLoader
28+
- Added loader parameter to LoadQueue's fileload event.
29+
- Added support for JSONP. Requires a "callback" parameter on the load item that maps to the JSONP callback
30+
- Now setting the result object to any JSON parse errors that occur.
31+
- Now allowing GET and POST requests. Pass a new values option when loading a file to send that data
32+
as a GET. For a POST request set the new method value to POST.
33+
- Fixed an issue where setting max connections on an empty queue would trigger a complete event.
34+
- Added a "filestart" event (thanks zvxy)
35+
- Fixed naming of the "loadstart" event (used to be "loadStart")
36+
- Added support for a "basePath" parameter on LoadQueue constructor, and loadFile and loadManifest
37+
methods, which will prepend a path onto all file loads without modifying the load item. Updated
38+
all demos to use the new approach. Note that paths with a protocol (http://) will ignore basePath.
39+
- Added a public method "buildPath" to AbstractLoader, which compiles a full source path using a path,
40+
basePath, and query object
41+
- Fixed documentation on progress and fileprogress to display the right property name for progress
42+
- Fixed AbstractLoader progress event to include the progress property.
43+
- Fixed IE7/8/9 support for SVG, XML, and other load events.
44+
- Fixed proxy so deprecated method doesn't override the global one.
45+
- Fixed several IE 6-8 bugs.
46+
- Fixed svg flickering while loading on Opera.
47+
- Fixed issue where operations such as setMaxConnections would unpause a queue
48+
49+
50+
Version 0.3.0 [Feb 12, 2013]
51+
****************************************************************************************************
52+
- Class name changed from createjs.PreloadJS to createjs.LoadQueue.
53+
- Added versions file that is automatically updated via the build process, which provides run-time
54+
version information on the new PreloadJS object
55+
- Migrated to new NodeJS-based doc/build process
56+
- Added version file, which is updated via the build process, and injects build date and version
57+
into the PreloadJS object
58+
- Added JSDocs to all protected and private methods, and expanded documentation considerably
59+
- Added indexOf shim and HTMLAudioElement check to provide IE7/8 support
60+
- Changed internal proxy method to live on createjs namespace, and support additional parameters.
61+
- Added methods to clear and reset the preload queue (remove, removeAll, and reset)
62+
- Changed how the XHR level is determined
63+
- Changed how request responses in XHR are determined
64+
- Changed XHR loading for SCRIPT and CSS tags to inject into tags, instead of reloading them
65+
- Added tag-based loading of SCRIPT, SVG, and CSS tags. Note that Scripts can only be loaded one
66+
at a time to maintain load order when using tags.
67+
- Removed XHR-loading of AUDIO tags for use with HTMLAudioElement (can not properly preload)
68+
- Added BINARY file type and enabled plugin-overriding of types
69+
- Added better file name parsing via RegExp
70+
- Added CreateJS EventDispatcher support, and updated demos to use events.
71+
- Added rawResult, which is the unformatted result loaded via XHR. Update the getResult method toreturn
72+
it (optionally).
73+
- Changed how event objects are constructed. Events now contain an "item" property, which contains
74+
the initially requested object. The items contain a "result" property which points
75+
to the loaded & parsed content, as well as a "rawResult".
76+
- Internal reorganization of entire library
77+
- Much more thorough documentation and examples
78+
- Moved onFileLoad and onFileProgress event/handlers from AbstractLoader to PreloadJS
79+
- Added parsing of XML, JSON, and JavaScript files to return formatted results
80+
- Added setUseXHR method to provide proper xhr setting after a queue is created.
81+
82+
83+
Version 0.2.0 [Aug 24, 2012]
84+
****************************************************************************************************
85+
- moved all classes into a configurable createjs namespace
86+
- added support for preloading SVG files
87+
- Fixed issues with loading in mobile (Android) browsers
88+
- Fixed various loading issues throughout
89+
- added tag-based fallback for images loaded with XHR that fail due to local restrictions
90+
- Canceling loads now prevents complete, error, and other callbacks from firing.
91+
- Unloaded code in IE9/10 will not cause RTE when asynchronous callbacks occur.
92+
93+
94+
Version 0.1.0 [Apr 2, 2012]
95+
****************************************************************************************************
96+
Initial release.

build/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "PreloadJS",
3-
"version": "0.3.1",
3+
"version": "0.4.0",
44
"description": "PreloadJS Docs",
55
"url": "http://www.createjs.com/#!/PreloadJS",
66
"logo": "http://createjs.com/resources/SuiteIcons/PreloadJS/docs-icon-PreloadJS.png",

docs/PreloadJS_docs-0.4.0.zip

167 KB
Binary file not shown.

docs/preloadjs_docs-NEXT.zip

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)