Changed:
- Updated lodash and mocha to resolve security vulnerability warning
Changed:
- Updated devDependencies to latest versions for running tests
Changed:
- Modified request dependency from ^2.83.0 to ^2.88.0 and added package-lock.json file
Added:
- Added Chrome-Lighthouse user agent so Google page speed insight tool will show prerendered pages
Added:
- Looks like I accidentally added
yahoo
instead ofyandex
in the last commit. Fixing that by adding yandex now
Added:
- Added Googlebot, Bingbot, and Yandex to user agent check for new Dynamic Rendering and phase-out of escaped fragment URLs
- Added check for x-prerender header for mobile adaptive feature for websites that serve different HTML to mobile vs desktop crawlers
Changed:
- Fixing test that checked for the old endpoint
Changed:
- Point to https endpoint for prerender service instead of http
Removed:
- Node 0.10 support
- Node 0.12 support
Changed:
- Bumped request dependency version
Added:
- Node 8 to travis.yml
Added:
- Added Bitrix24 and Xing user agents.
Changed:
- Fixing wrong version of request. :)
Changed:
- Pinned node request module to 2.81.1 since they bumped a dependency version that required a newer version of node. prerender-node still supports older versions of node so pinned an earlier version of request until we officially dont support older versions of node.
New features:
- Added pinterestbot to user agents being checked.
New features:
- Added Qwantify to user agents being checked.
Changed
- Added
host
parameter documentation to README
New features:
- Adds an option to be able to pass options to the request sent to the prerender.
New features:
- Check for Google Page Speed user agent in order to send prerendered pages when URLs are tested through their tool
Changed
- extensionsToIgnore check is now case insensitive
Changed
- When creating the URL to send to Prerender, check to see if
x-forwarded-host
is set and use that before using thehost
header.
New features:
- Check for Skype user agent in order to send prerendered pages when URLs are shared through Skype chat
- Check for nuzzel user agent
- Check for discordbot user agent
Changed
- Don't send the
host
header ifforwardHeaders
is enabled to prevent issues with servers that take the Host header and apply it to the URL
New features:
- Check for Tumblr user agent in order to send prerendered pages when URLs are shared through Tumblr
- Check for bitlybot user agent in order to send prerendered pages when URLs are shared through Bitly
Bugfixes:
- fix compatibility with Node.js v6.0.0
Bugfixes:
- Check for more specific pinterest crawler user agent since their iOS app changes the browser user agent to include "pinterest"
- Added svg to list of extensions to check
New features:
- Check for Whatsapp user agent in order to send prerendered pages when URLs are shared through Whatsapp
New features:
- Check for Applebot user agent in order to send prerendered pages to apple for Siri on iOS9
Bugfixes:
-
Make sure we pass through the error, request, and Prerender response to afterRender
Fixed an issue where the original request and Prerender response wasn't getting passed to afterRender after recent change to pass err through. Now works correctly:
afterRender(err, req, prerenderResponse)
Bugfixes:
-
Send HTTPS URLs through correctly.
Fixed an issue where
http
was always added to the URLs sent to Prerender even if the URL was https.
Bugfixes:
-
Stop swallowing errors if the prerender service fails.
Before: If the prerender service errors out (e.g., not available and the request times out), the error is swallowed and
next
called with no args.After: error is passed through to
next
, andprerender.afterRenderFn
is handederr
as the first arg. Makes it much easier to know if you're misconfiguring something or forgot to start the prerender server locally when testing.