Skip to content

Conversation

@colbyfayock
Copy link
Collaborator

Description

preserveTransformations is an option currently maintained at the framework level that reads transformations from a Cloudinary URL as the source and applies them, which by default, only uses the public ID from that URL.

From what I can tell there's no reason that this needs to be maintained at the framework level and can instead be maintained with the rest of the URL Loader logic.

Simply preserveTransformations when passing a src as a Cloudinary URL with a version # (required).

Issue Ticket Number

Fixes #183

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Fix or improve the documentation
  • This change requires a documentation update

Checklist

  • I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
  • I have created an issue ticket for this PR
  • I have checked to ensure there aren't other open Pull Requests for the same update/change?
  • I have performed a self-review of my own code
  • I have run tests locally to ensure they all pass
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes needed to the documentation

@colbyfayock colbyfayock merged commit 56e7f79 into main Aug 28, 2024
@colbyfayock colbyfayock deleted the feat/183-preserve branch August 28, 2024 00:55
github-actions bot pushed a commit that referenced this pull request Aug 28, 2024
# [@cloudinary-util/url-loader-v5.8.0](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/url-loader-v5.7.1...@cloudinary-util/url-loader-v5.8.0) (2024-08-28)

### Features

* Adds preserveTransformations to URL Loader ([#184](#184)) ([56e7f79](56e7f79)), closes [#183](#183)
@github-actions
Copy link

🎉 This PR is included in version @cloudinary-util/url-loader-v5.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add preserveTransformations to url-loader

3 participants