All notable changes to this project will be documented in this file.
- ESLint configuration with TypeScript support
- Expanded npm keywords for better discoverability
- Comparison table, additional badges in README
CHANGELOG.mdandCONTRIBUTING.md
- Fixed SoundProvider context not propagating sound state correctly (#8)
- Fixed compatibility issues with Next.js
- Unit test suite and integration test scaffold
- Fixed lint errors (empty blocks/functions) in hooks and runtime
checkAudioPermissionutility touseSoundhook and runtime exports (#7)
- Fixed AudioContext resource leak in
checkAudioPermission
- Updated repository URLs and ownership
- Fixed deriving playback metrics from Howl without causing excessive re-renders
- Refactored playback state to derive metrics directly from Howl instance (#4)
- Exported
fetchSoundBlobfunction for fetching sounds as blobs
- Custom sound playback support
- Fixed
react-sounds-cli
- Fixed
useSoundOnChangehook to only run when value changes
- Fixed
useSoundhook not updating play callback when sound name changes
- Fixed
useSoundhook not updating play callback when sound name changes - Improved handling of limited sound resources by cleaning and locking sound resources
- Fixed freezing JavaScript thread when testing if local file exists
- Added short timeout when testing for local sound files
- Improved sound loading reliability
useSoundhook for playing sound effects with full playback controluseSoundOnChangehook for triggering sounds on value changesuseSoundEnabledhook for global sound toggleSound,SoundButton, andSoundProviderReact components- 72+ categorized sound effects (ambient, arcade, game, notification, system, UI)
- CDN-based lazy loading with local file fallback
- CLI tool (
react-sounds-cli) for downloading sounds for self-hosting - TypeScript support with full type definitions
- Next.js compatibility with "use client" directive
- Global sound state management with localStorage persistence