Skip to content

Releases: tomcru/holy-loader

2.3.1

23 Apr 09:30
Compare
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
Compare
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
Compare
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
Compare
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

2.2.0

15 Dec 05:55
Compare
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 release introduces a <HolyProgress /> component that can be used as a standalone component to render progress bars.

This release focuses solely on the usage of said component with HolyLoader for page transitions. The API of HolyProgress will be properly exposed & documented in the future.

Full Changelog: 2.1.0...2.2.0

2.1.0

13 Dec 00:18
Compare
Choose a tag to compare

Highlights

  • adds support for css values in the height property (1rem, 10vh, etc.)
  • adds support for boxShadow on bar
  • adds support for background gradients as bar color

Full Changelog: 2.0.0...2.1.0

2.0.0

12 Dec 14:32
Compare
Choose a tag to compare

Highlights

  • replaces legacy nprogress with a complete rework of said package.
  • fixes bug where Loader would show on links to external hosts.
  • fixes lint.

Breaking changes

  • crawl & crawlSpeed are now trickle & trickleSpeed