Skip to content

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@deondazy deondazy released this 03 Aug 15:25
· 155 commits to main since this release

Added

  • BackedEnum support for route names across the entire URL generation system
  • Callable key resolver pattern for secure signed URL key management
  • $absolute parameter support across all URL generation methods
  • full() method to get complete URL from PSR-7 request
  • URL validation with isValidUrl() method supporting mailto, tel, and sms URI schemes
  • Reserved parameter protection preventing override of 'signature' and 'expires' parameters in signed URLs
  • Expiration type support: DateTimeInterface|DateInterval|int|null for signed URLs

Fixed

  • Trailing slash removal across all URL generation methods
  • Optional parameter handling for routes like /posts/{slug?} removes trailing slashes
  • URI scheme validation supports modern web standards

Changed

  • Complete UrlGenerator architectural overhaul to self-contained design
  • Removed complex service dependencies for simple properties and methods
  • Signed URL generation with callable key resolver instead of parameter-based keys
  • Type safety with BackedEnum integration throughout the system

Security

  • Validation to prevent use of reserved parameters in signed URL generation
  • Signed URL security with callable key resolver pattern