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-modeendpoint 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-Resetin 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-reviewsection β Display user reviews and ratings for directory itemsmore-itemssection β Show related/recommended items- Enhanced
articles-gridβ NewarticleSubroutefilter 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/:idnow 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
docspage 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');:::
- First step
- Second step
- 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
docstype (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
pagetype β JSON-based landing pages with pre-built sectionsarticletype β Markdown blog posts and long-form contentitemtype β Structured directory entries with custom fields
π¨ Landing Page Sections
Added complete section library:
heroβ Compelling headlines with CTAsproblemβ Highlight pain pointssolutionβ Show your approachfeaturesβ Showcase capabilitieshow-it-worksβ Explain your processfaqβ Answer common questionsctaβ Drive conversionscontentβ Flexible text contenttestimonials-verticalβ Social proofpricingβ Pricing tables and plans
π Directory Sections
Added directory-specific sections:
directory-heroβ Specialized hero for directory sitesitems-gridβ Display item collectionsarticles-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
- Announce β 90 days advance notice via email and changelog
- Support β Maintain old behavior alongside new implementation
- Migrate β Provide clear migration guides and tools
- 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-Versionheader
π Version Compatibility
| API Version | Support Status | End of Life |
|---|---|---|
| v1.3.x | β Active | Current |
| v1.2.x | β Supported | 2024-12-31 |
| v1.1.x | β Supported | 2024-09-30 |
| v1.0.x | β οΈ Deprecated | 2024-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
- Documentation β Complete guides at docs.pagegun.com
- Discord community β 500+ developers at discord.gg/pagegun
- Email support β Technical questions to support@pagegun.com
- Feature requests β Vote on new features at feedback.pagegun.com
π Contributing
Found an issue or have a suggestion?
- Bug reports β GitHub Issues
- Feature requests β Feature voting board
- Documentation improvements β Docs repository
We love community contributions! π