# Changelog

## 1.4.4 - 2021-05-31

### Changed

* Will keep ratio when limiting width or height based on the IMENGINE\_MAX\_INPUT\_NUMBER.  &#x20;
* Will not limit x, y, crop\_w, crop\_h based on IMENGINE\_MAX\_INPUT\_NUMBER anymore.

### Fixed

* Validate maxsize parameter used with function=fit to prevent too large images

## 1.4.3 - 2021-03-17

### Fixed

* Full width and height crops and positions allowed with 1.0 (float) meaning 100%. Simple 1 (int) stil means 1px.

## 1.4.2 - 2021-02-01

### Added

* Uuid wildcard invalidation added to the purge feature

### Fixed

* Invalid argument bug was fixed
* Calculate default height and width correctly. Sometimes defaulted to 1px.
* No need to manually urlencode on invalidation anymore
* Fixed S3 permission issue
* Patched CVE-2020-8231 (Bumped curl and libcurl to 7.74.0)
* Invalidation fix

## 1.4.1 - 2020-09-10

### Fixed

* Will now limit the value of width, height, x, y, crop\_w, crop\_h in requests to what is set in ECS task definition variable `IMENGINE_MAX_INPUT_NUMBER`, defaults to 3000.\
  **Note: This limit has also been added in v 1.3.3**

## 1.4.0 - 2020-06-18

### Updated

* Make region configurable for purge

### Fixed

* Fixes and optimizations

## 1.3.3 - 2012-07-31

* Will now limit the value of width, height, x, y, crop\_w, crop\_h in requests to what is set in ECS task definition variable `IMENGINE_MAX_INPUT_NUMBER`, defaults to 3000.

## 1.3.2 - 2019-04-26

### Fixed

* Fixes and optimizations

## 1.3.1 - 2019-04-23

### Fixed

* Fixes and optimizations

## 1.3.0 - 2019-01-09

### Added

* Added functionality to invalidate images by POST

## 1.2.0 - 2017-05-15

### Added

* Added functionality to pass in percent based width/height/x/y crops
* Removed deprecated remake and cropcover functions
* Added better check for division by zero calculation

## 1.1.0 - 2016-04-21

### Major performance update

* Added functionality to only call external sources/OC if the image is not found on s3
* Using scaleImage instead of resizeImage due to performance winnings
* Refactored the background-color functionality

## 1.0.1 - 2016-04-15

### Added

* Added functionality to set background color on images that gets transformed from i.e. png->jpg

## 1.0.0 - 2016-04-01

### Added

* Cleaned up the code and directory structure
* Added method fit, that takes the largest side and fits the image by its ratio within it
* Changed the default zoom parameter to be 1 instead of 100
* Added ability to choose file extension
* Added functionality to get the correct file extension if none are passed
* Added correct mime type metadata to s3 upload adapter
