Skip to content

Releases: RafidMuhymin/astro-spa

v1.3.9

19 Apr 10:18
Compare
Choose a tag to compare

Bug Fixes

v1.3.8...v1.3.9

v1.3.8

21 Jan 18:00
Compare
Choose a tag to compare

v1.3.7...v1.3.8

v1.3.7

21 Jan 17:40
Compare
Choose a tag to compare
  • readme: fixed typos and improved f431dc3
  • readme: updated demonstration e08e4a5

v1.3.6...v1.3.7

v1.3.6

21 Jan 16:47
Compare
Choose a tag to compare

New Features

  • scrollIntoView support for non-containerized navigations a46f9b8

v1.3.5...v1.3.6

v1.3.5

21 Jan 16:09
Compare
Choose a tag to compare

Bug Fixes

  • Fixed Cannot access buildPage before initialization 4c9a9be

v1.3.4...v1.3.5

v1.3.4

21 Jan 15:53
Compare
Choose a tag to compare

Bug Fixes

  • Fixed navigation not working when the progressBar prop is set to false bbee3ba

Features/Changes

  • scrollIntoView now scrolls to block start by default d7e0e1e
  • The page title is now announced using live-region for accessibility 39f1ac0

v1.3.3...v1.3.4

v1.3.3

28 Dec 10:23
Compare
Choose a tag to compare
  • Add type: module to package.json f7014d1

v1.3.2...v1.3.3

v1.3.2

17 Dec 17:28
Compare
Choose a tag to compare
  • Included bundled terser dependency 7d80065

v1.3.1...v1.3.2

v1.3.1

16 Dec 14:41
Compare
Choose a tag to compare

Bug Fixes

  • Included terser as dependency dbcff17
  • Fixed ENOENT error when the external prop is set to true 7a9bfd9
  • Fixed compiler error shown in v0.21 abc4f10

v1.3.0...v1.3.1

v1.3.0

18 Nov 18:31
Compare
Choose a tag to compare

Breaking Changes

  • All the API methods have been moved to the spa namespace to avoid global pollution. (See the docs for more info)
  • The beautify component prop has been removed.
  • The PPBColor, SPBColor and secondaryProgressBar props have been removed and replaced with a new progressBarOptions prop.
  • The root, rootMargin and threshold props have been removed and replaced with a new intersectionObserverOptions prop.

Features:

  • Custom navigate and mount events. (See the docs for more info)
  • Automatic scanning of the DOM for new links. (See the docs for more info)
  • The spa.navigate API is now configurable. (See the docs for more info)
  • Built-in support for Google Analytics (in only 478 bytes). (See the docs for more info)
  • Support for adding HTML attributes to the generated script tag. (See the docs for more info)
  • Hashing of JS file name when external is set to true.
  • intersectionObserverOptions and progressBarOptions components props. (See the docs for more info)

Fixes:

  • Passive touchstart event listeners.
  • All the API methods have been moved to the spa namespace to avoid global pollution.
  • Fixed bug with localLinkDetector with containerization.

Refactoring: The complete codebase has been refactored to be more modular and easier to understand.

Documentation: The README.md file has been improved a lot to make it easier to understand the workflow and the usage of Astro SPA.

The updates to the README.md file are:

  • Why Astro SPA?
  • Features (Mechanism is now removed)
  • Script Execution in Astro SPA
  • How to Use Analytics with Astro SPA
  • Structured API documentation

Type Improvements: The scrollIntoViewOptions, IntersectionObserverInit, progressBarOptions interfaces have been added and updated.

v1.2.3...v1.3.0