Skip to content

v0.2.0

Latest

Choose a tag to compare

@davidgs davidgs released this 02 Dec 16:21
Immutable release. Only release title and notes can be modified.
a701c18

Duckling 0.2.0

Security hardening and API rate limiting, a light theme, keyboard shortcuts, and a WCAG 2.1 A/AA accessibility pass, with documentation screenshots refreshed in both themes and all four languages.

Highlights

  • Light theme with a header toggle; the choice is remembered, and the app follows the operating system until you choose
  • Keyboard shortcuts for the main actions, with a help dialog (?) and a switch to turn them off
  • Accessibility: WCAG 2.1 A/AA audit of the app in both themes, with the findings fixed (contrast, labels, status announcements, skip link, reflow at 320 px, reduced motion). See ACCESSIBILITY_AUDIT.md, including what it did not cover
  • API rate limiting: per-client limits on all /api endpoints, tighter for conversions and heavy operations; limited requests get 429
  • Security hardening: SSRF protection for URL conversion rewritten, cross-origin writes rejected, Markdown preview sanitised, HTML preview sandboxed, DEBUG off by default, generated secret key, Docker Compose bound to 127.0.0.1 by default
  • Documentation panel follows the app theme, closes on Escape from inside the docs, and shows screenshots
  • Docs: all screenshots recaptured in dark and light for English, German, Spanish and French

Upgrade notes

  • Docker Compose now binds to 127.0.0.1; set DUCKLING_BIND_ADDRESS=0.0.0.0 to expose the services
  • Placeholder SECRET_KEY values are no longer accepted; without a real key the backend generates one in the data folder
  • Rate limits are configurable through DUCKLING_RATELIMIT_*; set DUCKLING_TRUSTED_PROXIES when running behind a proxy
  • Batch endpoints accept at most 50 items per request (DUCKLING_MAX_BATCH_ITEMS)

Notes