Skip to content

Releases: visionmedia/page.js

1.11.5

27 Sep 11:17
Compare
Choose a tag to compare

This is a patch release contain bug fixes for IE11.

1.11.4

29 Jan 11:58
Compare
Choose a tag to compare

This is a patch release, fixing an issue with pushState use within the file:// protocol.

1.11.3

09 Nov 12:17
Compare
Choose a tag to compare

Fixes a regression with options being passed into start()

1.11.2

05 Nov 11:52
Compare
Choose a tag to compare

Fixes a bad build that was created in 1.11.1

1.11.1

31 Oct 22:35
Compare
Choose a tag to compare

This is a patch release, fixing a bug with the page instance being configured twice when page.create() is used. Specials thanks to @jsnajdr for this bug fix. Pull request

1.11.0

24 Oct 21:16
df926c2
Compare
Choose a tag to compare

This is a minor release that adds the clickHandler property.

1.10.2

24 Sep 21:01
Compare
Choose a tag to compare

This is a patch release, fixing #501

1.10.1

08 Sep 13:03
f48d3f1
Compare
Choose a tag to compare

This is a patch release, fixing an issue from when clicking a link from within a page with query parameters, and navigating to the same page (such as a hash). Previously the querystring was not included in the Context object. This fixes that.

1.10.0

07 Sep 11:07
Compare
Choose a tag to compare

This is a minor release, adding the new page.create() API, for creating distinct page objects.

Calling page.create(options) create a new page function that behaves just like the global page. It contains its own internal state, options, and event handlers. You can target the page to another window, like an iframe or a popup, if you want.

var newPage = page.create({
  window: someIframe.contentWindow
});

The main reason for adding this feature was to clean up or testing infrastructure. Numerous things had to be done in the past to make sure each test was cleanly in isolation. That stuff is no longer necessary now that we can just create a new page instance for each test.

1.9.0

06 Sep 10:51
Compare
Choose a tag to compare

This is a minor release, adding a new ES module bundle to the distributed package. This module is available as page.mjs. It contains one export, the default export which is the usual page object.

<script type="module">
  import page from "//unpkg.com/page/page.mjs";

  page('/home', () => {
    showHome();
  });
  page();
</script>