Skip to content

Releases: chilohwei/donate

v1.0.4

Choose a tag to compare

@chilohwei chilohwei released this 08 Jun 05:16

Added

  • npm run dev, npm run validate, and npm run test:visual scripts with locked development dependencies.
  • Project validation for donation config, supporter records, local asset paths, theme hours, and version consistency.
  • Playwright visual smoke checks for desktop/mobile home, crypto, and supporters views.
  • Release checklist in README.

Changed

  • X social config now uses social.x and https://x.com/chilohwei, with runtime fallback for legacy social.twitter.
  • CI now runs the shared npm run validate entrypoint.
  • Initial WeChat QR is preloaded for faster first paint.
  • Supporters navigation stays in the current tab.
  • QR image alt text now follows the active payment method.
  • Supporter cards have clearer accessible labels and avoid duplicate avatar announcements.
  • Pages now use strict-origin-when-cross-origin referrer policy.

Fixed

  • Invalid supporter colorIdx values no longer break rendering.
  • theme.nightStart and theme.nightEnd correctly preserve valid 0 values.
  • Canonical URL injection also adds og:url.

v1.0.3

Choose a tag to compare

@chilohwei chilohwei released this 05 Apr 00:34

Changed

  • Deployment switched to Cloudflare Workers Builds (dashboard-connected CI/CD); GitHub Actions deploy job removed.
  • CI now runs validation only (JSON + JS syntax checks) on push and PR.
  • README deployment docs updated accordingly.

v1.0.2

Choose a tag to compare

@chilohwei chilohwei released this 05 Apr 00:20

Changed

  • QR images migrated from remote S3 to public/img/ (same-origin, WebP, −59% size): zero cross-origin overhead, edge-served by Workers.
  • Removed infinite cardBreathe animation on payment card — reduces GPU compositing load.
  • Supporter cards and fund items now enter via IntersectionObserver instead of hard-coded nth-child animation delays.
  • Font Awesome consolidated to single all.min.css; external stylesheets loaded non-blocking.
  • prefers-reduced-motion rule enhanced.

Added

  • theme-boot.js — shared FOUC-prevention + early <html lang> detection.
  • Smooth theme transition on OS light/dark switch (0.4 s crossfade).
  • QR switch crossfade — no flash when returning to the already-displayed image.
  • focus-visible outlines on interactive elements.
  • Icon class and crypto accent allow-list sanitisation.
  • Supporter wall crypto codes extended with config override supporters.cryptoCurrencyCodes.
  • twitter:card auto-upgraded to summary_large_image when site.ogImage is set.
  • CI: node --check on all JS files.
  • Bilingual <noscript> and <link rel="prefetch"> between pages.

Removed

  • Dead i18n keys (switchToDark, switchToLight, languageMenu).
  • External S3 image URLs and donateInjectQrHints IIFE.
  • Separate Font Awesome CSS files → single all.min.css.

Fixed

  • Meta/OG now match current crypto lineup (EVM 0x, TRC-20, Solana).
  • Missing qrAlt translations for FR, DE, ES, IT.
  • zh-TW qrLoadError corrected to Traditional Chinese.

v1.0.1

Choose a tag to compare

@chilohwei chilohwei released this 04 Apr 15:32

[1.0.1] - 2026-04-04

Changed

  • Crypto deposit addresses updated (BTC SegWit & Taproot, EVM 0x, Solana, USDT SPL / TRC-20) with per-row network tags and note hints in config.
  • TRON USDT (TRC-20) row with dedicated styling (--trx); SegWit BTC row labeled vs Taproot.

Added

  • Optional note on crypto entries; rendered as .crypto-hint under the address (escaped for safety).

v1.0.0

Choose a tag to compare

@chilohwei chilohwei released this 04 Apr 14:39

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

1.0.0 - 2026-04-04

Added

  • Donation page with WeChat, Alipay, PayPal QR tabs and crypto address list (copy + toast).
  • Supporters wall driven by public/supporters.json with empty / load-error states and example template at repo root.
  • Nine-language i18n, theme toggle (system / time fallback / manual), language switcher.
  • Accessibility: tab roles and keyboard navigation for payment methods, ARIA on controls and crypto rows.
  • Optional Open Graph / Twitter image and canonical URLs via public/js/config.js site.*.
  • GitHub Actions: validate supporters.json; deploy to Cloudflare Workers on push to main (cloudflare/wrangler-action).
  • VERSION file and this changelog.

Changed

  • Static assets live under public/; Workers config serves only ./public (repo root files are not publicly exposed).
  • Social link hover colors use data-brand keys instead of tooltip text; crypto row styles use data-coin (no :has() dependency).
  • README documents local dev (serve public), structure, and required GitHub secrets for deploy.

Fixed

  • Supporter fetch uses normal HTTP caching; loading failure shows a distinct message vs. empty wall.
  • Mobile safe-area padding for supporters page no longer overridden by a duplicate media rule.
  • QR hero image no longer uses loading="lazy" (above-the-fold).

Removed

  • Unused modal / form / legacy toast CSS.