From 1773a0890c70e464f98bbdbd9f482bff56fa939c Mon Sep 17 00:00:00 2001 From: Behind The Math Date: Thu, 1 Feb 2018 16:25:51 -0500 Subject: [PATCH 1/2] 0.2.5 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1dd230..a7e33ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +# 0.2.5 - 2018-02-02 + +- Fixed: Default switches are now available as `Pjax.switches`. + ([#92](https://github.com/MoOx/pjax/pull/92) - @BehindTheMath) +- Fixed: Async switch functions now work correctly, because the DOM is now parsed after all the switches finish. + ([#79](https://github.com/MoOx/pjax/pull/79), [#110](https://github.com/MoOx/pjax/pull/110) - @oskarrough, @BehindTheMath, @robinnorth) +- Fixed: An error that was caused by a missing `switchElementsAlt`. + ([#93](https://github.com/MoOx/pjax/pull/93), [#104](https://github.com/MoOx/pjax/pull/104) - @BehindTheMath, @robinnorth) +- Fixed: A pending XHR is now aborted if the user navigates somewhere else before the request is finished. + ([#114](https://github.com/MoOx/pjax/pull/114) - @robinnorth) +- Fixed: When rendering new content, focus will now be removed only from elements within one of the containers manipulated by Pjax. + ([#116](https://github.com/MoOx/pjax/pull/116) - @BehindTheMath) +- Added: Send the `X-PJAX` header with XHR requests. + ([#80](https://github.com/MoOx/pjax/pull/80) - @bram1028) +- Added: Direct download link for script tags. (@MoOx) +- Added: Pass the element that triggered Pjax to the `pjax:send` event. + ([#94](https://github.com/MoOx/pjax/pull/94) - @BehindTheMath) +- Added: An option to set a timeout for XHR requests. + ([#95](https://github.com/MoOx/pjax/pull/95) - @BehindTheMath) +- Added: Checks for XHR redirects + ([#101](https://github.com/MoOx/pjax/pull/101) - @BehindTheMath) +- Added: Save scroll position with history, and restore when navigating backwards or forwards. + ([#110](https://github.com/MoOx/pjax/pull/110) - @BehindTheMath) +- Added: Scroll to element position when URL contains a hash + ([#110](https://github.com/MoOx/pjax/pull/110) - @BehindTheMath) +- Added: Minified version of the Pjax bundle. + ([#115](https://github.com/MoOx/pjax/pull/115) - @BehindTheMath) + # 0.2.4 - 2016-06-28 - Fixed: ``refresh`` should now work (use `this.parseDOM` for refresh) diff --git a/package.json b/package.json index f333781..a925c5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pjax", - "version": "0.2.4", + "version": "0.2.5", "description": "Easily enable fast AJAX navigation on any website (using pushState + XHR)", "keywords": [ "pjax", -- 2.49.1 From c60e5fcdbf395f68bf56fb13687ffb19545a6f8b Mon Sep 17 00:00:00 2001 From: Robin North Date: Fri, 2 Feb 2018 16:02:24 +0000 Subject: [PATCH 2/2] Added some missing changes to CHANGELOG.md --- CHANGELOG.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e33ae..2e9c7f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,21 @@ # 0.2.5 - 2018-02-02 +- Fixed: Async switch functions now work correctly, because the DOM is now parsed after all the switches finish. + ([#79](https://github.com/MoOx/pjax/pull/79), [#110](https://github.com/MoOx/pjax/pull/110) - @oskarrough, @BehindTheMath, @robinnorth) +- Fixed: Bug on IE11 preventing AJAX page refresh. + ([#81](https://github.com/MoOx/pjax/pull/81) - @CPTechnikVX) - Fixed: Default switches are now available as `Pjax.switches`. ([#92](https://github.com/MoOx/pjax/pull/92) - @BehindTheMath) -- Fixed: Async switch functions now work correctly, because the DOM is now parsed after all the switches finish. - ([#79](https://github.com/MoOx/pjax/pull/79), [#110](https://github.com/MoOx/pjax/pull/110) - @oskarrough, @BehindTheMath, @robinnorth) - Fixed: An error that was caused by a missing `switchElementsAlt`. ([#93](https://github.com/MoOx/pjax/pull/93), [#104](https://github.com/MoOx/pjax/pull/104) - @BehindTheMath, @robinnorth) +- Fixed: Incorrect `main` field in npm package + ([#105](https://github.com/MoOx/pjax/pull/105) - @robinnorth) - Fixed: A pending XHR is now aborted if the user navigates somewhere else before the request is finished. ([#114](https://github.com/MoOx/pjax/pull/114) - @robinnorth) - Fixed: When rendering new content, focus will now be removed only from elements within one of the containers manipulated by Pjax. ([#116](https://github.com/MoOx/pjax/pull/116) - @BehindTheMath) +- Fixed: Stop dispatching extraneous `pjax:complete` events when external scripts load + ([#118](https://github.com/MoOx/pjax/pull/118) - @robinnorth) - Added: Send the `X-PJAX` header with XHR requests. ([#80](https://github.com/MoOx/pjax/pull/80) - @bram1028) - Added: Direct download link for script tags. (@MoOx) @@ -20,11 +26,13 @@ - Added: Checks for XHR redirects ([#101](https://github.com/MoOx/pjax/pull/101) - @BehindTheMath) - Added: Save scroll position with history, and restore when navigating backwards or forwards. - ([#110](https://github.com/MoOx/pjax/pull/110) - @BehindTheMath) + ([#110](https://github.com/MoOx/pjax/pull/110), [#119](https://github.com/MoOx/pjax/pull/119) - @BehindTheMath, @robinnorth) - Added: Scroll to element position when URL contains a hash ([#110](https://github.com/MoOx/pjax/pull/110) - @BehindTheMath) - Added: Minified version of the Pjax bundle. ([#115](https://github.com/MoOx/pjax/pull/115) - @BehindTheMath) +- Changed: Miscellaneous code and tests cleanup. + ([#96](https://github.com/MoOx/pjax/pull/96), [#98](https://github.com/MoOx/pjax/pull/98), [#99](https://github.com/MoOx/pjax/pull/99), [#100](https://github.com/MoOx/pjax/pull/1070), [#107](https://github.com/MoOx/pjax/pull/107), [#113](https://github.com/MoOx/pjax/pull/113), [#120](https://github.com/MoOx/pjax/pull/120) - @BehindTheMath, @MoOx, @robinnorth) # 0.2.4 - 2016-06-28 -- 2.49.1