Skip to content

Releases: tomcru/holy-loader

2.3.14

13 Nov 23:01
e0f75c1

Choose a tag to compare

Highlights

  • Fixed zIndex of progress bar when an absolute element was rendered underneath it. Thanks for the report @dufia

Full Changelog: 2.3.13...2.3.14

2.3.13

14 Jan 11:11

Choose a tag to compare

Highlights

  • Fixed use client being removed from the build output in 2.3.12. Thanks for the report @eaglit

Full Changelog: 2.3.12...2.3.13

2.3.12

13 Jan 19:41

Choose a tag to compare

Highlights

  • Adds proper handling of target attributes. Links with custom target values, _blank, _parent, or _top are now treated as external and do not trigger the progress bar.

Full Changelog: 2.3.8...2.3.12

2.3.8

11 Oct 10:49

Choose a tag to compare

🌟 Help spread the word about Holy Loader by starring the repo or posting on Twitter about the release.

Highlights

  • Fixed the loader triggering on links with the download attribute, like <a href="..." download /> - #31
  • Fixed cjs/esm imports - #30

Thank you @mobeigi for your first contribution! ✌️

Full Changelog: 2.3.5...2.3.8

2.3.5

15 Sep 12:15

Choose a tag to compare

🌟 Help spread the word about Holy Loader by starring the repo or posting on Twitter about the release.

i18n

  • We've added the dir prop to support switching between ltr & rtl layouts!

Simply set dir to rtl and the progress bar will now animate from right to left!

<HolyLoader dir="rtl" />

Full Changelog: 2.3.4...2.3.5

2.3.4

14 Sep 20:56

Choose a tag to compare

🌟 Help spread the word about Holy Loader by starring the repo or posting on Twitter about the release.

Highlights

  • We've added the ignoreSearchParams prop. When set to true, HolyLoader will no longer respond to changes in URL search parameters.

This is especially helpful if search parameters are used to update your UI without reloading content. For example, changing a parameter from ?query=frost to ?query=frostpunk will not trigger the progress bar when ignoreSearchParams is enabled.

<HolyLoader ignoreSearchParams />

Full Changelog: 2.3.1...2.3.4

2.3.1

23 Apr 09:30

Choose a tag to compare

🌟 Help spread the word about Holy Loader by starring the repo or posting on Twitter about the release.

Highlights

  • This release introduces 2 new methods to manually start & stop the progress bar (startHolyLoader & stopHolyLoader) thanks to @lorikku 🙌

Here's an example use case:

'use client';

import { startHolyLoader, stopHolyLoader } from 'holy-loader';

try {
  startHolyLoader();
  await signOut();
} catch (error) {
  stopHolyLoader();
  // do something else
} finally {
  router.push('/'); // Navigate to another route, which will automatically complete the loader
}

Full Changelog: 2.2.10...2.3.1

2.2.10

26 Feb 22:54
6f1ead2

Choose a tag to compare

🌟 Help spread the word about Holy Loader by starring the repo or posting on Twitter about the release.

Highlights

  • This patch contains a fix preventing redundant patching of History API methods. The previous implementation of patching the History API methods (pushState and replaceState) was causing them to increasingly nest within patched versions of themselves.

Full Changelog: 2.2.9...2.2.10

2.2.9

03 Feb 12:46
e68c698

Choose a tag to compare

🌟 Help spread the word about Holy Loader by starring the repo or posting on Twitter about the release.

Highlights

  • This patch adds a smoothing function to gracefully transition the progress bar instead of hardcoded values.

Full Changelog: 2.2.8...2.2.9

2.2.8

16 Jan 20:03

Choose a tag to compare

🌟 Help spread the word about Holy Loader by starring the repo or posting on X (formerly Twitter) about the release.

Highlights

✨ This patch fixes a bug where the progress bar would load indefinitely when replacing the website's history state: #14

An optional spinner UI element was added with the showSpinner prop.

Full Changelog: 2.1.0...2.2.8