- Added support for customizable voice and model IDs in the TTS API.
- Improved alignment handling with new data structures for timestamps.
- Updated caching mechanism to include voice and model in content hash.
- Enhanced logging for better debugging and performance tracking.
- Add a new API route for text-to-speech functionality that synthesizes speech from article content.
- Cache audio and timestamp data to improve performance and reduce redundant API calls.
- Handle errors gracefully and provide meaningful responses for missing articles or API failures.
feat(audio-reader): create audio reader component for narration playback
- Develop a client-side audio reader component that fetches narration data and synchronizes word highlighting during playback.
- Implement play/pause functionality with visual feedback for loading and error states.
- Ensure accessibility and responsiveness in the audio playback interface.
feat(rehype): add rehype plugin for word spans in markdown
- Introduce a rehype plugin that wraps words in spans for better interaction with the audio reader.
- Normalize words and manage word IDs for synchronization with audio timestamps.
style(audio-reader): enhance styles for audio reader component
- Improve the visual design of the audio reader component, including button styles and progress indicators.
- Ensure consistent spacing and alignment for a better user experience.
fix(normalize-word): refine word normalization logic
- Update the normalization function to handle various non-word characters more effectively.
- Introduced new author data files for Anton Stallbörger, Jace Attard, Raphael Salaja, and Russell Dare.
- Updated the author schema to include additional social media fields.
- Implemented a script to generate the authors index file automatically.
- Added utility functions for handling author data, including fetching and validating author information.
- Enhanced the author display components in the header to include avatars and initials.
BREAKING CHANGE: The author schema now requires a new structure for social media links.
- Added a ThemeProvider to manage light and dark themes.
- Updated styles to support theme-based color changes.
- Introduced new CSS variables for typography and colors.
- Removed outdated markdown content and improved code block styling.
- Enhanced configuration for rehypeCodeOptions to support new themes.
BREAKING CHANGE: Theming structure has changed, requiring updates to CSS and component usage.
- Introduced a new LenisProvider component to manage smooth scrolling.
- Utilizes the Lenis library with a React wrapper for better performance.
- The component updates the animation frame for smooth scrolling effects.
feat(vercel): integrate Vercel analytics and speed insights
- Added Vercel's Analytics and SpeedInsights components for performance tracking.
- These components will help in monitoring application performance and user interactions.
docs: add configuration guide for the library
- Created a new documentation file detailing how to configure the library options.
- Included example configuration and a table of available options for clarity.
- Deleted unused SVG files to clean up the project.
- Updated TypeScript configuration for improved path mappings and included new files.
- Added new source files for dynamic and server-side rendering with Fumadocs.
- Introduced markdown content files for documentation and API reference.
- Implemented new styling and theming system with CSS variables for better design consistency.
BREAKING CHANGE: The structure of the source files has changed, requiring updates to imports in other parts of the application.
- upgraded Next.js from 15.5.4 to 16.0.0-beta.0
- updated React and ReactDOM from 19.1.0 to 19.2.0
- adjusted @types/react and @types/react-dom to specific versions
- added overrides for @types/react and @types/react-dom