PackageTrack
Sign in Get early access

jaspr_router

A routing component for jaspr.

0.9.0 21K downloads/mo #2165 most downloaded on pub.dev schultek/jaspr

What this package is like to depend on

Last release 20 days ago

04 Aug 2026

Release timing varies

gaps range from 9 days to 4 months

Nearly every release is documented

notes for 27 of 27 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

30 releases · first in 2022

10 releases in the last 12 months

see the full history below

Release timeline

30 releases · Jun 2022 to Aug 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 30
  1. 0.9.0 04 Aug 2026
    Release notes

    The following packages have been updated:
    jaspr_test : 0.23.2 -> 0.23.3
    jaspr : 0.23.2 -> 0.23.3
    jaspr_builder : 0.23.2 -> 0.23.3
    jaspr_router : 0.8.3 -> 0.9.0
    jaspr_cli : 0.23.2 -> 0.23.3
    jaspr_content : 0.5.3+1 -> 0.5.4
    dart_quotes : 0.1.12 -> 0.1.13 (No Changelog)
    dart_quotes_server : 0.1.12 -> 0.1.13 (No Changelog)
    fluttercon : 0.0.13 -> 0.0.14 (No Changelog)
    website : 0.1.8 -> 0.1.9 (No Changelog)

    Open source →
    Release notes
    • Made RouteSettings.priority nullable and default to null instead of 0.5, so the sitemap priority tag can be omitted (consistent with changeFreq).
    • Added dispose() to the HistoryManager interface.
    • Implemented RouterState.dispose() to cancel onPopState subscriptions when the router is unmounted.
    Open source →
  2. 0.8.3 14 Jul 2026
    Release notes
    • Fixed routing and redirect bug to respect the <base href="..."> configuration by prepending basePath on client history operations, server redirect headers, and Link hrefs.
    Open source →
  3. 0.8.2 17 Apr 2026
    Release notes
    • jaspr upgraded to 0.23.0
    Open source →
  4. 0.8.1 10 Dec 2025
    Release notes
    • jaspr upgraded to 0.22.0
    Open source →
  5. 0.8.1-beta.0 01 Dec 2025 pre-release

    Nothing published for this version

  6. 0.8.0 13 Nov 2025
    Release notes
    • Using a redirect function on Router or Route while rendering on the server will now trigger a HTTP redirect (302) instead of rendering the target page.
    Open source →
  7. 0.7.3 13 Sep 2025
    Release notes
    • jaspr upgraded to 0.21.1
    • jaspr_test upgraded to 0.21.1
    Open source →
  8. 0.7.2 13 Sep 2025
    Release notes
    • jaspr upgraded to 0.21.0
    • jaspr_test upgraded to 0.21.0
    Open source →
  9. 0.7.2-dev.1 03 Sep 2025 pre-release

    Nothing published for this version

  10. 0.7.2-dev.0 02 Sep 2025 pre-release

    Nothing published for this version

  11. 0.7.1 19 Jul 2025
    Release notes
    • jaspr upgraded to 0.20.0
    Open source →
  12. 0.7.0 14 May 2025
    Release notes
    • Added settings parameter to Route for specifying sitemap settings like priority and changefreq.
    Open source →
  13. 0.6.4 03 Mar 2025
    Release notes
    • Fixed bug with router redirects.
    Open source →
  14. 0.6.3 24 Feb 2025
    Release notes
    • jaspr upgraded to 0.18.0
    Open source →
  15. 0.6.2 10 Feb 2025
    Release notes
    • Update logo and website links.
    Open source →
  16. 0.6.1 12 Jan 2025
    Release notes
    • jaspr upgraded to 0.17.0
    Open source →
  17. 0.6.0 04 Oct 2024
    Release notes
    • BREAKING Migrate to package:web.
    Open source →
  18. 0.5.1 21 Aug 2024
    Release notes
    • jaspr upgraded to 0.15.0
    Open source →
  19. 0.5.0 14 Aug 2024
    Release notes
    • Changed the signature of the Link component, children is now a named parameter.
    Open source →
  20. 0.4.2 22 May 2024
    Release notes
    • The title of the browser tab will no be properly set to the title of the current route.
    • Fixed race condition where routes were skipped during static rendering.
    Open source →
  21. 0.4.1 14 Apr 2024
    Release notes
    • Fixed issue where replaceNamed from GoRouterHelper was not passing parameters correctly.
    • Fixed bug with redirects on the server.
    Open source →
  22. 0.4.0 04 Apr 2024
    Release notes
    • Added Link component to simplify router-aware navigation.

      The Link component lets the user navigate to another route by clicking or tapping on it. It uses client-side routing if possible and fall back to the default browser navigation if no Router component is present in the tree. It will render an accessible <a> element with a valid href, which means that things like right-clicking a Link work as you'd expect.

    • Fixed redirects on initial load.

    • Fixed proper handling of <base> path.

    Open source →
  23. 0.3.1 22 Jan 2024
    Release notes
    • jaspr upgraded to 0.10.0
    Open source →
  24. 0.3.0 10 Sep 2023
    Release notes
    • Added Static Site Generation support. Pages are automatically generated for each route.

    • Fixed bug where Router.of(context).matchList.title always returned null.

    Open source →
  25. 0.2.3 10 Aug 2023
    Release notes
    • jaspr upgraded to 0.8.0
    Open source →
  26. 0.2.2 08 Aug 2023
    Release notes
    • jaspr upgraded to 0.7.0
    Open source →
  27. 0.2.1 25 Jul 2023
    Release notes
    • jaspr upgraded to 0.6.0
    Open source →
  28. 0.2.0 27 May 2023
    Release notes
    • BREAKING Complete overhaul of the router package.

      The router implementation is mainly adapted from the go_router package for Flutter.

      Routing works by providing a set of routes to the router component. You can choose between a normal Route and a ShellRoute. A ShellRoute acts as a layout wrapper around the child routes.

      Each Route takes a path which can contain parameters like '/users/:userId'.

      Both Route and ShellRoute have a .lazy variant used for lazy-loading parts of the application.

        Router(routes: [
          // simple routes
          Route(path: '/', builder: (context, state) => HomePage()),
          Route(path: '/about', builder: (context, state) => AboutPage()),
          // route with a path parameter
          Route(path: '/users/:userId', builder: (context, state) => UserPage(id: state.pathParameters['userId'])),
          // nested routes
          Route(path: '/base', builder: (context, state) => BasePage(), routes: [
            // full location will be '/base/details'
            Route(path: 'details', builder: (context, state) => DetailsPage()),
          ]),
          // shell route
          ShellRoute(
            builder: (context, state, child) => CustomLayout(child: child),
            routes: [
              Route(path: '/dashboard', builder: (context, state) => DashboardPage()),
            ]     
          ),
          // lazy loaded route
          // this assumes a deferred import like "import 'posts.dart' deferred as posts;"
          Route.lazy(path: '/posts', builder: (context, state) => posts.Posts(), load: posts.loadLibrary),
          // lazy loaded shell route
          ShellRoute.lazy(
            builder: (context, state, child) => CustomLayout(child: child),
            load: () => someAsyncTask(),
            routes: [
              Route(path: '/data', builder: (context, state) => DataPage()),
            ]
          )     
        ]);
      

      While the router docs are work in progress, you can refer to the go_router docs for some references (don't expect everything to work exactly the same, but the core concepts are similar).

    Open source →
  29. 0.1.1 24 May 2023
    Release notes
    • jaspr upgraded to 0.4.0
    Open source →
  30. 0.1.0 02 Jun 2022
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive