API Changelog

Stay up-to-date with all PageGun API changes, new features, and improvements. We follow semantic versioning and maintain backward compatibility for all breaking changes.

Version 1.3.0 β€” 2024-03-15

πŸ” Security & Data Protection

Added

  • Data Mode encryption β€” Protect sensitive content with client-side encryption
  • DELETE /projects/:id/data-mode endpoint for disabling encryption
  • Enhanced security headers β€” Added CSP and security headers to all responses
  • Rate limit headers β€” X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset in all responses

Security Impact: Data Mode encryption allows you to store sensitive content that only authorized clients can decrypt, perfect for premium content or private documentation.

# Enable Data Mode encryption curl -X POST "https://api.pagegun.com/projects/proj_abc123/data-mode" \ -H "Authorization: Bearer $PAGEGUN_API_KEY" \ -H "Content-Type: application/json" \ -d '{"encryption_key": "your_secure_key"}'

πŸ“Š Analytics & Monitoring

Added

  • Webhook delivery logs β€” Track webhook success/failure rates in dashboard
  • Page performance metrics β€” Loading times and Core Web Vitals tracking
  • API usage dashboard β€” Monitor your API calls and rate limits

Version 1.2.0 β€” 2024-02-20

🎨 New Section Types

Added

  • items-review section β€” Display user reviews and ratings for directory items
  • more-items section β€” Show related/recommended items
  • Enhanced articles-grid β€” New articleSubroute filter for better content organization

Migration Note: These new sections are backward compatible. Existing pages continue to work unchanged.

// New items-review section { "type": "items-review", "heading": "What Users Say", "reviews": [ { "rating": 5, "title": "Game changer for our team", "content": "PageGun saved us months of development time.", "author": "Sarah Chen", "company": "DevCorp" } ] }

πŸ”§ API Improvements

Changed

  • PUT /pages/:id now returns the complete updated page object instead of just confirmation
  • Improved error messages β€” More descriptive validation errors with field-specific guidance
  • Faster response times β€” 20% improvement in average API response time

Before:

// Old response {"message": "Page updated successfully"}

After:

// New response includes full page data { "data": { "id": "page_xyz789", "page_name": "Updated Page", "updated_at": "2024-02-20T10:30:00Z", // ... complete page object } }

Version 1.1.0 β€” 2024-02-01

πŸ“š Documentation Pages

Added

  • docs page type β€” Purpose-built for technical documentation
  • Nested navigation β€” Automatic sidebar generation from URL structure
  • Custom markdown directives β€” Enhanced formatting for docs

New Markdown Directives:

:::callout{type="info"} This is an info callout box ::: :::code-tabs ```bash curl -X GET "https://api.pagegun.com/pages"
const response = await fetch('/api/pages');

:::

  1. First step
  2. Second step
  3. Third step

### πŸš€ Publishing Workflow

**Added**
- **`POST /pages/:id/publish`** β€” Publish draft pages
- **`POST /pages/:id/unpublish`** β€” Revert published pages to draft
- **Publishing history** β€” Track when pages were published/unpublished

```bash
# Publish a draft page
curl -X POST "https://api.pagegun.com/pages/page_xyz789/publish" \
  -H "Authorization: Bearer $PAGEGUN_API_KEY"

# Unpublish a live page  
curl -X POST "https://api.pagegun.com/pages/page_xyz789/unpublish" \
  -H "Authorization: Bearer $PAGEGUN_API_KEY"

πŸ› Bug Fixes

Fixed

  • Slug validation β€” Now correctly allows nested paths for docs type (e.g., api/authentication)
  • Section ordering β€” Fixed issue where sections occasionally rendered out of order
  • Image optimization β€” Resolved CDN caching issues with hero images

Version 1.0.0 β€” 2024-01-15

πŸŽ‰ Initial Release

The foundation of PageGun API

πŸ—οΈ Core Infrastructure

Added

  • RESTful API architecture β€” Standard HTTP methods with JSON responses
  • API key authentication β€” Secure Bearer token authentication
  • Project management β€” Multi-project support for agencies and teams
  • Global CDN β€” Fast content delivery worldwide

πŸ“„ Page Types

Added

  • page type β€” JSON-based landing pages with pre-built sections
  • article type β€” Markdown blog posts and long-form content
  • item type β€” Structured directory entries with custom fields

🎨 Landing Page Sections

Added complete section library:

  • hero β€” Compelling headlines with CTAs
  • problem β€” Highlight pain points
  • solution β€” Show your approach
  • features β€” Showcase capabilities
  • how-it-works β€” Explain your process
  • faq β€” Answer common questions
  • cta β€” Drive conversions
  • content β€” Flexible text content
  • testimonials-vertical β€” Social proof
  • pricing β€” Pricing tables and plans

πŸ“ Directory Sections

Added directory-specific sections:

  • directory-hero β€” Specialized hero for directory sites
  • items-grid β€” Display item collections
  • articles-grid β€” Blog/article listings

πŸ› οΈ API Endpoints

Complete CRUD operations:

  • Projects: GET /projects, POST /projects, PUT /projects/:id
  • Pages: GET /pages, POST /pages, GET /pages/:id, PUT /pages/:id, DELETE /pages/:id
  • Settings: GET /projects/:id/settings, PUT /projects/:id/settings

πŸ”§ Developer Experience

Added

  • Comprehensive documentation β€” Complete API reference and guides
  • Code examples β€” cURL, JavaScript, Python examples for all endpoints
  • Postman collection β€” Ready-to-use API collection
  • Webhook support β€” Real-time event notifications

Breaking Changes Policy

We're committed to maintaining backward compatibility. When breaking changes are necessary:

πŸ”„ Deprecation Process

  1. Announce β€” 90 days advance notice via email and changelog
  2. Support β€” Maintain old behavior alongside new implementation
  3. Migrate β€” Provide clear migration guides and tools
  4. Remove β€” Remove deprecated features after support period

πŸ“’ Staying Updated

  • Subscribe to updates β€” Get notified of API changes via email newsletter
  • Follow the changelog β€” Bookmark this page for regular updates
  • Join our Discord β€” Get real-time updates in our developer community
  • Check version headers β€” All API responses include X-API-Version header

πŸ”— Version Compatibility

API VersionSupport StatusEnd of Life
v1.3.xβœ… ActiveCurrent
v1.2.xβœ… Supported2024-12-31
v1.1.xβœ… Supported2024-09-30
v1.0.x⚠️ Deprecated2024-06-30

Migration Guides

Upgrading from v1.2 to v1.3

No breaking changes! Simply update your client to take advantage of new features:

// New: Check rate limit headers const response = await fetch('/api/pages'); const rateLimit = { limit: response.headers.get('X-RateLimit-Limit'), remaining: response.headers.get('X-RateLimit-Remaining'), reset: response.headers.get('X-RateLimit-Reset') };

Upgrading from v1.1 to v1.2

Enhanced responses: PUT /pages/:id now returns complete page data:

// Before: Only got confirmation const result = await updatePage(pageId, newData); // result = { message: "Page updated successfully" } // After: Get complete updated page const result = await updatePage(pageId, newData); // result.data = { id: "page_xyz", page_name: "...", ... }

Upgrading from v1.0 to v1.1

New features only: All v1.0 functionality remains unchanged. New docs page type and publishing endpoints are additive.

Upcoming Features

πŸš€ Roadmap Preview

Q2 2024

  • GraphQL API β€” Alternative query interface for complex data fetching
  • Bulk operations β€” Create/update multiple pages in single requests
  • Advanced webhooks β€” Filter webhooks by page type, subroute, or custom criteria
  • Official SDKs β€” Native libraries for Node.js, Python, Go, PHP

Q3 2024

  • Real-time collaboration β€” Multiple users editing pages simultaneously
  • Version control β€” Git-like branching and merging for content
  • A/B testing API β€” Built-in split testing functionality
  • Advanced analytics β€” Conversion tracking and funnel analysis

Q4 2024

  • Multi-language support β€” Automatic translation and localization
  • E-commerce integration β€” Native Stripe and PayPal section types
  • Advanced caching β€” Edge-side includes and dynamic content caching

Support & Feedback

πŸ†˜ Getting Help

πŸ“ Contributing

Found an issue or have a suggestion?

We love community contributions! πŸ’™

Β© 2026 PageGun. All rights reserved.