v6.0.0 Release: Relatively Permanent
2024-12-19We're excited to announce SuCoS v6.0.0, focusing on URL handling improvements and consistency.
Permalink Changes
The major change in this release is the inclusion of BaseURL in permalinks. This change provides more consistent URL handling across your site, especially when deploying to subdirectories or custom domains.
Previously, Permalink
would return a URL relative to your site root. Now, it includes the BaseURL, giving you absolute URLs out of the box. For those who need the old behavior, we've kept it accessible via RelPermalink
.
This change makes it easier to:
- Generate absolute URLs for social media cards
- Create proper RSS feeds
- Handle subdirectory deployments seamlessly
Migration Guide
If you're upgrading from v5, here's what you need to know:
- Replace
Permalink
withRelPermalink
where you need URLs relative to your site root - Keep using
Permalink
where you want absolute URLs (recommended for RSS feeds and social media cards)
Remember our previous URL handling improvements mentioned in v5.0.0? This change builds upon that foundation to provide even more robust URL management.