Releases: sindresorhus/pageres
1.3.0 - mare-osculation
Update
$ npm install --global pageres
Highlights
- New
userAgent
option. - The callback in
pageres.run()
is now optional. 63b6e36 - Improved cleanup of temporary files on error. 71e5979
Changes
1.2.2
1.2.1
1.2.0 - melodramatic-platypus
1.1.0 - furry-santa
This update introduces ability to hide DOM-elements and set the page scale. The filename
option gained a width
and height
variable for the template. Some bugs were also squashed.
Update
$ npm update --global pageres
Highlights
- Add
hide
option. 66ed339 - Add
scale
option. 1061719 #137 - Add
width
andheight
variables for thefilename
template. c62b3f2 #138 - Remove temporary files if the process exits early. b7a5a61 #127
- Ensure the
cookie
option is always an array. 1199bfb #146
Changes
🎄 Happy holidays from Sindre and Kevin! 🎄
1.0.1 - bugfix-mushrooms
1.0.0 - drowsy-mammalian
Welcome friend! This time around we've added some handy new features like being able to capture a specific element on the page using a CSS selector. We've added Basic HTTP authentication support for those of you that want to capture a protected website (we already support cookies for other authentication methods). You're now also able to customize the filenames to be whatever you want using some handy properties we supply. Seeing as PhantomJS is still using a really old version of WebKit we've bundled es5-shim to have websites work better automagically. Here's to hoping PhantomJS 2 will be released soon!
Update
$ npm install --global pageres
Highlights
- Add ability to capture specific DOM elements. (edfb910)
- Add support for basic HTTP authentication. (5218613)
- Add support for customizable filenames. (33462e1, 9210d8d)
- Allow setting options for a specific source. (f92b671, ac750d4)
- Add support for supplying cookies as an object in the API. (5e6aee6)
- Add
--verbose
CLI flag for showing more info like website errors. (596a41f) - Add
warn
event to the API for reporting website errors. (596a41f) - Use es5-shim to provide support for all ES5 methods. (d297edc)
- Improve error reporting. (530b5d5)
- The screenshot capturing functionality was extracted into a separate module.
Changes
0.4.0 - legendary-pottery
$ npm update --global pageres
Highlights
- Cookie support (5f8961a) Thanks to @ScottWeinstein
- Set the viewport size before loading a page.
Doing it after load caused problems with some sites. (cebdd5b) - Add
-cropped
postfix to files when thecrop
option is used. (0d5c04d) - Add special size keyword
w3counter
that resolves into the ten most popular resolutions from w3counter.
Changes
0.3.0 - successive-siesta
The most useful feature in this release is probably the argument grouping.
It lets you define groups of url/sizes:
Update
$ npm update --global pageres
Highlights
- Argument grouping 5c6ddc6
- New and improved programmatic API 802eb69
- Ability to specify keywords for sizes
- Crop option b95e984
- Delay option 53bb8f3
- Support for local paths ce39ffd
- Add back
@font-face
support 5ecb236 - Use with task runners like grunt/gulp/broccoli
Changes
Huge thanks to @kevva for doing most of the work!