| 1 | Please see also http://phantomjs.org/releases.html. |
| 2 | |
| 3 | 2016-01-23: Version 2.1.0 |
| 4 | |
| 5 | New features |
| 6 | |
| 7 | * Upgraded Qt to 5.5.1 (issue #13377) |
| 8 | * Added support for SSL Client Authentication (issue #11275) |
| 9 | * Added support for context menu event (issue #11429) |
| 10 | * Allow remote debugging to use random port assigned by the OS (issue #13432) |
| 11 | |
| 12 | Improvements |
| 13 | |
| 14 | * Allow outer context to access arbitrary URLs (issue #11217) |
| 15 | * Fixed --local-storage-path and localStoragePath config option (issue #11596) |
| 16 | * Restored --local-url-access=no regression (issue #13412) |
| 17 | * Fixed an issue with loading JS modules contains a last-line comment (issue #12868) |
| 18 | * Fixed an issue with returning binary content in WebServer module (issue #13026) |
| 19 | * Fixed encoded URL loading on Windows (issue #12953) |
| 20 | * Fixed building with GCC 5 (issue #13518) |
| 21 | * Fixed file upload (issue #12506) |
| 22 | * Fixed latest OS detection (issue #13829) |
| 23 | |
| 24 | 2015-01-23: Version 2.0.0 |
| 25 | |
| 26 | New features |
| 27 | |
| 28 | * Switched to Qt 5 and updated WebKit (issue 10448) |
| 29 | * Implemented clearing of memory cache (issue 10357) |
| 30 | * Added support for HTTP header change for every request (issue 11299) |
| 31 | |
| 32 | Improvements |
| 33 | |
| 34 | * Fixed rendering of CJK text by always linking the codecs (issue 10249) |
| 35 | * Ensured onResourceReceived is still fired on an error (issue 11163) |
| 36 | * Fixed possible crash in handling network requests (issue 11252) |
| 37 | * Removed hardcoded GhostDriver launching message (issue 12681) |
| 38 | * Allowed disk cache more than 2 GB (issue 12303) |
| 39 | |
| 40 | Examples |
| 41 | |
| 42 | * Netsniff example should exit when fails to load (issue 11333) |
| 43 | |
| 44 | 2014-01-25: Version 1.9.7 |
| 45 | |
| 46 | * Reverted to GhostDriver 1.1.0 instead of 1.1.1 (issue 11915) |
| 47 | * Fixed another warning of obsolete userSpaceScaleFactor on OS X 10.9 (issue 11612) |
| 48 | |
| 49 | 2014-01-20: Version 1.9.6 |
| 50 | |
| 51 | * Updated GhostDriver to version 1.1.1 (issue 11877, 11893) |
| 52 | |
| 53 | 2014-01-19: Version 1.9.3 |
| 54 | |
| 55 | * Fixed CoreText performance note on OS X 10.9 (issue 11418) |
| 56 | * Fixed warning of obsolete userSpaceScaleFactor on OS X 10.9 (issue 11612) |
| 57 | |
| 58 | 2013-09-06: Version 1.9.2 |
| 59 | |
| 60 | * Fixed graphical artifacts with transparent background on Windows (issue 11276, 11007, 11366) |
| 61 | * Updated GhostDriver to version 1.0.4 (issue 11452) |
| 62 | |
| 63 | 2013-06-04: Version 1.9.1 |
| 64 | |
| 65 | Critical bug fixes: |
| 66 | |
| 67 | * Fixed problems with specifying proxy server (issue 10811, 11117) |
| 68 | * Fixed UTF-8 encoding with system.stdout and system.stderr (issue 11162) |
| 69 | * Ensured that onResourceReceived will be always invoked (issue 11163) |
| 70 | * Fixed module loading from an absolute path on Windows (issue 11165) |
| 71 | * Fixed typo in the command-line option for setting the cache size (11219) |
| 72 | * Fixed possible crash when handling network requests (issue 11252, 11338) |
| 73 | |
| 74 | 2013-03-20: Version 1.9.0 "Sakura" |
| 75 | |
| 76 | New features |
| 77 | |
| 78 | * Added spawn and execFile to execute external programs (issue 10219) |
| 79 | * Added the ability to abort network requests (issue 10230) |
| 80 | * Added system access to stdin, stdout, and stderr (issue 10333) |
| 81 | * Added support for custom CA certificates location (issue 10916) |
| 82 | * Added seek function to the File stream (issue 10937) |
| 83 | * Implemented file read for a specified number of bytes (issue 10938) |
| 84 | * Added a callback to handle network error (issue 10954, 10997) |
| 85 | * Added custom encoding support when opening a page (issue 11043) |
| 86 | * Implemented require.stub() support for a factory function (issue 11044) |
| 87 | * Added page loading indicator and progress (issue 11091) |
| 88 | * Added a timeout option for network requests (issue 11129) |
| 89 | |
| 90 | Improvements |
| 91 | |
| 92 | * Fixed the build on FreeBSD (issue 10597) |
| 93 | * Ensured a consistent 72 dpi for Linux headless rendering (issue 10659) |
| 94 | * Fixed possible PDF error due to invalid CreationDate field (issue 10663) |
| 95 | * Fixed crash when uploading non existing files (issue 10941) |
| 96 | * Improved the autocomplete internal of the interactive/REPL mode (issue 10943) |
| 97 | * Fixed possible crash when accessing inline frames (issue 10947) |
| 98 | * Changed Linux binary package setup to be built on CentOS 5 (issue 10963) |
| 99 | * Extended SSL ignore setting to synchronous XHR (issue 10985) |
| 100 | * Added convenient constants for modifier keys (issue 11056) |
| 101 | * Fixed incorrect date handling in the cookies (issue 11068) |
| 102 | * Updated GhostDriver to version 1.0.3 (issue 11146) |
| 103 | |
| 104 | Examples |
| 105 | |
| 106 | * Fixed invalid data URI in the netsniff example (issue 10740) |
| 107 | * Implemented a new weather example (issue 10794) |
| 108 | * Fixed rendering issues in render_multi_url (issue 11021) |
| 109 | * Fixed proper event sequence in page_events example (issue 11028) |
| 110 | * Miscellanous tweaks (issue 11082) |
| 111 | |
| 112 | 2013-03-02: Version 1.8.2 |
| 113 | |
| 114 | Critical bug fixes: |
| 115 | |
| 116 | * Fixed possible PDF error due to invalid CreationDate field (issue 663) |
| 117 | * Fixed crash when uploading non existing files (issue 941) |
| 118 | * Fixed possible crash when accessing inline frames (issue 947) |
| 119 | * Extended SSL ignore setting to synchronous XHR (issue 985) |
| 120 | * Fixed incorrect date handling in the cookies (issue 1068) |
| 121 | |
| 122 | 2013-01-06: Version 1.8.1 |
| 123 | |
| 124 | Critical bug fix: |
| 125 | |
| 126 | * Mac OS X: Fix possible crash when using some TrueType fonts (issue 690) |
| 127 | |
| 128 | 2012-12-21: Version 1.8.0 "Blue Winter Rose" |
| 129 | |
| 130 | New features |
| 131 | |
| 132 | * Integrated GhostDriver as the WebDriver implementation (issue 49) |
| 133 | * Added an option to specify the SSL protocol (issue 174) |
| 134 | * Added encoding support for WebServer's response (issue 505) |
| 135 | * Added process ID (PID) to the System module (issue 769) |
| 136 | * Added properties to obtain page and frame title (issue 799) |
| 137 | * Added page navigation methods (issue 808) |
| 138 | * Added support for modifier keys in keyboard events (issue 835) |
| 139 | * Added onFilePicker callback for more generic file upload API (issue 843) |
| 140 | * Added the ability to set the page content and location (issue 909) |
| 141 | |
| 142 | Improvements |
| 143 | |
| 144 | * Fixed date parsing in ISO8601 format (issue 187, 267) |
| 145 | * Fixed window.location (issue 530, 632) |
| 146 | * Deregistered multiple callback handler (issue 807) |
| 147 | * Fixed sending of double-click events (issue 848) |
| 148 | * Increases maximum number of redirects (issue 849) |
| 149 | * Fixed keycodes sent for lowercase characters (issue 852) |
| 150 | * Fixed a regression in table row page break (issue 880) |
| 151 | * Completed the CoffeeScript version of the examples (issue 907) |
| 152 | * Updated Qt to version 4.8.4 (issue 918) |
| 153 | * Fixed potential hang in some example scripts (issue 922) |
| 154 | |
| 155 | 2012-09-22: Version 1.7.0 "Blazing Star" |
| 156 | |
| 157 | New features |
| 158 | |
| 159 | * Added a module system modelled after CommonJS/Node.js (issue 47) |
| 160 | * Added support for window pop-up (issue 151) |
| 161 | * Static build on Linux (issue 413) |
| 162 | * Added run-time detection of SSL support (issue 484) |
| 163 | * Added more events support (issue 492, 712) |
| 164 | * Added support for disabling automatic proxy detection (issue 580) |
| 165 | * Provided page closing callback (issue 678) |
| 166 | * Added methods to access URL, frames URL, frame Content (issue 758) |
| 167 | * Added more cookies-related API (issue 761) |
| 168 | |
| 169 | Improvements |
| 170 | |
| 171 | * Refactored command-line options handling (issue 55) |
| 172 | * Improved the workflow for producing release builds (issue 599) |
| 173 | * Improved cookies API and implementation (issue 603, 761) |
| 174 | * Improved frame switching API (issue 654) |
| 175 | * Fixed iframe handling regression (issue 683) |
| 176 | * Fixed OS version number with Windows 8 and Mountain Lion (issue 684, 688) |
| 177 | * Fixed HAR navigation info in the netsniff example (issue 733) |
| 178 | * Fixed compile warnings with Visual Studio (issue 744) |
| 179 | * Removed hacks for static linking on Windows (issue 753) |
| 180 | * Added ICO image handling on Windows (issue 779) |
| 181 | * Fixed font antialiasing on Windows (issue 785) |
| 182 | * Improved Jasmine test runner for Jasmine 1.2 (issue 792) |
| 183 | |
| 184 | 2012-07-22: Version 1.6.1 |
| 185 | |
| 186 | Bug fixes |
| 187 | |
| 188 | * Don't build the deploy in debug mode (issue 599) |
| 189 | * Fixed building on Windows (issue 424) |
| 190 | * Fixed remote inspector when building statically (issue 430) |
| 191 | |
| 192 | 2012-06-20: Version 1.6.0 "Lavender" |
| 193 | |
| 194 | New features |
| 195 | |
| 196 | * Added support for passing arguments to WebPage's evaluate (issue 132) |
| 197 | * Added callbacks for JavaScript onConfirm and onPrompt (issue 133) |
| 198 | * Added stack trace when error occurs (issue 166) |
| 199 | * Added support for local storage path and quota (issue 300) |
| 200 | * Added initial support for cookies handling (issue 354) |
| 201 | * Added support for header footer when printing the page (issue 410, 512) |
| 202 | * Added headers support in the loading request (issue 452) |
| 203 | * Added support to render the web page as base64-encoded string (issue 547) |
| 204 | * Added hooks for navigation event (issue 562) |
| 205 | * Added command-line option to show debug messages (issue 575) |
| 206 | * Added support for the zoom factor for web page rendering (issue 579) |
| 207 | * Added crash reporter for Mac OS X and Linux, based on Google Breakpad (issue 576) |
| 208 | * Added 'os' object to the system module (issue 585) |
| 209 | * Added support for asynchronous evaluation (issue 593) |
| 210 | |
| 211 | Improvements |
| 212 | |
| 213 | * Fixed remote debugging to work on Mac OS X and Windows (issue 430) |
| 214 | * Fixed web server getting the dropped connection for empty response (issue 451) |
| 215 | * Fixed text rendered as boxes (squares) on headless Linux (issue 460) |
| 216 | * Updated Qt to version 4.8.2 (issue 495) |
| 217 | * Updated CoffeeScript compiler to version 1.3.3 (issue 496) |
| 218 | * Fixed the build script to detect and use MAKEFLAGS (issue 503) |
| 219 | * Fixed the build script to properly pass Qt config flags (issue 507) |
| 220 | * Changed Info.plist to be embedded in Mac OS X executable (issue 528) |
| 221 | * Fixed wrong module require in the imagebin example (issue 536) |
| 222 | * Fixed example scripts to exit with the right exit code (issue 544) |
| 223 | * Fixed build failure with glib 2.31.0+ (issue 559) |
| 224 | * Fixed error handler failures in some cases (issue 589) |
| 225 | * Fixed Twitter-related examples to work with the new site (issue 609) |
| 226 | |
| 227 | 2012-03-20: Version 1.5.0 "Ghost Flower" |
| 228 | |
| 229 | New features |
| 230 | |
| 231 | * Added interactive mode, also known as REPL (issue 252) |
| 232 | * Added setting for web security, to allow cross domain XHR (issue 28) |
| 233 | * Added error handler for WebPage object (issue 166) |
| 234 | * Added support for custom HTTP header in the network request (issue 77) |
| 235 | * Added support for read write encoding in the file system module (issue 367) |
| 236 | * Added remote debugging support on Linux (issue 6) |
| 237 | * Added support for proxy authentication (issue 105) |
| 238 | * Added System module, to retrieve environment variables (issue 271) and arguments (issue 276) |
| 239 | * Added fs.readLink function (issue 329) |
| 240 | * Added support for reading and writing binary data (issue 400) |
| 241 | * Added support to retrieve request data in the WebServer? module (issue 340) |
| 242 | * Added support for individual top/bottom/left/right print margins (issue 388) |
| 243 | * Added command-line option --help (issue 347) |
| 244 | * Added short command-line options -v and -h (issue 408) |
| 245 | * Removed support for Flash and other plugins (issue 418) |
| 246 | |
| 247 | Bug fixes |
| 248 | |
| 249 | * Fixed multiple console.log arguments (issue 36) |
| 250 | * Fixed file upload (issue 307) |
| 251 | * Fixed the web server instance to be asynchronous (issue 326) and still support Keep Alive (issue 416) |
| 252 | * Workaround Qt 4.8.0 crash due to empty URL scheme (issue 365) |
| 253 | * Fixed a Content-Type problem where POST does not work (issue 337) |
| 254 | * Fixed reading body request in the web server even without specific Content-Type (issue 439) |
| 255 | * Fixed Jasmine test runner with Jasmine 1.1 (issue 402) |
| 256 | * Fixed request URL formatting in the web server (issue 437) |
| 257 | * Don't display debugging and warning messages (issue 323) |
| 258 | |
| 259 | 2011-12-31: Version 1.4.1 |
| 260 | |
| 261 | Bug fixes |
| 262 | |
| 263 | * Fix setting the proxy type (issue 266) |
| 264 | * Workaround for file upload regression (issue 307) |
| 265 | * Fix extraneous messsages in non-debug mode (issue 323) |
| 266 | |
| 267 | 2011-12-22: Version 1.4.0 "Glory of the Snow" |
| 268 | |
| 269 | New features |
| 270 | |
| 271 | * Added embedded HTTP server (issue 115) |
| 272 | * Added convenient build script for Linux (issue 197) |
| 273 | * Added support for SOCKS5 proxy (issue 266) |
| 274 | * Updated CoffeeScript compiler to version 1.2 (issue 312) |
| 275 | |
| 276 | Bug fixes |
| 277 | |
| 278 | * Fix potential crash in QUrl with Qt 4.8 (issue 304) |
| 279 | * Fix bug in CookieJar with QSettings and string (PyPhantomJS issue 10) |
| 280 | * Prevent showing the icon on Mac OS X Dock (issue 281) |
| 281 | |
| 282 | Examples |
| 283 | |
| 284 | * Added a new example to detect browsers sniffing (issue 263) |
| 285 | * Added HTTP server example (issue 115) |
| 286 | |
| 287 | 2011-09-23: Version 1.3.0 "Water Lily" |
| 288 | |
| 289 | Bug fixes |
| 290 | |
| 291 | * Fixed open() and POST method, without specifying the finished handler |
| 292 | * Fixed script execution warning dialog (issue 165) |
| 293 | * Added WebPage.release() to free the web page from memory (issue 154) |
| 294 | * Added special handling of about:blank (issue 235) |
| 295 | * Made a separate network access manager for each page (issue 190) |
| 296 | |
| 297 | New features |
| 298 | |
| 299 | * Introduced file system API based on CommonJS Filesystem proposal (issue 129) |
| 300 | * Added support for persistent cookies (issue 91) |
| 301 | * Added event handling, currently only for mouse events (issue 234) |
| 302 | * Added page scroll position (issue 162) |
| 303 | * Added HTTP authentication support (issue 45) |
| 304 | * Added callback for page initialization (issue 143) |
| 305 | * Added support to specify script and output encoding (issue 186) |
| 306 | * Added option to allow local content to do cross-domain access (issue 28) |
| 307 | * Added support to apply configurations from a JSON file (issue 180) |
| 308 | * Added a convenient WebPage initialization construction (issue 206) |
| 309 | * Added option to limit the size of disk cache (issue 220) |
| 310 | |
| 311 | Examples |
| 312 | |
| 313 | * Added a new example on using Modernizr to detect features (issue 144) |
| 314 | * Fixed pizza.js example to use Mobile Yelp (issue 200) |
| 315 | * Fixed netsniff.coffee example due to wrong indentation (issue 225) |
| 316 | * Added an example to show live network traffic (issue 227) |
| 317 | * Added an example demonstrating different output encodings (issue 186) |
| 318 | |
| 319 | 2011-06-21: Version 1.2.0 "Birds of Paradise" |
| 320 | |
| 321 | Version 1.2.0 is a major update. It introduces a whole set of new API. |
| 322 | |
| 323 | Bug fixes |
| 324 | |
| 325 | * Fixed rendering a very large web page (issue 54) |
| 326 | * Fixed reporting of CoffeeScript compile error (issue 125) |
| 327 | |
| 328 | New features |
| 329 | |
| 330 | * Added callback for console message (issue 12) |
| 331 | * Improved security model via WebPage object (issue 41) |
| 332 | * Added support for POST, HEAD, PUT, and DELETE (issue 88) |
| 333 | * Scripts filename is now passed as phantom.scriptName |
| 334 | * Added callback to capture resource requests and responses (issue 2) |
| 335 | * Added the ability to load external JavaScript (issue 32) |
| 336 | |
| 337 | Examples |
| 338 | |
| 339 | * Ported examples to use WebPage object |
| 340 | * Added a new example to upload an image to imagebin.org |
| 341 | * Added a new example to show HTTP POST feature |
| 342 | * Added a new example to sniff network traffic and save it in HAR format |
| 343 | |
| 344 | |
| 345 | 2011-04-27: Version 1.1.0 "Cherry Blossom" |
| 346 | |
| 347 | Fixed the script loading to use UTF-8 encoding (Yasuhiro Matsumoto). |
| 348 | |
| 349 | Added check for system proxy setting (Yasuhiro Matsumoto). |
| 350 | |
| 351 | Fixed building with Cygwin and Qt 4.5 (John Dalton). |
| 352 | |
| 353 | Added a new example: driver for QUnit tests (Łukasz Korecki). |
| 354 | |
| 355 | Fixed issue #20: problem with JPG transparent color (Alessandro Portale). |
| 356 | |
| 357 | Fixed issue #9: ignore first line starting with #! (Matthias, aka fourplusone). |
| 358 | |
| 359 | Fixed issue #7: support for file upload for form submission (Matthias, aka fourplusone). |
| 360 | |
| 361 | Fixed issue #35: support for disabling images loading (Ariya Hidayat). |
| 362 | |
| 363 | Fixed issue #14: enable or disable plugins (Ariya Hidayat). |
| 364 | |
| 365 | Added a new example: using Canvas to produce the color wheel (Ariya Hidayat). |
| 366 | |
| 367 | Added support for rasterizing as GIF image (Ariya Hidayat). |
| 368 | |
| 369 | Added support for CoffeeScript (Ariya Hidayat). |
| 370 | |
| 371 | Fixed issue #19: option for setting the proxy (Clint Berry, Ariya Hidayat). |
| 372 | |
| 373 | Python implementation using PyQt (James Roe). |
| 374 | |
| 375 | Fixed issue #17: Specify paper size for PDF export (Alessandro Portale). |
| 376 | |
| 377 | Fixed issue #60: Win32 and OS/2 icon files (Salvador Parra Camacho). |
| 378 | |
| 379 | Added clipping rectangle to the render function (Wouter de Bie). |
| 380 | |
| 381 | Added an example on sychronous waiting (Gabor Torok). |
| 382 | |
| 383 | Added command line option to use disk cache (Jon Turner). |
| 384 | |
| 385 | Added text extracting example (Weston Ruter). |
| 386 | |
| 387 | Fixed issue #93: Build with Qt < 4.7 (Ariya Hidayat). |
| 388 | |
| 389 | Ported all examples to CoffeeScript (Robert Gieseke). |
| 390 | |
| 391 | 2011-01-17: Version 1.0.0 |
| 392 | |
| 393 | Initial launch. |
| 394 | |
| 395 | The API is centralized at the 'phantom' object (as child of |
| 396 | window object) which has the properties: args, content, |
| 397 | loadStatus, state, userAgent, version, viewportSize, and |
| 398 | the following functions: exit, open, render, sleep. |
| 399 | |
| 400 | Several examples are included, among others: web page rasterizer, |
| 401 | weather service, headless test framework driver, and many others. |