Skip to content

Releases: veliovgroup/flow-router

v3.15.3

19 May 12:15
a6d3b97

Choose a tag to compare

📦 v3.15.3

What's new

Minor changes

  • 🧪 improve test-suite via matrix of Meteor.js releases
  • 🤝 improve backward compatibility with meteor v2.x

Full Changelog: 3.15.2...3.15.3

v3.15.2

13 May 19:11
0f9ca77

Choose a tag to compare

📦 v3.15.2

What's new

Minor changes

  • Fix routes with optional paths params — now works with and without trialing slash

Full Changelog: 3.15.1...3.15.2

v3.15.1

11 May 09:44
f5b4045

Choose a tag to compare

  • Patch fix #129, thanks to @bricous
  • Now #hash links behave as in normal non-js pages

v3.15.0

09 May 16:16
1c8eede

Choose a tag to compare

Major changes

  • Fix for #128, thanks to @bricous for report
  • Refactored logic related to hashchange event and #hash of the URL — not it behaves as in regular browser
  • hashchange event ignored by FlorRouter (this logic remain the same), docs emphasized that hashchange event should be registered separately when needed (for example on per-route or pre-template basis)

What was changed

  • Fixed hash fragment routing regression after MicroRouter migration.
  • Route matching now strips #hash from pathname, while preserving full context.path.
  • Added context.hash population from URL fragment.
  • Preserved hash fragments in FlowRouter.path() / FlowRouter.go() with query strings.
  • Same-route hash-only navigation now uses native browser behavior:
    • no route action rerun
    • no FlowRouter hooks rerun
    • hashchange event still fires
    • anchor jump behavior works
  • Hash-only popstate no longer triggers route dispatch.
  • Added docs examples for handling window.hashchange outside FlowRouter logic.

Tests

  • Added regression tests for:
    • /route#anchor matching /route
    • /route?x=1#anchor query/hash parsing
    • hash-only FlowRouter.go() not rerunning route
    • same-route hash links using browser default behavior
    • FlowRouter.path() preserving hash and query+hash

v3.14.0

22 Apr 14:31
3b352bc

Choose a tag to compare

⚠️ Major changes

  • ⚠️ refactor: replace qs NPM package with internal query string module

Changes

  • 🧪 tests: add extra tests for query string usage
  • 🧪 tests: cover complex query string edge cases

✨ New

  • Internal capability: new local query parser/serializer (lib/qs.js) removes external qs runtime dependency path

📦 Dependencies

Production:

  • removed transitive qs shrinkwrap tree from .npm/package/npm-shrinkwrap.json

Development:

  • no new dev dependency commit since 3.13.1

v3.13.1

22 Apr 10:51
1ed0713

Choose a tag to compare

Summary: Patch release for ostrio:flow-router-extra improving Meteor compatibility and internal API usage.

Changes

  • 🔧 Fix compatibility with older Meteor.js releases
  • 🔧 Replace ._debug usage with .deprecate API
  • 👨‍💻 Update .meteorignore

v3.13.0

21 Apr 22:04
1dda1ef

Choose a tag to compare

⚠️ Major changes

  • Replaced page.js w/ custom MicroRouter (lib/micro-router.js, client/router.js) — full control over history, popstate, matchPath; removes dep, fixes bugs. (PRs #126/#127), closing #74 and #73, thanks to @dupontbertrand
  • Shared base classes (lib/router-base.js etc) for Router/Route/Group — isomorphic, cleaner code, better maintenance.
  • Async waitOn overhaul: correct hook order, completeness, abort on navigation, Tracker.autorun instead of setTimeout polling, closing #125 thanks to @drone1
  • Removed underscore dep (refactor to native methods; updated tests/docs).

Changes

  • 🔧 Fixed order and completeness in async waitOn (client/route.js, router.core.spec.js).
  • 🔧 Fixed undefined name in tests; added missed timer var.
  • 🛡️ Security: removed publicly exposed ___refresh route.
  • 🔧 Fixed renderer queue (startQueue.bind() issue).
  • 📔 Docs updated to prefer native JS; AGENTS.md + SKILL.md for ecosystem.
  • 👷‍♂️ TS refactor/setup, .cursorignore, styling, year bump, test helpers.
  • notfound route workaround/fixes for companion packages compatibility (meta/title).

✨ New

  • 😎 Agentic Skills, AGENTS.md for Cursor IDE + meteor-flow-router (registration, hooks, meta/title, TS, 404).
  • 👨‍💻 TS tests via tsd (index.test-d.ts); updated index.d.ts.
  • Enhanced FlowRouter.initialize(options), maxWaitFor, MAX_WAIT_FOR_MS export, onRouteRegister.
  • Better Meteor 3.x, SWC/compiler compat, peer version alignment ([email protected]+ pins in meta).

📦 Dependencies

prod

  • qs: 6.14.0 (from 6.x)

dev

  • zodern:[email protected], typescript (weak); removed underscore from onTest where possible.
  • Updated test-packages for current Meteor.

v3.12.1

24 Sep 10:25
9c2a2fa

Choose a tag to compare

What's new

  • 🤝 Compatibility with latest [email protected]
  • 🐞 Fix potential bug that may appear with "modern compiler" (SWC), see #124

Major changes

  • No, this is maintenance release

v3.12.0

05 Mar 18:23
43828b3

Choose a tag to compare

What's new

  • 🐞 Fixed #120 and #118 — template's data context, thanks to @aboire
  • action, data, and onNoData hooks are now async
  • 👷‍♂️ CI GitHub Action Workflow running tests when pushed to master thanks to @jankapunkt
  • 📔 Updated and refactored docs with better examples
  • 🤝 Better compatibility with meteor@3 and other modern packages
  • 🤓 Improved TypeScript support

Major changes

  • ⚠️ Deprecated and removed linkTo helper

v3.11.0

26 Jan 07:13
0e9e44d

Choose a tag to compare

☄️ Packosphere @3.11.0

Changes: