Releases

2025-09-25

  • Added: Fork management foundation — fork any snippet with attribution, track changes on detail pages, and manage forks from the new `/forks` dashboard.
  • Added: Forked snippets now include a side-by-side diff with the original and quick “View diff” access from the Forks dashboard.

2025-09-20

  • Added: Advanced analytics workspace at `/analytics` with real-time counters, trends, and export so creators can track snippet performance.
  • Added: Snippet-level analytics view (e.g. `/snippet/[id]/analytics`) plus new tracking APIs to capture events and aggregate metrics securely.
  • Changed: Client app now emits analytics events for snippet views, likes, shares, and copy interactions to feed the new dashboards.
  • Changed: API routes emit analytics events for snippet lifecycle (create/update/delete), likes, shares, and comments so metrics stay accurate regardless of client instrumentation.
  • Added: Favorites system with `/favorites` hub, quick favorite button, and bookmark folders/notes APIs for organizing saved snippets.

2025-09-14

  • Fixed: Open Graph images now point to existing assets to prevent 404s during social sharing.
  • Changed: `robots` and `sitemap` now use `NEXT_PUBLIC_APP_URL` for environment‑aware absolute URLs.
  • Added: JSON‑LD “SoftwareSourceCode” structured data on snippet pages for richer search results.
  • Performance: Replaced Prism in Hero and Code Demo with lightweight sugar‑high; added responsive `sizes` on avatars; tuned animations for `prefers-reduced-motion`; configured long‑term cache headers for static assets.
  • Added: Dynamic Open Graph images for snippet pages at `/api/og/snippet/[id]` and wired into snippet metadata (OpenGraph + Twitter).
  • Added: BreadcrumbList JSON‑LD on Tags, Collections (list + detail), Explore, and Releases pages for improved SEO context.
  • Added: Global OG generator at `/api/og/page` and wired OG images for About, Privacy, Terms, and Help.

2025-09-13

  • Changed: Landing page refined — new hero copy + trust bar, Code Demo with language switch + dark/light toggle, Featured Snippets (SSR), Collections showcase, Testimonials, and Roadmap teaser.
  • Changed: Snippet detail page simplified — view and edit are now separate components with a single, clean card layout for better readability.
  • Fixed: Code blocks in the collapsible viewer now scroll inside the code area on desktop (the page no longer captures the scroll).
  • Fixed: Code highlighting on the snippet page no longer throws an async client component error; the highlighter loads reliably.
  • Changed: Snippet cards (collections and lists) now use the same Shiki-based highlighter for consistent code previews.
  • Changed: About, Privacy, Terms, and Help re-written in pure Markdown for stability and readability.
  • SEO: Home now uses generateMetadata, adds WebPage + BreadcrumbList JSON‑LD; snippet pages include dynamic metadata via Prisma; layout includes Organization JSON‑LD.

2025-09-12

  • Added: Drag & drop reordering of snippets within a collection (owner only). Changes persist and collections now respect custom order.
  • Fixed: Collection detail — drag & drop now works correctly in the grid layout (you can reorder across columns).
  • Fixed: Snippet cards now have consistent height across the grid for better alignment on all screen sizes.
  • Changed: Collection detail meta section redesigned for better readability and responsive layout (clear pills for author, count, updated, visibility).
  • Changed: Explore page — added header intro, active filter chips with one‑click removal, and minor visual polish for a clearer discovery experience.
  • Added: Tags Explorer at `/tags` with search, category filters, and a simple tag cloud linking to individual tag pages.
  • Added: Create Snippet — tag autocomplete with suggestions and removable chips (max 10, normalized).
  • Added: Custom 404 page with helpful navigation links (Explore, Home, Create).
  • Added: Roadmap page at `/roadmap` consolidating live, in‑progress, and planned features, including items from ticket #11.
  • Changed: Header now includes a `Roadmap` link; landing features section links to the full roadmap.
  • Added: Settings area under `/settings` with Profile, Privacy, Appearance pages (auto‑save) and scaffold for Notifications, Security, Data. Includes `GET /api/settings` and update endpoints for each section.
  • Added: Security sessions management — list active sessions and revoke via `/api/settings/sessions` and `/api/settings/sessions/[id]`.
  • Changed: Unified collections at `/collections` — guests see the public gallery; signed‑in users see "My Collections".
  • Changed: Header "Collections" now links to `/collections` for all users.
  • Changed: Explore page UI harmonized (neutral cards, container `max-w-7xl`, consistent empty/loading states).
  • Changed: Create Collection page uses neutral card (`border shadow-sm`), muted icon, and consistent layout spacing.
  • Changed: Create Snippet page — neutral card layout, description character counter, and a one‑click "Format" action using Monaco's formatter.
  • Fixed: Code highlighting component improved responsive behavior — prevents horizontal overflow on mobile devices with proper scrolling and width constraints.
  • Added: Private sharing system for snippets — new SHARED visibility level with secure share links and direct user invitations. Includes permissions (view-only or comments allowed), link expiration, usage limits, and access tracking.
  • Added: Share links management — create, configure, and revoke secure sharing links with customizable expiration dates, usage limits, and comment permissions.
  • Added: User invitation system — invite specific users by email with granular permissions (VIEW or COMMENT) for controlled snippet access.
  • Added: Shared snippet viewer at `/shared/[token]` — dedicated interface for accessing snippets via share links with proper access context and restrictions.
  • Added: Comprehensive sharing UI — modal interface with tabs for managing share links, inviting users, and monitoring access activity with real-time statistics.
  • Added: Access control middleware — intelligent snippet access verification supporting ownership, public visibility, share links, and direct invitations with proper permission enforcement.
  • Added: Sharing hooks and utilities — React hooks for managing share links, invitations, and shared snippet access with proper error handling and state management.
  • Added: Invite management — you can now remove an invited user's access directly from the Share modal (Invite tab).
  • Changed: Shared snippets automatically revert to Private when all sharing is removed (no share links and no invited users remain).
  • Changed: Tags — explorer and tag suggestions on the Create page load faster and feel smoother thanks to improved caching.
  • Changed: Settings — Profile, Privacy, Appearance, and Security pages use unified data loading and auto‑save for a more reliable experience.
  • Improved: Collections detail — saving of custom snippet order is now more resilient during rapid reordering.

2025-09-05

  • Guests can start a comment: opening the comment box prompts sign‑in and returns to the same page after authentication.
  • Comment deletion now shows a confirmation dialog to avoid mistakes.
  • Introduced this changelog to track product changes.
  • Snippet detail page refreshed with a clean, minimal design: clearer hierarchy, subtle badges, and a simpler actions bar.
  • Reading experience improved: code blocks no longer overflow on small screens; layout scales smoothly from mobile to desktop.
  • Statistics cards restyled with a neutral appearance (less color noise).
  • Collections UI harmonized: snippet cards and collection detail now match the sober style (neutral badges, tidy code preview, softer actions).
  • Comment counter updates immediately after adding or deleting a comment.
  • Eliminated accidental horizontal scrolling in snippet views on small screens.
  • Faster initial load and smoother behavior on the snippet detail page.