PhantomJS Changelog

What's new in PhantomJS 1.9.0

Apr 10, 2013
  • New features:
  • Added spawn and execFile to execute external programs (issue 10219)
  • Added the ability to abort network requests (issue 10230)
  • Added system access to stdin, stdout, and stderr (issue 10333)
  • Added support for custom CA certificates location (issue 10916)
  • Added seek function to the File stream (issue 10937)
  • Implemented file read for a specified number of bytes (issue 10938)
  • Added a callback to handle network error (issue 10954, 10997)
  • Added custom encoding support when opening a page (issue 11043)
  • Implemented require.stub() support for a factory function (issue 11044)
  • Added page loading indicator and progress (issue 11091)
  • Added a timeout option for network requests (issue 11129)
  • Improvements:
  • Fixed the build on FreeBSD (issue 10597)
  • Ensured a consistent 72 dpi for Linux headless rendering (issue 10659)
  • Fixed possible PDF error due to invalid CreationDate field (issue 10663)
  • Fixed crash when uploading non existing files (issue 10941)
  • Improved the autocomplete internal of the interactive/REPL mode (issue 10943)
  • Fixed possible crash when accessing inline frames (issue 10947)
  • Changed Linux binary package setup to be built on CentOS 5 (issue 10963)
  • Extended SSL ignore setting to synchronous XHR (issue 10985)
  • Added convenient constants for modifier keys (issue 11056)
  • Fixed incorrect date handling in the cookies (issue 11068)
  • Updated GhostDriver to version 1.0.3 (issue 11146)
  • Examples:
  • Fixed invalid data URI in the netsniff example (issue 10740)
  • Implemented a new weather example (issue 10794)
  • Fixed rendering issues in render_multi_url (issue 11021)
  • Fixed proper event sequence in page_events example (issue 11028)
  • Miscellanous tweaks (issue 11082)

New in PhantomJS 1.8.0 (Jan 18, 2013)

  • New features:
  • Integrated GhostDriver as the WebDriver implementation (issue 49)
  • Added an option to specify the SSL protocol (issue 174)
  • Added encoding support for WebServer's response (issue 505)
  • Added process ID (PID) to the System module (issue 769)
  • Added properties to obtain page and frame title (issue 799)
  • Added page navigation methods (issue 808)
  • Added a limit for authentication attempts (issue 826)
  • Added support for modifier keys in keyboard events (issue 835)
  • Added onFilePicker callback for more generic file upload API (issue 843)
  • Added the ability to set the page content and location (issue 909)
  • Improvements:
  • Fixed date parsing in ISO8601 format (issue 187, 267)
  • Fixed window.location (issue 530, 632)
  • Deregistered multiple callback handler (issue 807)
  • Fixed sending of double-click events (issue 848)
  • Increases maximum number of redirects (issue 849)
  • Fixed keycodes sent for lowercase characters (issue 852)
  • Fixed a regression in table row page break (issue 880)
  • Completed the CoffeeScript version of the examples (issue 907)
  • Updated Qt to version 4.8.4 (issue 918)
  • Fixed potential hang in some example scripts (issue 922)

New in PhantomJS 1.7.0 (Sep 24, 2012)

  • New features:
  • Added a module system modelled after CommonJS/Node.js (issue 47)
  • Added support for window pop-up (issue 151)
  • Static build on Linux (issue 413)
  • Added run-time detection of SSL support (issue 484)
  • Added more events support (issue 492, 712)
  • Added support for disabling automatic proxy detection (issue 580)
  • Provided page closing callback (issue 678)
  • Added methods to access URL, frames URL, frame Content (issue 758)
  • Added more cookies-related API (issue 761)
  • Improvements:
  • Refactored command-line options handling (issue 55)
  • Improved the workflow for producing release builds (issue 599)
  • Improved cookies API and implementation (issue 603, 761)
  • Improved frame switching API (issue 654)
  • Fixed iframe handling regression (issue 683)
  • 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)
  • Removed hacks for static linking on Windows (issue 753)
  • Added ICO image handling on Windows (issue 779)
  • Fixed font antialiasing on Windows (issue 785)
  • Improved Jasmine test runner for Jasmine 1.2 (issue 792)

New in PhantomJS 1.6.0 (Jun 25, 2012)

  • New features:
  • Added support for passing arguments to WebPage's evaluate (issue 132)
  • Added callbacks for JavaScript onConfirm and onAlert (issue 133)
  • Added stack trace when error occurs (issue 166)
  • 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)
  • Fixed Twitter-related examples to work with the new site (issue 609)

New in PhantomJS 1.4.1 (Jan 23, 2012)

  • WebServer module
  • Static build script
  • Various bug fixes