Skip to content

Latest commit

 

History

History
371 lines (179 loc) · 14.7 KB

CHANGELOG.md

File metadata and controls

371 lines (179 loc) · 14.7 KB

CHANGELOG

4.1.2 (2025-02-04)

Bug Fixes

  • appwrite: export and document format types (e0cb492)

4.1.1 (2025-02-03)

Bug Fixes

4.1.0 (2025-02-02)

Features

4.0.1 (2025-01-31)

Bug Fixes

  • update imagekit crop options and add crop mode (#158) (537ee24)

4.0.0 (2025-01-19)

⚠ BREAKING CHANGES

This is a major release with several breaking changes. See UPGRADING.md for a detailed migration guide.

New Features

  • Added support for provider-specific operations with type safety
  • Added support for provider-specific options (e.g., base URLs, project keys)
  • Added fallback option to specify a fallback provider if URL isn't recognized

Breaking Changes

  • Removed Features

    • Removed delegated URL system
    • Removed support for some CDN-specific params in favor of new provider operations system
  • API Changes

    • Removed URL delegation system and canonical URL detection
    • Changed transformUrl signature to accept operations and provider options as separate arguments
    • Updated parseUrl return type structure to use operations and provider terminology
    • Added new URL parsing functions: getExtractorForUrl, getExtractorForProvider
  • Function Renames

    • getImageCdnForUrlgetProviderForUrl
    • getImageCdnForUrlByDomaingetProviderForUrlByDomain
    • getImageCdnForUrlByPathgetProviderForUrlByPath
    • Old functions marked as deprecated but still available
  • Type System Changes

    • Added generic type support for provider-specific operations
    • Updated UrlTransformerOptions to support typed provider operations
    • Removed ParsedUrl type in favor of new ParseURLResult
    • Added new types for enhanced type safety:
      • Operations
      • OperationMap
      • FormatMap
      • ImageFormat
      • ProviderConfig

3.22.0 (2024-12-07)

Features

3.21.0 (2024-12-07)

Features

3.20.0 (2024-11-11)

Features

3.19.0 (2024-10-26)

Features

  • add support for cloudflare images without custom domain (#131) (320784b)

Bug Fixes

3.18.1 (2024-10-26)

Bug Fixes

3.18.0 (2024-03-12)

Features

3.17.0 (2024-02-08)

Features

3.16.1 (2024-02-07)

Bug Fixes

3.16.0 (2023-12-09)

Features

3.15.0 (2023-12-05)

Features

Bug Fixes

  • contentful: limit dimensions to 4000px (#101) (8d84f4d)

3.14.1 (2023-11-16)

Bug Fixes

  • cloudflare: use optional regex for transformation group #60 (2800f41)

3.14.0 (2023-11-15)

Features

Bug Fixes

3.13.0 (2023-11-07)

Features

3.12.0 (2023-10-31)

Features

3.11.0 (2023-10-29)

Features

3.10.1 (2023-09-29)

Bug Fixes

  • don't include node type refs in declaration (#83) (b960e77)

3.10.0 (2023-08-01)

Features

  • add support for Cloudflare Images (#79) (50f5d59)

3.9.0 (2023-07-20)

Features

3.8.1 (2023-07-05)

Bug Fixes

  • builder.io: force sharp to ensure correct fit behaviour (#75) (0146f0c)

3.8.0 (2023-07-04)

Features

3.7.0 (2023-07-03)

Features

  • improve compatibility of URLs in Node (#72) (b91f194)

3.6.4 (2023-07-03)

Bug Fixes

3.6.3 (2023-07-03)

Bug Fixes

  • correct npm publish test (b54d6cd)

3.6.2 (2023-07-03)

Bug Fixes

  • correctly handle fit mode in Bunny.net, Cloudflare and Kontent.ai (#68) (4b2bf38)

3.6.1 (2023-05-16)

Bug Fixes

  • correctly detect relative next.js URLs (#64) (e2eb2ae)

3.6.0 (2023-05-15)

Features

  • support relative URLs when detecting by path (#61) (a28ffa9)

3.5.0 (2023-04-25)

Features

3.4.1 (2023-04-23)

Bug Fixes

3.4.0 (2023-04-22)

Features

3.3.0 (2023-04-22)

Features

3.2.0 (2023-04-04)

Features

3.1.0 (2023-03-28)

Features

3.0.1 (2023-03-11)

Bug Fixes

3.0.0 (2023-03-10)

⚠ BREAKING CHANGES

  • transformers may return URLs as strings (#30)

Features

  • add Next.js and Vercel support (#32) (4cff46d)
  • transformers may return URLs as strings (#30) (ce95cfe)

2.2.2 (2023-03-09)

Bug Fixes

  • cloudinary: default to fill without upscale (#27) (e7a3de5)
  • handle custom cloudinary domains (ce2d1e6)

2.2.1 (2023-03-06)

Bug Fixes

2.2.0 (2023-03-06)

Features

2.1.0 (2023-02-24)

Features

Bug Fixes