Skip to content

Releases: ascorbic/unpic

v4.1.2

04 Feb 08:40
1f67e59
Compare
Choose a tag to compare

4.1.2 (2025-02-04)

Bug Fixes

  • appwrite: export and document format types (e0cb492)

v4.1.1

03 Feb 08:56
3a9ec38
Compare
Choose a tag to compare

4.1.1 (2025-02-03)

Bug Fixes

v4.1.0

02 Feb 08:25
7dccfb0
Compare
Choose a tag to compare

4.1.0 (2025-02-02)

Features

v4.0.1

31 Jan 15:05
c40d984
Compare
Choose a tag to compare

4.0.1 (2025-01-31)

Bug Fixes

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

v4.0.0

19 Jan 15:14
32b0584
Compare
Choose a tag to compare

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

v3.22.0

07 Dec 11:23
17249e1
Compare
Choose a tag to compare

3.22.0 (2024-12-07)

Features

v3.21.0

07 Dec 08:22
6f9639c
Compare
Choose a tag to compare

3.21.0 (2024-12-07)

Features

v3.20.0

11 Nov 16:49
15d04d4
Compare
Choose a tag to compare

3.20.0 (2024-11-11)

Features

v3.19.0

26 Oct 19:02
bcc18bf
Compare
Choose a tag to compare

3.19.0 (2024-10-26)

Features

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

Bug Fixes

v3.18.1

26 Oct 14:50
f3db4b3
Compare
Choose a tag to compare

3.18.1 (2024-10-26)

Bug Fixes