Skip to content

Latest commit

 

History

History
199 lines (109 loc) · 3.83 KB

CHANGELOG.md

File metadata and controls

199 lines (109 loc) · 3.83 KB

Changelogs

v1.0.0

Added

  • Added next.js version 13.2.3 in package.json peerDependancies
  • Initialized and added propTypes in NextTopLoader, Support for Next.js v13.2.3

v1.0.1

Updated

  • Fixed misspelled Component name in README, added more instructions for the Component for the usage with layout.js in app folder structure

v1.1.1

Added

  • Used React.memo for better performance

Fixed

  • Fix spelling for NextTopLoadersProps to NextTopLoaderProps

Updated

  • Removed unwanted devDependancies to reduce the package size

v1.2.1

Added

  • Added nprogress and @types/nprogress packages for the dependencies

Fixed

  • Fix the newUrl returning as undefined value for few anchor tags , added support to prevent loader from being stuck for anchor navigation for hash urls

Updated

  • Refactor the code in useEffect hook, removed the next/script

v1.2.2

Fixed

  • Fix the Loader gets triggered on navigation to link in another tab

v1.3.2

Added

  • Added support for client side navigations

v1.4.2

Added

  • Added shadow config prop

Fixed

  • Fixed spelling for increment. And updated the README.

v1.5.3

Added

  • Added template option
  • Added the provision to configure z index via props

Fixed

  • Fixed loader infinity when press control click
  • Fixed Unexpected symbol "?" on Safari 12.1 by adding es6 as target
  • Fixed the loader when href is empty
  • Fixed the loader for new URL starts with "blob:"

v1.6.3

Added

  • Added a feature to show the TopLoader at bottom.

v1.6.4

Fixed

  • Fixed the spinner top and bottom margin

v1.6.5

Fixed

  • Fixed the loader when using CMD + Click in macOS

v1.6.6

Fixed

  • Fixed the TopLoader to work with special schemes such as mailto, sms, tel, etc
  • Fixed the TopLoader for "#" hash anchor

v1.6.9

Fixed

  • Resolve progress bar when navigating back from external page
  • Fixed the TopLoader for anchor url having other domain name
  • Moved histry.pushState function outside the MouseEvent, it was triggering for every mouse click
  • Fixed TopLoader getting stuck on popstate events
  • Fixed the use of rest params and passing its type as any
  • Fixed for all Special Schemes, TopLoader will not run on special schemes now onwards
  • Fixed for shift key and alt key

Updated

  • Added Type declarations for few functions
  • Refactor the whole code to make it more readable
  • Updated to add support for the JSR Package Manager
  • Updated to version 1.6.9 to avoid version gap for JSR

v1.6.10

Fixed

  • Fix npm-publish.yml for gh actions to publish with provenance

v1.6.11

Fixed

  • Fix to add use client in jsr usage with nextjs
  • Update README about support for React

v1.6.12

Fixed

  • Fixed indefinite animation when replacing current route
  • Moved @types/nprogress into devDependencies

v2.6.12

Added (major changes)

  • Added PagesTopLoader Component to make useRouter hook supported in pages router

  • Added custom useRouter hook to trigger TopLoader for app router

Updated

  • Updated README.md Documentation made it more readable.

v3.6.12

Added (major changes)

  • Added new import for PagesTopLoader

  • Added new import for custom useRouter hook

Updated

  • Fixing for react js
  • Updated README.md Documentation made it more readable.

v3.6.13

Fixed

  • Fixed imports, PagesTopLoader imported incorrectly like nextjs-toploader/dist/pages and useEffect like nextjs-toploader/dist/app

v3.6.14

Fixed

  • Fixed typo in template value and shadow value in prop type table in README

v3.6.15

Updated

  • Updated copyright year in LICENSE

Fixed

  • Fixed typo in template value in prop type table in README

v3.7.15

Added

  • Added option to control showing of top loader for hash anchors

Updated

  • Updated README.md Documentation for showForHashAnchor