Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @unpic/core from 0.0.49 to 1.0.1 in /astro-cloudinary #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2025

Bumps @unpic/core from 0.0.49 to 1.0.1.

Release notes

Sourced from @​unpic/core's releases.

@​unpic/core@​1.0.1

Changelog

1.0.0

Major Changes

  • cd0fe95: Welcome to version 1.0.0 of Unpic! 🎉

    This is a major update, with changes to the API of all frameworks. This will not affect you if you are just using the components with default options, but if you are passing custom transformers or specifying the CDN then you will need to update your code.

    Breaking changes

    • The cdnOptions property has been removed. Use the new options property instead.
    • The transformer property has been removed from the default Image component. Import the base component and specify the transformer there instead. The type signature for the transformer has also changed. See the unpic library documentation for more information.
    • The cdn property has been removed. Either use the new fallback property or import the base component and pass a single provider to it.

    Changes

    Most of the changes are because of a new approach to handling individual image CDNs and providers in the base Unpic library. This is designed to make Unpic more flexible, efficient and modular. It also introduces support for type-safe custom operations and options for each provider.

    Provider operations

    Supported frameworks: All except webc and lit.

    The new operations property allows you to specify custom operations for each provider. Many image CDNs support dozens of custom operations. Previously these were hard to use with Unpic. The new operations property gives type-safe support for all supported features of each provider. This works even if you have images from multiple providers in the same component, as you can specify options for each provider separately.

    <Image
      src="https://example.com/image.jpg"
      operations={{ imgix: { flip: "h" }, bunny: { flop: true } }}
    />

... (truncated)

Changelog

Sourced from @​unpic/core's changelog.

Changelog

1.0.0

Major Changes

  • cd0fe95: Welcome to version 1.0.0 of Unpic! 🎉

    This is a major update, with changes to the API of all frameworks. This will not affect you if you are just using the components with default options, but if you are passing custom transformers or specifying the CDN then you will need to update your code.

    Breaking changes

    • The cdnOptions property has been removed. Use the new options property instead.
    • The transformer property has been removed from the default Image component. Import the base component and specify the transformer there instead. The type signature for the transformer has also changed. See the unpic library documentation for more information.
    • The cdn property has been removed. Either use the new fallback property or import the base component and pass a single provider to it.

    Changes

    Most of the changes are because of a new approach to handling individual image CDNs and providers in the base Unpic library. This is designed to make Unpic more flexible, efficient and modular. It also introduces support for type-safe custom operations and options for each provider.

    Provider operations

    Supported frameworks: All except webc and lit.

    The new operations property allows you to specify custom operations for each provider. Many image CDNs support dozens of custom operations. Previously these were hard to use with Unpic. The new operations property gives type-safe support for all supported features of each provider. This works even if you have images from multiple providers in the same component, as you can specify options for each provider separately.

    <Image
      src="https://example.com/image.jpg"
      operations={{ imgix: { flip: "h" }, bunny: { flop: true } }}
    />

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@unpic/core](https://github.com/ascorbic/unpic-img/tree/HEAD/packages/core) from 0.0.49 to 1.0.1.
- [Release notes](https://github.com/ascorbic/unpic-img/releases)
- [Changelog](https://github.com/ascorbic/unpic-img/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/ascorbic/unpic-img/commits/@unpic/core@1.0.1/packages/core)

---
updated-dependencies:
- dependency-name: "@unpic/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 3, 2025
Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
astro-cloudinary ❌ Failed (Inspect) Feb 3, 2025 7:48am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants