Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: typelets/typelets-api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.16.7
Choose a base ref
...
head repository: typelets/typelets-api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.17.0
Choose a head ref
  • 2 commits
  • 8 files changed
  • 2 contributors

Commits on Nov 24, 2025

  1. feat: add public notes caching and public count to notes endpoint

    Public Notes Two-Tier Caching:
    - Add Cloudflare CDN caching (24h TTL) for GET /api/public-notes/:slug
    - Add Upstash Redis caching layer (24h TTL) between CDN and database
    - Invalidate both caches on PUT/DELETE operations
    - Add cloudflare-cache.ts helper for CDN purge via Cloudflare API
    
    Public Count Feature:
    - Add public count field to GET /api/notes/counts response
    - Shows count of published notes (excludes archived/deleted)
    - Joins with public_notes table to determine published status
    - Update OpenAPI schemas with proper types (replaces z.any())
    
    Environment variables required:
    - CLOUDFLARE_ZONE_ID (for CDN purging)
    - CLOUDFLARE_API_TOKEN (for CDN purging)
    - PUBLIC_URL (for constructing purge URLs)
    rui-typelets committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    6436058 View commit details
    Browse the repository at this point in the history
  2. chore(release): 1.17.0 [skip ci]

    # [1.17.0](v1.16.7...v1.17.0) (2025-11-24)
    
    ### Features
    
    * add public notes caching and public count to notes endpoint ([6436058](6436058))
    semantic-release-bot committed Nov 24, 2025
    Configuration menu
    Copy the full SHA
    9a70a34 View commit details
    Browse the repository at this point in the history
Loading