Releases: imgix/imgix-go
Releases · imgix/imgix-go
v2.0.3
This release changes the way a DPR srcset is generated when CreateSrcset() is passed a height parameter. Previously, either the width, or the height and aspect ratio parameters together, had to be present for the generated srcset to be DPR based. Now, only a width or height parameter need to be present.
v2.0.2
v2.0.1
Changes
Summary
The changes made in this release have been primarily cosmetic. Prior to this release the contents of v2/
were duplicated in the project root. Now, that duplication has been eliminated and the Makefile has been updated accordingly (for testing).
- refactor: remove duplicate v2 files from project root (#11)
- build: update Makefile to test v2/ (#11)
Features
- imgix URL auto generation
- HTTPS and HTTP support
- Token-secured URLs
- automatic srcset generation
- customizable fixed-width srcset via variable qualities
- customizable fluid-width srcsets via the following:
Install
go get github.com/imgix/imgix-go/v2@v2.0.1
v2.0.0
Breaking Changes
imgix-go has undergone a complete rewrite in order to reach parity with the rest of imgix's SDK. Our team is excited to share these changes via a new major release -- v2.0.0.
Features
- imgix URL auto generation
- HTTPS and HTTP support
- Token-secured URLs
- automatic srcset generation
- customizable fixed-width srcset via variable qualities
- customizable fluid-width srcsets via the following:
Install
go get github.com/imgix/imgix-go/v2