All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
4.1.0 - December 14, 2022
- feat: add parameter to disable path encoding (#124)
4.0.3 - May 05, 2021
- fix: encode web proxy paths using url_encode (#111)
4.0.2 - April 22, 2021
- fix(path): correctly encode reserved chars (#108)
- test: add benchmark script for Imgix::Path#to_url (4b00c4b)
- perf: avoid calculating path_and_params twice (#109)
- ci: use major version only for Rubinius 3 (921e41a)
- ci: use optimistic versioning (#107)
- ci: remove support for ruby version <2.5 (#106)
- perf: precompute DEFAULT_TARGET_WIDTHS to avoid repeating on Path.new (#105)
4.0.1 - March 24, 2021
- fix: dpr srcset when only h param (#101)
- docs: update travis badge to point to travis-ci.com (#99)
- docs: fixed typo w/ srcset min/max widths (#97)
4.0.0 - August 26, 2020
- deprecate: host-usage, param_helpers, and prefix-1-ary (#91)
- fix: update purge operation api keys (#93)
3.4.0 - August 12, 2020
3.3.1 - July 27, 2020
- fix: ensure host is initialized (#82)
3.3.0 - July 21, 2020
- fix: warn prefix-with-args is deprecated (#78)
- fix: warn host has been deprecated in favor of domain (#76)
- fix: deprecate ALIASES and corresponding define_method(s) (#75)
- fix: deprecate ParamHelpers.rect (#74)
- fix: allow rbx-3.107 to fail (travis-config) (#70)
- fix: remove ensure even requirement (#69)
3.2.1 - November 15, 2019
- fix: duplicate entries when using
min_width
ormax_width
(#59)
3.2.0 - November 15, 2019
- feat: append variable qualities to dpr srcsets (#58)
- refactor: pass srcset modifiers through the
options
parameter (#57) - feat: support defining a min and max width range (#56)
- feat: add ability to pass in custom widths (#55)
- feat: add ability to configure the srcset width tolerance (#54)
- style: drop redundant explicit return statements (#52)
3.1.1 - July 28, 2019
- fix: include dpr parameter when generating a DPR srcset (#48)
- ci(travis): change build dist to trusty and remove bundler script (#49)
3.1.0 - July 28, 2019
- feat: add srcset generation (#47)
3.0.0 - June 7, 2019
- fix: remove deprecated domain sharding functionality (#46)
2.1.0 - May 7, 2019
- Add domain validation during Client initialization #42
- Expand Travis CI config to include bundler v2.x #41
- Improvements to memory usage #35
- Removed unused
HTTP
dependency #38
- Added
Client#purge
method to allow purging assets from our cache #37
- Added automatic Base64 encoding for all Base64 variant parameters.
- Properly encoding all keys and values output by
Imgix::Path
. - Better URL encoding for spaces, with
ERB::Util.url_encode
. - Normalize trailing
/
in passed hosts.
- Removed
Client#sign_path
to provide a consistent method and code path for generating URLs. #16 - Changed
:secure
option to the more clear:use_https
#11 - Changed
:token
option to the more clear:secure_url_token
#11
- Fixed URL query strings beginning with
?&s=
instead of?s=
when no other params are present. #15
- Fixed a bug where URLs as the path component for Web Proxy sources would not be encoded would generate URLs that would result in a 400 Bad Request. #8
- Fixed a bug where the library would not work if tokens were not present.