Skip to content

Releases: oedotme/generouted

v1.18.5

07 Mar 15:27
v1.18.5
0cadbbf
Compare
Choose a tag to compare

Commits

Changelog: v1.18.4...v1.18.5

v1.18.4

27 Feb 14:35
v1.18.4
9aa8777
Compare
Choose a tag to compare

Commits

Changelog: v1.18.3...v1.18.4

v1.18.3

26 Feb 17:22
v1.18.3
f6df80f
Compare
Choose a tag to compare

Commits

Changelog: v1.18.2...v1.18.3

v1.18.2

16 Jan 16:55
v1.18.2
8939c9d
Compare
Choose a tag to compare

Commits

  • chore: update examples from workspaces to latest versions 92ba661 by @oedotme

Changelog: v1.18.1...v1.18.2

v1.18.1

16 Jan 16:50
v1.18.1
621617f
Compare
Choose a tag to compare

Commits

Changelog: v1.18.0...v1.18.1

v1.18.0

16 Jan 16:25
v1.18.0
870bc5e
Compare
Choose a tag to compare

Commits

Changelog: v1.17.1...v1.18.0

v1.17.1

14 Dec 10:35
v1.17.1
617e3d9
Compare
Choose a tag to compare

Commits

Changelog: v1.17.0...v1.17.1

v1.17.0

12 Dec 15:20
v1.17.0
3ed9393
Compare
Choose a tag to compare

Breaking changes — Solid integration ONLY

  • @generouted/solid-router v1.17.0 now requires using @solidjs/router v0.10.1
  • <Outlet /> component was removed from @solidjs/router, you'll need to use {props.children} instead
// src/pages/_app.tsx

// import { Outlet } from '@solidjs/router'
import { ParentProps, Show } from 'solid-js'

export default function App(props: ParentProps) {
  // return <main><Outlet /></main>
  return <main>{props.children}</main>
}
// src/pages/posts/_layout.tsx

// import { Outlet } from '@solidjs/router'
import { ParentProps, Show } from 'solid-js'

export default function PostsLayout(props: ParentProps) {
  // return <section><Outlet /></section>
  return <section>{props.children}</section>
}

Commits

Changelog: v1.16.1...v1.17.0

v1.16.1

16 Oct 09:26
v1.16.1
7945d2b
Compare
Choose a tag to compare

Commits

Changelog: v1.16.0...v1.16.1

v1.16.0

09 Oct 10:35
v1.16.0
7236685
Compare
Choose a tag to compare

Changes

Breaking change for splat routes for @generouted/react-router and @generouted/solid-router.

For example /pages/posts/[...all].tsx: /posts/*:

  • Now has /posts/* type instead of /posts/${string}
  • Requires an '*' prop in the Link, useNavigate, etc params props
Before
<Link to="/posts/catch-all">Catch-all</Link>
After
<Link to="/posts/*" params={{ '*': 'catch-all' }}>Catch-all</Link>

In general, this change allows accessing both dynamic and splat params from the type-safe useParams hook.

Thanks @d0whc3r!

Commits

Changelog: v1.15.9...v1.16.0