Skip to content

Commit 38bc775

Browse files
committed
Create changelog, add upcoming v3.1 version details
1 parent 98107af commit 38bc775

File tree

1 file changed

+253
-0
lines changed

1 file changed

+253
-0
lines changed

CHANGELOG.md

Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
# [v3.1.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.1.0) - 13 Jan 2021
2+
3+
## New features
4+
5+
Allow multiple sources as first parameter of `convert()` method (#32 by @pbories).
6+
7+
This means you can use the method like this: `->convert(['file1.jpg', 'file2.jpg'])`, for convenience, when converting multiple source files.
8+
9+
## Fixes
10+
11+
* Automatically find `magick` binary (#31 by @pbories).
12+
* Fix issue making path unresolvable if null.
13+
* Fix blur type issues, and add test for it.
14+
15+
## Miscellaneous
16+
17+
* Move source code to "src/" directory instead of project root, easier for conciseness and code coverage.
18+
* Refactor test setup with latest PHPUnit version.
19+
* Global CS fix.
20+
21+
# [v3.0.14](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.14) - 13 Dec 2020
22+
23+
Added PHP 8 support (#28 by @VincentLanglet)
24+
25+
# [v3.0.13](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.13) - 31 Jul 2020
26+
27+
Add support for the `-threshold` option (@fariasmaiquita)
28+
29+
# [v3.0.12](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.12) - 01 Jan 2020
30+
31+
Added support for `-transpose`, `-transverse` and `-monochrome` commands.
32+
33+
# [v3.0.11](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.11) - 27 Dec 2019
34+
35+
Allow Symfony 5.0
36+
37+
# [v3.0.10](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.10) - 12 Dec 2019
38+
39+
Added support for `-gravity` option (@JeffAlyanak)
40+
41+
# [v3.0.9](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.9) - 26 Aug 2019
42+
43+
* Added `-depth` `-flatten` and `-colorspace` options (@70mmy)
44+
45+
# [v3.0.8](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.8) - 23 May 2019
46+
47+
### Changelog for v3.0.8
48+
49+
* Added support for ImageMagick's `-auto-orient` option
50+
51+
# [v3.0.6](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.6) - 08 Mar 2019
52+
53+
Changelog for v3.0.6:
54+
55+
* Fix bug in `Command::text()`
56+
57+
# [v3.0.4](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.4) - 07 Mar 2019
58+
59+
Changelog for v3.0.4:
60+
61+
* Add support for `-geometry`
62+
* Implement `Command::rawCommand()` for edge cases that are not implemented yet. ÔÜá´©Å Use at your own risk! It is way better to create an issue or a pull-request if you need an unimplemented feature ­ƒÿë
63+
64+
# [v3.0.3](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.3) - 07 Mar 2019
65+
66+
Changelog for v3.0.1:
67+
68+
* Force adding `"` for colors when possible, to allow colors like `rgba()` or other values with parentheses
69+
70+
# [v3.0.2](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.2) - 07 Mar 2019
71+
72+
Changelog for v3.0.2:
73+
74+
* Added support for `-strokewidth` option
75+
76+
# [v3.0.1](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.1) - 07 Mar 2019
77+
78+
Changelog for v3.0.1:
79+
80+
* Added support for `-draw "polyline ..."` raw without validation (more will come about drawing with validation)
81+
82+
# [v3.0.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.0.0) - 05 Mar 2019
83+
84+
Changelog for v3.0.0:
85+
86+
* **Drop support for ImageMagick 6, this means that we support only the `magick` binary (or `magick.exe` on Windows)**
87+
* Add preliminary support for all other legacy commands (composite, animation, etc.)
88+
* Require PHP 7.2 and `symfony/process` 4.* only
89+
* Removed `Command::escape()` method
90+
* Use php-cs-fixer to uniformize code style
91+
* Use `declare(strict_types=1);` everywhere
92+
* Use `ExecutableFinder` by default to determine ImageMagick's path, making it easier to discover default `magick` binary
93+
* Command line instructions are now arrays instead of strings (easier handling)
94+
95+
# [v2.0.2](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v2.0.2) - 12 Feb 2019
96+
97+
# Changelog for v2.0.2
98+
99+
## Internal breaks
100+
101+
* Remove internal class `CommandOptions` and put all options in the main class.
102+
* Remove `symfony/yaml` dependency and make references an array for better performances.
103+
* Remove `symfony/filesystem` dependency and use native PHP functions.
104+
* ÔÜá´©Å BC BREAK: Refactor `Command::text()` with array options instead of arguments:
105+
* `$options['text']`
106+
* `$options['textSize']`
107+
* `$options['geometry']`
108+
* `$options['font']`
109+
* `$options['checkFont']`
110+
* `$options['textColor']`
111+
112+
## Features
113+
114+
* Add `Command::create($binary)` for simpler fluent interfaces.
115+
* Add support for more ImageMagick options:
116+
* `-stroke`
117+
* `-fill`
118+
* `-size`
119+
* `-pointsize`
120+
* Add `$checkFontFileExists` argument to `Command::font()` for native fonts
121+
* Add `isSuccessful()` to `CommandResponse`, more convenient than `hasFailed()`
122+
123+
## Dev/test
124+
125+
* Update Travis-CI build to find a proper way to download ImageMagick for tests (even though it's not 100% ok)
126+
127+
# [v2.0.1](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v2.0.1) - 09 Feb 2018
128+
129+
Changelog for v2.0.1
130+
131+
* Add [`-size`](http://www.imagemagick.org/script/command-line-options.php#size) option
132+
* Add `output()` alias to append file name to the end of the command
133+
* Add `xc` option to allow creating images with "X window color", like `xc:none` by default for transparent images
134+
135+
# [v2.0.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v2.0.0) - 20 Jan 2018
136+
137+
New of the v2.0!
138+
==========
139+
140+
* Now PHP 7.1 is required.
141+
* Symfony 3.0+ or 4.0+ required.
142+
* Make use of PHP 7 typehints when it's possible.
143+
* Tests on Travis-CI now build ImageMagick 6 and 7 to check both versions.
144+
145+
Just a major release to advance in time.
146+
147+
If new ImageMagick options are added, they may be backported to v1, as of the new 1.x branch.
148+
149+
# [v1.6.1](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.6.1) - 19 Jan 2018
150+
151+
### Fixes
152+
153+
* Escape background option
154+
155+
# [v1.6.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.6.0) - 10 Feb 2017
156+
157+
### New features
158+
159+
Add support for `-interlace`, `-blur` and `-gaussian-blur` options.
160+
161+
Added needed references and tests
162+
163+
# [v1.5.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.5.0) - 02 Feb 2017
164+
165+
### New features
166+
- Use Symfony Process to exec command, and take care of IM6 and IM7 **(Possible BC breaks, but there should be none actually)**
167+
- Add `__toString()` to Geometry
168+
169+
### Adjustments
170+
- Always use the bundled reference file instead of passing it as argument
171+
- Improve constructor docs for Geometry
172+
173+
### Fixes
174+
- Add spaces after some command options
175+
- Trim Geometry value when constructing it
176+
177+
Adapted tests to last updates, and remove useless ones
178+
179+
# [v1.4.2](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.4.2) - 01 Feb 2017
180+
181+
### New option
182+
183+
[4e99158] Added `-strip` option
184+
185+
Docs of this option => http://www.imagemagick.org/script/command-line-options.php#strip
186+
187+
# [v1.4.1](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.4.1) - 15 Apr 2016
188+
189+
# New option!
190+
191+
[a897116] Add the `-rotate` command-line option (closes #2 )
192+
193+
# [v1.4.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.4.0) - 08 Mar 2016
194+
195+
Add SF3 compatibility (still need review)
196+
197+
# [v1.3.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.3.0) - 03 Sep 2015
198+
199+
This new release comes with a great `Geometry` validation inside the new `Geometry` class.
200+
201+
Geometry is really hard to validate in ImageMagick because it can have multiple forms, according to [ImageMagick's documentation about Geometry](http://www.imagemagick.org/script/command-line-processing.php#geometry).
202+
203+
Then, all current methods requiring a geometry parameter (`resize`, `crop`, etc.) now allow using a `Geometry` instance to reinforce validation before executing the command (and catching the exceptions with a verbose explanation of what happened).
204+
Also, the `Geometry` class has an easy constructor with `Geometry::createFromParameters` that allow specifying all parameters we need: width, height, X and Y offsets, and the aspect ratio option.
205+
206+
More than 700 tests were generated to be sure that the validation system is the same than the one present in ImageMagick itself.
207+
208+
Also, a big new feature about `::run()` method was introduced: you can now execute commands in three ways:
209+
- Normally (nothing to do)
210+
- In background (will append `> /dev/null 2>&1` to the command)
211+
- In debug mode (will append STDERR to STDOUT to retrieve the errors in the `CommandResponse::getContent()` method)
212+
213+
Just take a look at the `RUN_*` constants in the `Command` class.
214+
215+
### New features
216+
217+
[ef52968] Start refactoring the Geometry validation
218+
[044f25d] Many updates on the command class.
219+
- Escape the geometry parameters (to avoid problems with "!" or "^" flags)
220+
- Added "setEnv" for env vars, also added other IM commands: background, crop, extent.
221+
- When using `run`, one can retrieve stderr in the output to watch for errors.
222+
- Removed many spaces form most commands.
223+
[4b46ff0] Add new Geometry class to handle geometry use
224+
[f1636aa] Created new `RUN_` constants for running mode.
225+
### Tests & CI
226+
[a46c25d] Install ImageMagick manually to have latest version
227+
[1f440a4] Show ImageMagick version in tests
228+
[aad6c2b] Finalize geometry testing
229+
[08576eb] Remove useless dev deps, optimize travis-ci
230+
[510c3f5] Fixed tests
231+
232+
### Code style
233+
234+
[738047a] Reorder methods to fit PSR style
235+
236+
# [v1.2.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.2.0) - 07 Apr 2015
237+
238+
Transferred ownership.
239+
240+
# [v1.1.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.1.0) - 03 Mar 2015
241+
242+
**New features:**
243+
dd2991b Added "quality" and "thumbnail" command line options
244+
afac867 Made the "escape" function public.
245+
246+
**Other big changes:**
247+
e9cad7d Changed composer namespace
248+
249+
Also added many MANY tests.
250+
251+
# [v1.0.0](https://github.com/Orbitale/ImageMagickPHP/releases/tag/v1.0.0) - 26 Feb 2015
252+
253+
First release

0 commit comments

Comments
 (0)