- Change: the logic when passing
jsdom.enva string is more accurate, and you can be explicit by using thehtml,url, orfileproperties. This is a breaking change in the behavior ofhtml, which used to do the same auto-detection logic as the string-only version. - Fix: errors raised in scripts are now passed to
jsdom.env's callback. (@airportyh) - Fix: set
window.location.hrefcorrectly when usingjsdom.envto construct a window from a URL, when that URL causes a redirect. (@fegs) - Add: a more complete and accurate
window.locationobject, which includes firinghashchangeevents when the hash is changed. (@dai-shi) - Add: when using a non-implemented feature, mention exactly what it was that is not implemented in the error message. (@papandreou)