Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

v1.2.0

Compare
Choose a tag to compare
@adieuadieu adieuadieu released this 06 Aug 17:41
7bd9ac6

Summary

This release includes a number of new API methods, a few enhancements, and some fixes. Important to note is that we've made some API method name changes as we've settled on a method naming convention. According to semver, we should bump the version to 2.0.0, however just this time, we're not going to since the project is still new and likely not yet in production in a lot of places. Many profuse apologies to our semver-purist friends.

Many thanks to all the contributors who have contributed much of the new API functionalities. 🙇 🚀🎉 A special thanks to @criticalbh and @joeyvandijk for a great job implementing many of the API methods requested by the community. 🔥 🏆 💯

Changelog

Added

Changed

  • Breaking: renamed cookiesClear() to deleteCookies(), cookiesClearAll() to clearCookies() #123 @joeyvandijk
  • Breaking: renamed cookiesGet(name: string | query: CookieQuery) to cookies(name: string | query: CookieQuery), cookiesGet() to cookies() and cookiesGetAll() to allCookies() #183 @criticalbh
  • Breaking: renamed cookiesSet() to setCookies(), cookiesGet() to cookies() and cookiesGetAll() to allCookies() #185 @adieuadieu

Fixed

  • Chromeless can now be imported into TypeScript projects with activated strictNullChecks compiler option #154 @clebert
  • Fixed an issue in clearCookies() to check that it can clear cookies before trying to clear them #123 @joeyvandijk
  • When initialising runtime with options.launchChrome = false, use port from options instead of this.chromeInstance, the latter of which does not contain port information when Chromeless did not launch Chrome itself (e.g. in the Proxy) #162, #99 (comment), #159 @torbs
  • Removed packaging excludes in the Proxy so that chrome-launcher dependencies are included in the deployment package. #99 (comment), #173 @adieuadieu
  • We're now using os.tmpdir() when saving screenshots/pdfs to disk. #129, #172, #137 @Kivol, @elisherer