Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
9faedee
feat: ⬆️ migrate to Qwik v2 beta (@qwik.dev/core / @qwik.dev/router)
Jun 16, 2026
d32138a
docs: 📝 add AI agent guides for Qwik v2 (AGENTS.md + pointers)
Jun 16, 2026
d1d04c1
chore: 🗑️ remove outdated cursor rules guidance
diecodev Jun 16, 2026
50a533a
build: ⬆️ migrate to Vite 8 and rework lib build (ESM-only)
diecodev Jun 16, 2026
c91beb2
feat!: 🔥 remove dompurify, render title/description as text/JSX
diecodev Jun 16, 2026
5dfac28
feat: ✨ expand headless toast core, types, icons, and styles
diecodev Jun 17, 2026
2d11c7d
test: ✅ expand e2e suite and update test/website demo harness
diecodev Jun 17, 2026
2218e79
build: 🔧 pnpm catalogs, migrate to oxlint/oxfmt, pin Vite 7
diecodev Jun 17, 2026
656cce4
build: 🔧 Qwik v2 toolchain, ESM-only lib build, pinned Vite 7
diecodev Jun 17, 2026
809c359
docs: 📝 rewrite agent guidance, README, and v2 backlog
diecodev Jun 17, 2026
74981ba
feat(website): ✨ migrate demo site to Qwik Router (v2)
diecodev Jun 17, 2026
733e906
test: ✅ port e2e harness to Qwik Router and expand suite
diecodev Jun 17, 2026
22e8abb
feat!: ✨ port toast core to Qwik v2 + sonner 2.0.7 parity
diecodev Jun 17, 2026
dac11f6
fix: 🐛 keep swiped toast sliding off-screen on dismiss
diecodev Jun 17, 2026
c724cf7
chore: 🔧 scope oxlint/oxfmt scripts to the whole repo
diecodev Jun 17, 2026
b1648dd
fix: 🐛 resolve oxlint errors in test and website workspaces
diecodev Jun 17, 2026
c1d2446
chore: 🔧 add oxc formatter and format-on-save editor settings
diecodev Jun 17, 2026
76e7fd0
chore: 🔧 enable oxlint file-list debug output in lint script
diecodev Jun 17, 2026
d9df00a
fix: 🐛 animate the first toast's enter transition
diecodev Jun 18, 2026
13a4e28
feat: ✨ add topLayer (Popover API) support to Toaster
diecodev Jun 18, 2026
334c050
test: ✅ cover topLayer rendering above native modals
diecodev Jun 18, 2026
f7a496f
fix: 🐛 use <span> inside copy buttons for valid button content
diecodev Jun 18, 2026
d3752b6
feat: ✨ accept Signals on Toaster position, theme, richColors & dir
diecodev Jun 18, 2026
59ab4ac
chore: 🔧 migrate website SSR entry to createRenderer
diecodev Jun 18, 2026
66d1622
docs: 📝 add documentation site
diecodev Jun 18, 2026
e6ebebe
feat: ✨ add installation commands and package manager selection to do…
diecodev Jun 18, 2026
d5d23e8
feat: ✨ enhance CodeBlock component to accept additional props for st…
diecodev Jun 18, 2026
b55b2fd
chore: 🔧 untrack todos.md (local-only)
diecodev Jun 18, 2026
744d9c4
ci: 👷 add shared setup action and full CI gate
diecodev Jun 18, 2026
40abd0d
ci: 🔒 gate release on CI and publish via Trusted Publishing
diecodev Jun 18, 2026
2e74620
ci: 🔥 remove unused website deploy workflow
diecodev Jun 18, 2026
f23dab4
ci: 🏷️ publish prereleases under their dist-tag
diecodev Jun 18, 2026
7d2ef2e
chore: release v2.0.0-beta.1
diecodev Jun 18, 2026
eb96343
fix: 🐛 drop @qwik.dev/router and SSR harness from the library
diecodev Jun 18, 2026
ad279cf
fix: 🐛 subscribe Toaster on qinit so toasts render in WebKit
diecodev Jun 18, 2026
310a91a
ci: 🐛 scope Playwright browser cache per matrix browser
diecodev Jun 18, 2026
c08c84b
build(website): 🚀 add Deno server entry for Deno Deploy
diecodev Jul 31, 2026
b6ba32e
fix(website): 🌐 point SSG origin and OG meta at qwik-sonner.dieco.dev
diecodev Jul 31, 2026
3c87e28
ci: ⬆️ bump actions/checkout, setup-node and cache
diecodev Jul 31, 2026
9015f2c
ci(website): 🚀 deploy website to the new Deno Deploy on push to v2
diecodev Jul 31, 2026
4c46d61
fix(deploy): update DENO_DEPLOY_ORG to diecodev-ea in workflow
diecodev Jul 31, 2026
7c30c22
chore: remove deprecated deploy workflow for Deno Deploy
diecodev Jul 31, 2026
ca915d2
fix: 🐛 show toasts published before the Toaster subscribes
diecodev Oct 29, 2026
0e79888
fix: 🐛 subscribe a client-rendered Toaster and unsubscribe on unmount
diecodev Oct 29, 2026
9bdeb69
fix: 🐛 subscribe useSonner() on client render and unsubscribe on unmount
diecodev Oct 29, 2026
982571e
fix: 🐛 keep the topLayer popover in sync with its own toasts and abov…
diecodev Oct 29, 2026
613818e
fix: 🏷️ export the remaining public types from both entries
diecodev Oct 29, 2026
6abe821
fix: 🐛 follow the OS color scheme only while theme is "system"
diecodev Oct 29, 2026
e15fc15
fix: 🐛 treat the toast id 0 as an id
diecodev Oct 29, 2026
eff04e8
build: 📦 stop shipping the Qwik app manifest in the npm package
diecodev Oct 29, 2026
cf8b4dc
docs: 📝 document that important and Action.actionButtonStyle do nothing
diecodev Oct 29, 2026
dd148c3
test: ✅ start the swipe tests once the toast has taken the gesture
diecodev Oct 29, 2026
9918d29
fix: 🐛 keep the swipe offset when the toast re-renders mid-drag
diecodev Oct 29, 2026
692ba7f
fix: 🐛 collapse and return focus based on the Toaster's own toasts
diecodev Oct 29, 2026
b14d347
test: ✅ check the system-theme listener goes away with the prop and t…
diecodev Oct 29, 2026
b00aa15
fix: 🐛 mark every toast dismissed on toast.dismiss() (sonner 2.0.8)
diecodev Oct 29, 2026
2609c3d
refactor: ♻️ replay active toasts in ToastState.subscribe (sonner 2.0.8)
diecodev Oct 29, 2026
9db81c6
fix: 🐛 handle re-creating a dismissed toast id like sonner 2.0.8
diecodev Oct 29, 2026
e22c345
fix: 🐛 reset the toast type when toast()/custom() update a toast (son…
diecodev Oct 29, 2026
45978b4
fix: 🐛 bound the toast history to 100 toasts (sonner 2.0.8)
diecodev Oct 29, 2026
1934610
fix: 🐛 apply classes.default only to toasts without a type (sonner 2.…
diecodev Oct 29, 2026
f8a146c
fix: 🐛 show a loading toast's custom icon (sonner 2.0.8)
diecodev Oct 29, 2026
d9a2fd8
fix: ♿️ hide the built-in toast icons from assistive technology (sonn…
diecodev Oct 29, 2026
9224e9c
style: 💄 let the toast content fill the remaining width (sonner 2.0.8)
diecodev Oct 29, 2026
1826d2d
fix: 🐛 only dismiss swipes towards an allowed direction (sonner 2.0.8)
diecodev Oct 29, 2026
27c61c9
feat(website): ✨ revamp the site and split the docs by version
diecodev Oct 30, 2026
b89d3ef
feat(website): ✨ add a custom 404 page
diecodev Oct 30, 2026
950085d
docs: 📝 add npm and Qwik v2 badges to the README
diecodev Oct 30, 2026
907b581
fix(website): 🐛 keep the version menu inside the viewport on phones
diecodev Oct 30, 2026
4104ddf
build(website): 🚀 prerender the website and host it on Vercel
diecodev Oct 30, 2026
6e3fc87
ci(website): 👷 deploy the website to Vercel from GitHub Actions
diecodev Oct 30, 2026
50d4325
docs: 📝 document the website's build and its Vercel hosting
diecodev Oct 30, 2026
6ff93a1
ci: 🔒 stage releases on npm and publish them once approved with 2FA
diecodev Oct 30, 2026
543ad79
ci: 👷 run the CI on v2 and on every pull request of a stack
diecodev Oct 30, 2026
1234678
docs: 📝 document the staged release flow
diecodev Oct 30, 2026
2e21872
feat(website): ✨ show each GitHub release's notes in the changelog
diecodev Oct 30, 2026
d3027a1
ci(website): 👷 read the GitHub releases with the workflow's token
diecodev Oct 30, 2026
c712d44
docs: 📝 the changelog's notes are the GitHub releases
diecodev Oct 30, 2026
d8a68ea
Merge pull request #20 from diecodev/feat/changelog-from-releases
diecodev Oct 30, 2026
3cdd2b9
docs(website): 📝 document the fixes coming in 2.0.0-beta.2
diecodev Oct 30, 2026
80ac4b6
refactor(website): ♻️ drop the 2.0.0-beta.1 workarounds from the demos
diecodev Oct 30, 2026
9dfc2ae
docs: 📝 approve staged releases with pnpm stage
diecodev Oct 30, 2026
2f82be8
Merge pull request #22 from diecodev/docs/prepare-beta-2
diecodev Oct 30, 2026
12164c1
chore: release v2.0.0-beta.2
diecodev Oct 30, 2026
57a0b03
fix: 🐛 make pnpm lint lint again
diecodev Oct 30, 2026
ce5b1f4
build!: ⬆️ require Qwik 2.0.0-rc.4 and move to Vite 8
diecodev Oct 30, 2026
cb5cdd2
test: ✅ check that two toasts fired back to back both render
diecodev Oct 30, 2026
cb2bce6
docs: 📝 document Qwik 2.0.0-rc.4 and Vite 8
diecodev Oct 30, 2026
c18bea1
Merge pull request #23 from diecodev/chore/qwik-rc4
diecodev Oct 30, 2026
a890aae
chore: release v2.0.0-beta.3
diecodev Oct 30, 2026
958022d
fix(website): 🐛 render the changelog after a client-side navigation
diecodev Oct 30, 2026
cc5cb68
fix(website): 🐛 blur the docs header in Chromium again
diecodev Oct 30, 2026
881ff01
feat(website): ✨ color the changelog by kind of change
diecodev Oct 30, 2026
87437be
feat(website): ✨ scroll smoothly to sections of the same page
diecodev Oct 30, 2026
b29a680
feat(website): ✨ drop the pre-release banner and stick the old-line o…
diecodev Oct 30, 2026
e1517f0
feat(website): ✨ serve the current docs at /docs
diecodev Oct 30, 2026
8f0fe7d
style(website): 💄 mark the changelog's changes with a symbol, not colors
diecodev Oct 30, 2026
d037208
Merge pull request #25 from diecodev/feat/website-polish
diecodev Oct 30, 2026
7166af9
ci: 👷 build on Node 26
diecodev Oct 30, 2026
508e113
ci: 👷 run Playwright only when the library or the test app change
diecodev Oct 30, 2026
7ba1551
Merge pull request #27 from diecodev/ci/node-26
diecodev Oct 30, 2026
7cfc165
Merge branch 'v2' into ci/e2e-only-when-needed
diecodev Oct 30, 2026
8d7693e
Merge pull request #28 from diecodev/ci/e2e-only-when-needed
diecodev Oct 30, 2026
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
31 changes: 0 additions & 31 deletions .eslintignore

This file was deleted.

40 changes: 0 additions & 40 deletions .eslintrc.cjs

This file was deleted.

27 changes: 27 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Setup
description: Set up pnpm (the version in packageManager), Node 26, and install dependencies frozen

inputs:
registry-url:
description: npm registry URL. Set this only in publish jobs so NODE_AUTH_TOKEN is wired up.
required: false
default: ""

runs:
using: composite
steps:
# Without `version` it installs the one in package.json's packageManager,
# the same pnpm Vercel reads for preview builds.
- name: Install pnpm
uses: pnpm/action-setup@v6

- name: Use Node.js 26
uses: actions/setup-node@v7
with:
node-version: 26
cache: pnpm
registry-url: ${{ inputs.registry-url }}

- name: Install dependencies
run: pnpm install --frozen-lockfile
shell: bash
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI

on:
push:
branches: [main, v2]
# Every base, not only main: in a stack each pull request targets the branch below it.
pull_request:
workflow_call: # lets release.yml reuse this exact gate

# Playwright runs in e2e.yml, only when the library or the test app change.

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
# cancel superseded PR runs, but never cancel pushes to main or v2
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

jobs:
verify:
name: Lint, typecheck & build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: ./.github/actions/setup

- name: Lint
run: pnpm lint

- name: Build library (types + lib)
run: pnpm build.types && pnpm build.lib

- name: Typecheck website
run: pnpm build.types && pnpm lint
working-directory: website

# The website imports the library built above, as Vercel builds it.
- name: Build website (client + SSG)
run: pnpm build.client && pnpm build.server
working-directory: website
env:
GITHUB_TOKEN: ${{ github.token }} # the changelog reads the GitHub releases

- name: Typecheck test app
run: pnpm build.types && pnpm lint
working-directory: test
45 changes: 0 additions & 45 deletions .github/workflows/deploy.yml

This file was deleted.

92 changes: 92 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: E2E

# The Playwright suite drives the library (src/) through the test app (test/),
# so it only runs when one of them, or what builds and runs them, changes: a
# pull request that only touches the website or the docs doesn't wait for it.
# The release always runs it (workflow_call).
on:
push:
branches: [main, v2]
paths:
- "src/**"
- "test/**"
- "playwright.config.ts"
- "vite.config.ts"
- "tsconfig.json"
- "tsconfig.lib.json"
- "package.json"
- "pnpm-lock.yaml"
- "pnpm-workspace.yaml"
- ".github/actions/setup/**"
- ".github/workflows/e2e.yml"
# Every base, not only main: in a stack each pull request targets the branch below it.
pull_request:
paths:
- "src/**"
- "test/**"
- "playwright.config.ts"
- "vite.config.ts"
- "tsconfig.json"
- "tsconfig.lib.json"
- "package.json"
- "pnpm-lock.yaml"
- "pnpm-workspace.yaml"
- ".github/actions/setup/**"
- ".github/workflows/e2e.yml"
workflow_call: # lets release.yml run it before publishing

concurrency:
group: e2e-${{ github.workflow }}-${{ github.ref }}
# cancel superseded PR runs, but never cancel pushes to main or v2
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

jobs:
e2e:
name: Playwright (${{ matrix.browser }})
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
browser: [chromium, webkit]
steps:
- uses: actions/checkout@v7
- uses: ./.github/actions/setup

# The Playwright webServer runs `pnpm dev` in ./test, which imports the
# workspace-linked library from lib/, so the lib must be built first.
- name: Build library
run: pnpm build.types && pnpm build.lib

- name: Resolve Playwright version
id: pw
run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> "$GITHUB_OUTPUT"

- name: Cache Playwright browsers
id: pw-cache
uses: actions/cache@v6
with:
path: ~/.cache/ms-playwright
key: playwright-v2-${{ runner.os }}-${{ matrix.browser }}-${{ steps.pw.outputs.version }}

- name: Install Playwright (browser + system deps)
if: steps.pw-cache.outputs.cache-hit != 'true'
run: pnpm exec playwright install --with-deps ${{ matrix.browser }}

- name: Install Playwright system deps (cached browser)
if: steps.pw-cache.outputs.cache-hit == 'true'
run: pnpm exec playwright install-deps ${{ matrix.browser }}

- name: Run Playwright tests
run: pnpm exec playwright test --project=${{ matrix.browser }}

- name: Upload report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v7
with:
name: playwright-report-${{ matrix.browser }}
path: playwright-report/
retention-days: 7
Loading
Loading