# Changelog

## [2.1.0] - 2026-06-05

- Added Riffrec Desktop, a standalone macOS feedback browser for recording any website without installing the React integration.
- Exported desktop recordings as compatible session zips containing existing event artifacts plus desktop capture context and optional notes.
- Added a GitHub-hosted macOS preview DMG build and a direct desktop download link.
- Fixed macOS preview DMG packaging so installed Electron framework links remain valid, and added optional local code signing for preview builds.
- Added optional `displayMedia` and `displayMediaVideo` props on `RiffrecProvider` to customize `getDisplayMedia` options and video constraints.
- Updated default screen capture options to request current-tab capture in Chromium (`preferCurrentTab: true`, `selfBrowserSurface: "include"`) while hiding monitor capture (`monitorTypeSurfaces: "exclude"`) and keeping a lower default frame rate (`5`).
- Exported `DEFAULT_DISPLAY_MEDIA_OPTIONS` and `DEFAULT_DISPLAY_MEDIA_VIDEO` for callers that want to extend the defaults explicitly.
- Changed session saving to automatically download a zip instead of prompting for a folder with the File System Access API.
- Added a provider-level recording overlay with a prominent "Stop and save" action.
- Added a customizable post-download notice that tells users to share the downloaded zip for feedback.

## [2.0.0] - 2026-04-24

- Added richer production-safe DOM context to click events, including element names, paths, classes, accessibility metadata, nearby context, bounding boxes, style snapshots, and React component paths when available.
- Removed built-in audio processing and the provider API key option.
- Kept microphone capture as local `voice.webm` output for external processing after recording.

## [1.0.0] - 2026-04-24

- Initial riffrec package scaffold.
- Published `riffrec` to npm with bundled ESM, CJS, and TypeScript declaration outputs.
- Updated installation docs to use `npm install riffrec`.
