2011-06-22 09:54:36 +04:00
|
|
|
Please see also http://code.google.com/p/phantomjs/wiki/ReleaseNotes.
|
|
|
|
|
2012-09-08 08:11:56 +04:00
|
|
|
Version 1.7.0
|
|
|
|
|
|
|
|
New features
|
|
|
|
|
|
|
|
* Added a module system modelled after CommonJS/Node.js (issue 47)
|
|
|
|
* Static build on Linux (issue 413)
|
|
|
|
* Added run-time detection of SSL support (issue 484)
|
2012-09-18 11:41:20 +04:00
|
|
|
* Added more events support (issue 492, 712)
|
2012-09-08 08:11:56 +04:00
|
|
|
* Added support for disabling automatic proxy detection (issue 580)
|
|
|
|
* Added more cookies-related API (issue 761)
|
|
|
|
|
|
|
|
Improvements
|
|
|
|
|
|
|
|
* Refactored command-line options handling (issue 55)
|
2012-09-18 11:41:20 +04:00
|
|
|
* Improved the workflow for producing release builds (issue 599)
|
2012-09-08 08:11:56 +04:00
|
|
|
* Improved cookies implementation (issue 603, 761)
|
|
|
|
* Fixed OS version number with Windows 8 and Mountain Lion (issue 684, 688)
|
|
|
|
* Fixed HAR navigation info in the netsniff example (issue 733)
|
|
|
|
* Fixed compile warnings with Visual Studio (issue 744)
|
2012-09-18 11:41:20 +04:00
|
|
|
* Removed hacks for static linking on Windows (issue 753)
|
|
|
|
* Added ICO image handling on Windows (issue 779)
|
2012-09-08 08:11:56 +04:00
|
|
|
|
2012-07-22 00:45:39 +04:00
|
|
|
2012-07-22: Version 1.6.1
|
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
|
|
|
|
* Don't build the deploy in debug mode (issue 599)
|
|
|
|
* Fixed building on Windows (issue 424)
|
|
|
|
* Fixed remote inspector when building statically (issue 430)
|
|
|
|
|
2012-06-21 08:24:30 +04:00
|
|
|
2012-06-20: Version 1.6.0 "Lavender"
|
|
|
|
|
|
|
|
New features
|
|
|
|
|
|
|
|
* Added support for passing arguments to WebPage's evaluate (issue 132)
|
2012-06-26 19:17:41 +04:00
|
|
|
* Added callbacks for JavaScript onConfirm and onPrompt (issue 133)
|
2012-06-21 08:24:30 +04:00
|
|
|
* Added stack trace when error occurs (issue 166)
|
2012-09-04 19:04:26 +04:00
|
|
|
* Added support for local storage path and quota (issue 300)
|
2012-06-21 08:24:30 +04:00
|
|
|
* Added initial support for cookies handling (issue 354)
|
|
|
|
* Added support for header footer when printing the page (issue 410, 512)
|
|
|
|
* Added headers support in the loading request (issue 452)
|
|
|
|
* Added support to render the web page as base64-encoded string (issue 547)
|
|
|
|
* Added hooks for navigation event (issue 562)
|
|
|
|
* Added command-line option to show debug messages (issue 575)
|
|
|
|
* Added support for the zoom factor for web page rendering (issue 579)
|
|
|
|
* Added crash reporter for Mac OS X and Linux, based on Google Breakpad (issue 576)
|
|
|
|
* Added 'os' object to the system module (issue 585)
|
|
|
|
* Added support for asynchronous evaluation (issue 593)
|
|
|
|
|
|
|
|
Improvements
|
|
|
|
|
|
|
|
* Fixed remote debugging to work on Mac OS X and Windows (issue 430)
|
|
|
|
* Fixed web server getting the dropped connection for empty response (issue 451)
|
|
|
|
* Fixed text rendered as boxes (squares) on headless Linux (issue 460)
|
|
|
|
* Updated Qt to version 4.8.2 (issue 495)
|
|
|
|
* Updated CoffeeScript compiler to version 1.3.3 (issue 496)
|
|
|
|
* Fixed the build script to detect and use MAKEFLAGS (issue 503)
|
|
|
|
* Fixed the build script to properly pass Qt config flags (issue 507)
|
|
|
|
* Changed Info.plist to be embedded in Mac OS X executable (issue 528)
|
|
|
|
* Fixed wrong module require in the imagebin example (issue 536)
|
|
|
|
* Fixed example scripts to exit with the right exit code (issue 544)
|
|
|
|
* Fixed build failure with glib 2.31.0+ (issue 559)
|
|
|
|
* Fixed error handler failures in some cases (issue 589)
|
2012-06-21 09:53:14 +04:00
|
|
|
* Fixed Twitter-related examples to work with the new site (issue 609)
|
2012-06-21 08:24:30 +04:00
|
|
|
|
2012-03-20 10:50:28 +04:00
|
|
|
2012-03-20: Version 1.5.0 "Ghost Flower"
|
|
|
|
|
|
|
|
New features
|
|
|
|
|
|
|
|
* Added interactive mode, also known as REPL (issue 252)
|
|
|
|
* Added setting for web security, to allow cross domain XHR (issue 28)
|
|
|
|
* Added error handler for WebPage object (issue 166)
|
|
|
|
* Added support for custom HTTP header in the network request (issue 77)
|
|
|
|
* Added support for read write encoding in the file system module (issue 367)
|
|
|
|
* Added remote debugging support on Linux (issue 6)
|
|
|
|
* Added support for proxy authentication (issue 105)
|
|
|
|
* Added System module, to retrieve environment variables (issue 271) and arguments (issue 276)
|
|
|
|
* Added fs.readLink function (issue 329)
|
|
|
|
* Added support for reading and writing binary data (issue 400)
|
|
|
|
* Added support to retrieve request data in the WebServer? module (issue 340)
|
|
|
|
* Added support for individual top/bottom/left/right print margins (issue 388)
|
|
|
|
* Added command-line option --help (issue 347)
|
|
|
|
* Added short command-line options -v and -h (issue 408)
|
|
|
|
* Removed support for Flash and other plugins (issue 418)
|
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
|
|
|
|
* Fixed multiple console.log arguments (issue 36)
|
|
|
|
* Fixed file upload (issue 307)
|
|
|
|
* Fixed the web server instance to be asynchronous (issue 326) and still support Keep Alive (issue 416)
|
|
|
|
* Workaround Qt 4.8.0 crash due to empty URL scheme (issue 365)
|
|
|
|
* Fixed a Content-Type problem where POST does not work (issue 337)
|
2012-03-21 04:52:31 +04:00
|
|
|
* Fixed reading body request in the web server even without specific Content-Type (issue 439)
|
2012-03-20 10:50:28 +04:00
|
|
|
* Fixed Jasmine test runner with Jasmine 1.1 (issue 402)
|
2012-03-21 04:52:31 +04:00
|
|
|
* Fixed request URL formatting in the web server (issue 437)
|
2012-03-20 10:50:28 +04:00
|
|
|
* Don't display debugging and warning messages (issue 323)
|
|
|
|
|
2011-12-30 20:28:56 +04:00
|
|
|
2011-12-31: Version 1.4.1
|
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
|
|
|
|
* Fix setting the proxy type (issue 266)
|
|
|
|
* Workaround for file upload regression (issue 307)
|
|
|
|
* Fix extraneous messsages in non-debug mode (issue 323)
|
|
|
|
|
2011-12-19 13:14:31 +04:00
|
|
|
2011-12-22: Version 1.4.0 "Glory of the Snow"
|
|
|
|
|
|
|
|
New features
|
|
|
|
|
|
|
|
* Added embedded HTTP server (issue 115)
|
2011-12-19 20:22:06 +04:00
|
|
|
* Added convenient build script for Linux (issue 197)
|
|
|
|
* Added support for SOCKS5 proxy (issue 266)
|
2011-12-20 05:50:49 +04:00
|
|
|
* Updated CoffeeScript compiler to version 1.2 (issue 312)
|
2011-11-06 08:10:46 +04:00
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
|
2011-12-19 20:22:06 +04:00
|
|
|
* Fix potential crash in QUrl with Qt 4.8 (issue 304)
|
2011-12-19 13:14:31 +04:00
|
|
|
* Fix bug in CookieJar with QSettings and string (PyPhantomJS issue 10)
|
2011-12-20 06:40:26 +04:00
|
|
|
* Prevent showing the icon on Mac OS X Dock (issue 281)
|
2011-12-19 13:14:31 +04:00
|
|
|
|
|
|
|
Examples
|
|
|
|
|
|
|
|
* Added a new example to detect browsers sniffing (issue 263)
|
2011-12-19 20:22:06 +04:00
|
|
|
* Added HTTP server example (issue 115)
|
2011-11-06 08:10:46 +04:00
|
|
|
|
2011-09-15 11:25:15 +04:00
|
|
|
2011-09-23: Version 1.3.0 "Water Lily"
|
2011-06-26 10:59:16 +04:00
|
|
|
|
2011-06-27 20:08:56 +04:00
|
|
|
Bug fixes
|
|
|
|
|
2011-09-08 18:34:19 +04:00
|
|
|
* Fixed open() and POST method, without specifying the finished handler
|
2011-08-21 10:26:24 +04:00
|
|
|
* Fixed script execution warning dialog (issue 165)
|
2011-09-08 18:34:19 +04:00
|
|
|
* Added WebPage.release() to free the web page from memory (issue 154)
|
2011-09-15 11:23:04 +04:00
|
|
|
* Added special handling of about:blank (issue 235)
|
|
|
|
* Made a separate network access manager for each page (issue 190)
|
2011-06-27 20:08:56 +04:00
|
|
|
|
2011-07-19 21:48:40 +04:00
|
|
|
New features
|
|
|
|
|
2011-09-17 08:57:57 +04:00
|
|
|
* Introduced file system API based on CommonJS Filesystem proposal (issue 129)
|
2011-09-08 18:34:19 +04:00
|
|
|
* Added support for persistent cookies (issue 91)
|
2011-09-16 18:15:21 +04:00
|
|
|
* Added event handling, currently only for mouse events (issue 234)
|
2011-09-15 11:23:04 +04:00
|
|
|
* Added page scroll position (issue 162)
|
2011-09-16 18:31:22 +04:00
|
|
|
* Added HTTP authentication support (issue 45)
|
2011-08-21 04:56:18 +04:00
|
|
|
* Added callback for page initialization (issue 143)
|
2011-08-21 10:26:24 +04:00
|
|
|
* Added support to specify script and output encoding (issue 186)
|
2011-09-08 18:34:19 +04:00
|
|
|
* Added option to allow local content to do cross-domain access (issue 28)
|
|
|
|
* Added support to apply configurations from a JSON file (issue 180)
|
|
|
|
* Added a convenient WebPage initialization construction (issue 206)
|
|
|
|
* Added option to limit the size of disk cache (issue 220)
|
2011-07-19 21:48:40 +04:00
|
|
|
|
2011-06-26 13:52:25 +04:00
|
|
|
Examples
|
|
|
|
|
2011-09-08 18:34:19 +04:00
|
|
|
* Added a new example on using Modernizr to detect features (issue 144)
|
|
|
|
* Fixed pizza.js example to use Mobile Yelp (issue 200)
|
2011-09-17 04:46:05 +04:00
|
|
|
* Fixed netsniff.coffee example due to wrong indentation (issue 225)
|
2011-09-15 11:23:04 +04:00
|
|
|
* Added an example to show live network traffic (issue 227)
|
2011-09-17 04:46:05 +04:00
|
|
|
* Added an example demonstrating different output encodings (issue 186)
|
2011-06-26 13:52:25 +04:00
|
|
|
|
2011-09-15 11:25:15 +04:00
|
|
|
2011-06-21: Version 1.2.0 "Birds of Paradise"
|
2011-06-22 09:54:36 +04:00
|
|
|
|
|
|
|
Version 1.2.0 is a major update. It introduces a whole set of new API.
|
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
|
|
|
|
* Fixed rendering a very large web page (issue 54)
|
|
|
|
* Fixed reporting of CoffeeScript compile error (issue 125)
|
|
|
|
|
|
|
|
New features
|
|
|
|
|
|
|
|
* Added callback for console message (issue 12)
|
|
|
|
* Improved security model via WebPage object (issue 41)
|
|
|
|
* Added support for POST, HEAD, PUT, and DELETE (issue 88)
|
|
|
|
* Scripts filename is now passed as phantom.scriptName
|
|
|
|
* Added callback to capture resource requests and responses (issue 2)
|
|
|
|
* Added the ability to load external JavaScript (issue 32)
|
|
|
|
|
|
|
|
Examples
|
|
|
|
|
|
|
|
* Ported examples to use WebPage object
|
|
|
|
* Added a new example to upload an image to imagebin.org
|
|
|
|
* Added a new example to show HTTP POST feature
|
|
|
|
* Added a new example to sniff network traffic and save it in HAR format
|
|
|
|
|
|
|
|
|
2011-09-15 11:25:15 +04:00
|
|
|
2011-04-27: Version 1.1.0 "Cherry Blossom"
|
2011-01-29 10:19:14 +03:00
|
|
|
|
|
|
|
Fixed the script loading to use UTF-8 encoding (Yasuhiro Matsumoto).
|
|
|
|
|
|
|
|
Added check for system proxy setting (Yasuhiro Matsumoto).
|
|
|
|
|
|
|
|
Fixed building with Cygwin and Qt 4.5 (John Dalton).
|
|
|
|
|
|
|
|
Added a new example: driver for QUnit tests (Łukasz Korecki).
|
|
|
|
|
|
|
|
Fixed issue #20: problem with JPG transparent color (Alessandro Portale).
|
|
|
|
|
2011-02-14 09:49:35 +03:00
|
|
|
Fixed issue #9: ignore first line starting with #! (Matthias, aka fourplusone).
|
|
|
|
|
|
|
|
Fixed issue #7: support for file upload for form submission (Matthias, aka fourplusone).
|
|
|
|
|
|
|
|
Fixed issue #35: support for disabling images loading (Ariya Hidayat).
|
|
|
|
|
|
|
|
Fixed issue #14: enable or disable plugins (Ariya Hidayat).
|
|
|
|
|
2011-02-17 11:34:50 +03:00
|
|
|
Added a new example: using Canvas to produce the color wheel (Ariya Hidayat).
|
|
|
|
|
2011-02-20 09:07:22 +03:00
|
|
|
Added support for rasterizing as GIF image (Ariya Hidayat).
|
|
|
|
|
2011-03-02 11:41:23 +03:00
|
|
|
Added support for CoffeeScript (Ariya Hidayat).
|
|
|
|
|
2011-03-14 07:35:05 +03:00
|
|
|
Fixed issue #19: option for setting the proxy (Clint Berry, Ariya Hidayat).
|
|
|
|
|
2011-04-13 09:06:21 +04:00
|
|
|
Python implementation using PyQt (James Roe).
|
|
|
|
|
|
|
|
Fixed issue #17: Specify paper size for PDF export (Alessandro Portale).
|
|
|
|
|
2011-03-19 09:40:40 +03:00
|
|
|
Fixed issue #60: Win32 and OS/2 icon files (Salvador Parra Camacho).
|
|
|
|
|
2011-04-13 09:06:21 +04:00
|
|
|
Added clipping rectangle to the render function (Wouter de Bie).
|
|
|
|
|
|
|
|
Added an example on sychronous waiting (Gabor Torok).
|
|
|
|
|
|
|
|
Added command line option to use disk cache (Jon Turner).
|
|
|
|
|
2011-04-14 06:37:14 +04:00
|
|
|
Added text extracting example (Weston Ruter).
|
|
|
|
|
2011-04-22 22:34:31 +04:00
|
|
|
Fixed issue #93: Build with Qt < 4.7 (Ariya Hidayat).
|
|
|
|
|
|
|
|
Ported all examples to CoffeeScript (Robert Gieseke).
|
|
|
|
|
2011-01-17 13:17:42 +03:00
|
|
|
2011-01-17: Version 1.0.0
|
|
|
|
|
|
|
|
Initial launch.
|
|
|
|
|
|
|
|
The API is centralized at the 'phantom' object (as child of
|
|
|
|
window object) which has the properties: args, content,
|
|
|
|
loadStatus, state, userAgent, version, viewportSize, and
|
|
|
|
the following functions: exit, open, render, sleep.
|
|
|
|
|
|
|
|
Several examples are included, among others: web page rasterizer,
|
|
|
|
weather service, headless test framework driver, and many others.
|