forked from typekit/webfontloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
238 lines (182 loc) · 11.1 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
v1.5.3 (April 8, 2014)
* Prevent a potential FOUT when setting the font event classes.
* Add "display:block" to test rulers so "* { display: none; }" doesn't override it
v1.5.2 (January 3, 2014)
* Add Copyright, License and Version to the compiled output file(s)
* Fix small bug in Google Font module that rejected font variations with dashes
v1.5.1 (October 15, 2013)
* Dispatch wf-loading event synchronously instead of waiting for asynchronous modules
* Update README explaining how to use custom fonts without a stylesheet
* Add license information to gemspec
v1.5.0 (September 9, 2013)
* Correctly categorize Internet Explorer 11 as an Internet Explorer version.
* Add support for custom test strings in the custom module.
* Various small bug fixes to the test suite so it runs on all browsers automatically.
v1.4.12 (August 21, 2013)
* Cleared up initialization code and made all modules optional and configurable at compile time
v1.4.11 (August 8, 2013)
* Remove Ascender module (according to Monotype the service has now been shutdown completely.)
* Switch Monotype module to use fast.fonts.net instead of fast.fonts.com
* Update license
v1.4.10 (July 31, 2013)
* Add loadStylesheet method with optional callback that replaces createCssLink
* Remove supportForStyle check because it breaks XHTML/SVG and is no longer necessary
* Fix inactive never called when script loading times out
* Move test assets into fixtures directory
v1.4.9 (July 24, 2013)
* Disable terminal spec report when not using PhantomJS
* Remove obsolete namespace declaration
v1.4.8 (June 24, 2013)
* Add support for the Chromium based Opera browser
* Change the debug task to do a Closure Compiler debug build
* Fix a global variable leak in the compiled output
* Add support for the PhantomJS user agent string
v1.4.7 (June 6, 2013)
* Fix backwards compatibility with version strings for Chrome
* Restore specs that test against version strings for backwards compatibility with the old UserAgent API.
v1.4.6 (May 29, 2013)
* Merge font watching strategies from core and the Google module
* Add support for the Samsung Galaxy S4 user agent string
v1.4.5 (May 23, 2013)
* Move modules into their own namespace
* Add new methods into DomHelper and add specs for all DomHelper methods
* Rename watch method so as not to conflict with Firefox Object.prototype.watch
v1.4.4 (May 22, 2013)
* Change the UserAgent API so that it is backwards compatible with older Typekit kits.
v1.4.3 (May 16, 2013)
* UserAgent now maintains version numbers as instances of the Version class.
v1.4.2 (April 11, 2013)
* Namespace is now configurable at compile time
* BrowserInfo and UserAgent are exported so Typekit KitJS and the standalone webfontloader can share data
* Add "aria-hidden=true" to test spans so screen readers do not read test spans
* Fix passing the test strings from the modules to core.
v1.4.1 (April 8, 2013)
* Internal rewrite of font and variations
* Fix for the configurable timeout on the Google module
v1.4.0 (March 28, 2013)
* Stop exporting the `addModule` API to dynamically add modules (it didn't work anyway.)
* Stop checking the height when monitoring for font load. This turned out to be inconsistent across platforms.
v1.3.2 (March 27, 2013)
* Add support for the Amazon 1 and 2+ browsers.
v1.3.1 (March 14, 2013)
* Change code to use explicit dependencies
* Fix unit tests in older browsers
* Fix google/FontApiParser.js to work in IE <= 8
v1.3.0 (February 28, 2013)
* New optional configuration parameter `timeout` which lets you customize the default timeout.
* Change the Typekit module to use `use.typekit.net` instead of `use.typekit.com`.
* Disable height check on OSX and iOS WebKit based browsers which suffer from a metrics bug when loading web fonts.
v1.2.1 (February 26, 2013)
* Fix the possibility of test strings wrapping to a new line and thereby breaking font watching.
* Change the FontWatchRunner to not create DOM elements until it is started.
* Fix the possibility of extraneous whitespace in class names.
* Add a cache buster parameter to the Monotype/Fonts.com module.
* Fix the case where there are no fonts to load. Webfontloader will now fire the inactive event correctly.
* Test suite now uses the active browser to test font watching in addition to the mocked font watching tests.
* Test suite is now using Jasmine instead of JSTestDriver.
v1.2.0 (January 30, 2013)
* Improved font watching for browsers with the WebKit web font fallback bug
* Improved font watching in general by comparing both width and height
* UserAgent user interface has changed with the introduction of a BrowserInfo object that contains information derived from the user agent string
* The custom module now supports loading font variations
v1.1.2 (January 21, 2013)
* Added parameter to Google module to do character based subsetting.
* Made WebKit useragent check less strict about capitalization for LG L160 phones that apparently use 'AppleWebkit' instead of 'AppleWebKit' in their useragent strings.
v1.1.1 (December 12, 2012)
* Added the ability to recognize BlackBerry devices, which have web font support (WOFF) in platform version 10+
* Added a new browser name "BuiltinBrowser" to recognize built-in browsers on mobile platforms which we previously called "Safari" (applies to Android's "Browser" app and BlackBerry's built-in browser)
* Fixed a bug in the Monotype module which caused a double active event in IE9 and no active event in IE8 (reported in issue #64)
* Fixed some typos in the demo pages
v1.1.0 (December 5, 2012)
* Adds the ability to load fonts into a same-origin child window or iframe using the new optional `context` configuration option (thanks to @ryanwolf of Google).
* Updates the demos to fix broken stuff and demonstrate the new context option in action.
* DomHelper interface changed to take the main window and an optional separate window for loading.
* Methods added to retrieve both windows and get the correct protocol for assets from the location's protocol.
v1.0.31 (September 11, 2012)
* Improvements to Google's module to recognize more variation descriptor formats (such as 100italic and 200n).
v1.0.30 (August 17, 2012)
* Added support for detecting the Windows Phone platform in UserAgentParser, which supports web fonts at version 8 and above.
* Changes to make the global namespace of the library easier to configure when used in 3rd-party projects. (Thanks cbosco!)
v1.0.29 (July 26, 2012)
* Added test to ensure Firefox for Android is properly detected as "Firefox" by UserAgentParser.
* Added test to ensure Opera Mobile for Android is properly detected as "Opera" by UserAgentParser.
* Changed detection so that Chrome for iOS is detected as "Chrome" instead of "Safari".
* Changed detection so that Opera Mini is correctly detected as "OperaMini" (without font support) instead of "Opera" (with font support).
* Fixed a bug in Google Web Fonts module when requesting a font family with character sets and no variations.
* Scaled back the number of fall back fonts used in the Google Web Fonts font watching code.
v1.0.28 (June 4, 2012)
* Added support for detecting the Chrome OS platform ("CrOS") in the UserAgentParser.
v1.0.27 (April 20, 2012)
* Updated DomHelper to not require a UserAgent instance. Feature-detection is not used instead of UA detection for switching DOM methods.
v1.0.26 (February 8, 2012)
* Updated the included version of the Closure JS compiler jar to 1741, to handle newer annotation styles.
* Added a missing param annotation for the new FontWatcher.watch argument.
* Added param annotations for Google's custom FontWatchRunner implementation.
* Updated the Google Web Fonts API parser to accept family names with a plus sign.
v1.0.25 (February 7, 2012)
* Updated the user agent parser to recognize Chrome for Android properly as a Chrome browser.
v1.0.24 (January 9, 2012)
* Updated the standard test string from "BESs" to "BESbswy" for more width variability.
* Improved Google's custom FontWatchRunner implementation for Webkit to work around an issue where the browser reports the 400 weight's width when it is already loaded.
v1.0.23 (November 29, 2011)
* Made the FontWatchRunner implementation configurable on a module-by-module basis.
* Added a new .start() method to FontWatchRunner to actually kick off font loading detection.
* Added a different FontWatchRunner implementation that Google's module uses to work around a Webkit browser bug. This implementation won't trigger active early, but may trigger active much later, so it's not the default for all modules.
* Updated the implementation of Fontdeck's module to defer loading responsibility to their JS.
v1.0.22 (July 1, 2011)
* Fixed a bug in Webkit-based browsers with font detection where active would trigger without the font actually being active yet.
* Increased the frequency of checking the widths of the font watcher spans.
v1.0.21 (June 17, 2011)
* Added a protocol detect for the Typekit module so JS is loaded securely on secure pages. Thanks to bee525 for the pull request.
v1.0.20 (March 30, 2011)
* Changed CSS style for hidden span so it's not affected by inline or floated elements at the end of the body
v1.0.19 (March 3, 2011)
* Add a module for Monotype.
v1.0.18 (January 24, 2011)
* Improve behavior of CSS classes over multiple loads on a single page. (Documented in docs/EVENTS.md)
* Add support for international subsets in the Google module.
* Add a module for Fontdeck.
v1.0.17 (December 1, 2010)
* Changed CSS style for hidden span in order to be less affected by environment
* Removed restriction on iPhone/iPad/iPod in the google modules
v1.0.16 (November 18, 2010)
* Fix a bug where we fail to detect that fonts have loaded if they have the same width as the fallback font.
v1.0.15 (October 14, 2010)
* Fix an error parsing platform version in IE, when it has no items following the platform in the UA string.
v1.0.14 (October 14, 2010)
* Bugfix: fixed IE issue in google module.
v1.0.13 (September 30, 2010)
* Added support for detecting Adobe Air.
v1.0.12 (September 30, 2010)
* Bugfix: google module, change the url builder to handle integrations.
v1.0.10 (September 24, 2010)
* Bugfix: extra alert
v1.0.10 (September 22, 2010)
* Add support for customizable FontWatcher test string, for international
fonts.
v1.0.9 (September 10, 2010)
* Bugfix: of the bug fix
v1.0.8 (September 10, 2010)
* Bugfix: fix type definitions
v1.0.7 (August 31, 2010)
* Fix that wf-loading was not removed in the case of wf-inactive because of
a timeout.
* Add UserAgent#getDocumentMode to aid in determining font support in IE.
v1.0.6 (July 20, 2010)
* Add JsDoc comments and type annotations for the Closure compiler. Fixes
several small bugs caught by the compiler in doing so.
v1.0.5 (July 12, 2010)
* webfont.UserAgent now provides getPlatformVersion. WebFont Loader is now
packaged as a ruby gem.
v1.0.4 (June 14, 2010)
* Add a module for Ascender's Fonts Live.
v1.0.3 (June 6, 2010)
* IE fixes.
v1.0.2 (June 1, 2010)
* Added a way of loading the WebFont Loader script asynchronously.
v1.0.1 (May 20, 2010)
* Fix namespace pollution by wrapping all of the code in a closure.
v1.0.0 (May 19, 2010)
* Initial release!
* Modules: google, typekit, custom
* Events: loading, active, inactive, fontloading, fontactive, fontintactive