Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

25 changes: 0 additions & 25 deletions .eslintrc

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [master, v3]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm run lint
- run: npm test
- run: npm run build
- run: npm pack --dry-run
- run: npx playwright install --with-deps chromium
- run: npm run test:e2e
- run: npm run build:demo
37 changes: 37 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Pages

on:
push:
branches: [master]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build:demo
env:
VITE_BASE: /react-breadcrumbs/
- uses: actions/upload-pages-artifact@v3
with:
path: demo/dist
- id: deploy
uses: actions/deploy-pages@v4
13 changes: 11 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
node_modules/
.idea
npm-debug.log
dist/
demo/dist/
*.log
.DS_Store
.idea
playwright-report/
test-results/
blob-report/
.vite/
.playwright-mcp/
*.tgz
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

69 changes: 36 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,65 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
All notable changes to this project will be documented in this file.

### [2.1.7](https://github.com/svenanders/react-breadcrumbs/compare/v2.1.6...v2.1.7) (2019-06-14)
## [3.0.0] - 2026-09-01

Rewrite for React 19 and React Router 7. v2 remains available as `react-breadcrumbs@2`.

### Bug Fixes

* allow usage with latest react-router version ([d4258e9](https://github.com/svenanders/react-breadcrumbs/commit/d4258e9))



<a name="2.1.6"></a>
## [2.1.6](https://github.com/svenanders/react-breadcrumbs/compare/v2.1.5...v2.1.6) (2018-07-05)

### Breaking

- Peer dependencies are now `react`/`react-dom` ≥ 19 and `react-router` ≥ 7.
- `<BreadcrumbProvider>` is required. The Redux singleton store is gone.
- Default markup is `<nav aria-label="Breadcrumb">` with an `<ol>` of `<li>`.
- The current crumb is a `<span aria-current="page">`, not an active `NavLink`.
- ESM-only publish. No UMD bundle, no `prop-types`, no `uuid`, no `lodash.isequal`.
- CSS is a separate export: `react-breadcrumbs/styles.css`.

<a name="2.1.5"></a>
## [2.1.5](https://github.com/svenanders/react-breadcrumbs/compare/v2.1.4...v2.1.5) (2018-01-18)
### Added

- `source="registered" | "route" | "merged"` on `<Breadcrumbs>`.
- `useBreadcrumbs()` and `useRouteCrumbs()`.
- `linkComponent` and per-crumb `linkProps`.
- Logical CSS so RTL follows `dir` on the document.
- TypeScript types, Vitest tests, Vite demo, GitHub Actions CI.

### Ideas kept from unmerged PRs

<a name="2.1.4"></a>
## [2.1.4](https://github.com/svenanders/react-breadcrumbs/compare/v2.1.3...v2.1.4) (2018-01-11)



<a name="2.1.3"></a>
## [2.1.3](https://github.com/svenanders/react-breadcrumbs/compare/v2.1.2...v2.1.3) (2018-01-04)
- Injectable store → context provider (#122)
- Custom link props (#100)
- RTL without a dedicated prop (#106)
- Async/dynamic titles documented and shown in the demo (#96)

## [2.1.7](https://github.com/robbestad/react-breadcrumbs/compare/v2.1.6...v2.1.7) (2019-06-14)

### Bug Fixes

* **breadcrumb:** allow no children to be passed ([2122618](https://github.com/svenanders/react-breadcrumbs/commit/2122618))
* **demo:** update crumb-route ([0a0bd31](https://github.com/svenanders/react-breadcrumbs/commit/0a0bd31))
* **deps:** allow the latest version of react ([0815c17](https://github.com/svenanders/react-breadcrumbs/commit/0815c17))
* allow usage with latest react-router version ([d4258e9](https://github.com/robbestad/react-breadcrumbs/commit/d4258e9))

## [2.1.6](https://github.com/robbestad/react-breadcrumbs/compare/v2.1.5...v2.1.6) (2018-07-05)

## [2.1.5](https://github.com/robbestad/react-breadcrumbs/compare/v2.1.4...v2.1.5) (2018-01-18)

<a name="2.1.2"></a>
## [2.1.2](https://github.com/svenanders/react-breadcrumbs/compare/v2.1.1...v2.1.2) (2017-10-24)
## [2.1.4](https://github.com/robbestad/react-breadcrumbs/compare/v2.1.3...v2.1.4) (2018-01-11)

## [2.1.3](https://github.com/robbestad/react-breadcrumbs/compare/v2.1.2...v2.1.3) (2018-01-04)

### Bug Fixes

* fix “Cannot read property 'Component' of undefined” issue ([275ded1](https://github.com/svenanders/react-breadcrumbs/commit/275ded1))
* **breadcrumb:** allow no children to be passed ([2122618](https://github.com/robbestad/react-breadcrumbs/commit/2122618))
* **demo:** update crumb-route ([0a0bd31](https://github.com/robbestad/react-breadcrumbs/commit/0a0bd31))
* **deps:** allow the latest version of react ([0815c17](https://github.com/robbestad/react-breadcrumbs/commit/0815c17))

## [2.1.2](https://github.com/robbestad/react-breadcrumbs/compare/v2.1.1...v2.1.2) (2017-10-24)

### Bug Fixes

<a name="2.1.1"></a>
## [2.1.1](https://github.com/svenanders/react-breadcrumbs/compare/v2.1.0...v2.1.1) (2017-10-19)


* fix “Cannot read property 'Component' of undefined” issue ([275ded1](https://github.com/robbestad/react-breadcrumbs/commit/275ded1))

<a name="2.1.0"></a>
# [2.1.0](https://github.com/svenanders/react-breadcrumbs/compare/v1.6.6...v2.1.0) (2017-10-14)
## [2.1.1](https://github.com/robbestad/react-breadcrumbs/compare/v2.1.0...v2.1.1) (2017-10-19)

## [2.1.0](https://github.com/robbestad/react-breadcrumbs/compare/v1.6.6...v2.1.0) (2017-10-14)

### Features

* rewrite library to be compatible with react-router v4 ([0637464](https://github.com/svenanders/react-breadcrumbs/commit/0637464))
* rewrite library to be compatible with react-router v4 ([0637464](https://github.com/robbestad/react-breadcrumbs/commit/0637464))
Loading
Loading