|
1 | 1 | # Transcoder Changelog
|
2 | 2 |
|
| 3 | +## 1.2.21 - 2022.01.12 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +* Add `.gitattributes` & `CODEOWNERS` |
| 8 | +* Add linting to build |
| 9 | +* Add compression of assets |
| 10 | +* Add bundle visualizer |
| 11 | + |
3 | 12 | ## 1.2.20 - 2022.01.04
|
| 13 | + |
4 | 14 | ### Changed
|
| 15 | + |
5 | 16 | * Switch to Node 16 via `16-alpine` Docker tag by default
|
6 | 17 | * Update to Tailwind CSS `^3.0.0`
|
7 | 18 | * Changed buildchain to Vite from webpack 5
|
8 | 19 |
|
9 | 20 | ### Fixed
|
| 21 | + |
10 | 22 | * Use `${CURDIR}` instead of `pwd` to be cross-platform compatible with Windows WSL2
|
11 | 23 |
|
12 | 24 | ## 1.2.19 - 2021.05.16
|
| 25 | + |
13 | 26 | ### Changed
|
| 27 | + |
14 | 28 | * Refactor to better directory structure
|
15 | 29 | * Use Textlint for the documentation
|
16 | 30 |
|
17 | 31 | ## 1.2.18 - 2021.05.14
|
| 32 | + |
18 | 33 | ### Changed
|
| 34 | + |
19 | 35 | * Updated to work with `craft-vite-plugin` version `^1.0.4`
|
20 | 36 |
|
21 | 37 | ## 1.2.17 - 2021.05.09
|
| 38 | + |
22 | 39 | ### Changed
|
| 40 | + |
23 | 41 | * Switched buildchain to Vite & `craft-vite-plugin`
|
24 | 42 | * Switched documentation system to VitePress
|
25 | 43 |
|
26 | 44 | ## 1.2.16 - 2021.04.06
|
| 45 | + |
27 | 46 | ### Added
|
| 47 | + |
28 | 48 | * Added `make update` to update NPM packages
|
29 | 49 | * Added `make update-clean` to completely remove `node_modules/`, then update NPM packages
|
30 | 50 |
|
31 | 51 | ### Changed
|
| 52 | + |
32 | 53 | * More consistent `makefile` build commands
|
33 | 54 | * Use Tailwind CSS `^2.1.0` with JIT
|
34 | 55 | * Move settings from the `composer.json` “extra” to the plugin main class
|
35 | 56 | * Move the manifest service registration to the constructor
|
36 | 57 | * Remove deprecated ManifestController
|
37 | 58 |
|
38 | 59 | ## 1.2.15 - 2021.03.03
|
| 60 | + |
39 | 61 | ### Changed
|
| 62 | + |
40 | 63 | * Dockerized the buildchain, using `craft-plugin-manifest` for the webpack HMR bridge
|
41 | 64 |
|
42 | 65 | ## 1.2.14 - 2021.01.03
|
| 66 | + |
43 | 67 | ### Changed
|
| 68 | + |
44 | 69 | * Changed how we detect whether the transcoding processing is running, so it will work with Alpine Linux
|
45 | 70 |
|
46 | 71 | ## 1.2.13 - 2020.12.21 [CRITICAL]
|
| 72 | + |
47 | 73 | ### Security
|
48 |
| -* Added a `$enableDownloadFileEndpoint` settings/config option (set to `false` by default) to control whether the download files action is publicly accessible |
| 74 | + |
| 75 | +* Added a `$enableDownloadFileEndpoint` settings/config option (set to `false` by default) to control whether the |
| 76 | + download files action is publicly accessible |
49 | 77 | * The download files action now strips any relative paths from the incoming request
|
50 |
| -* The download files action now restricts downloads to Craft's [allowedFileExtensions](https://craftcms.com/docs/3.x/config/config-settings.html#allowedfileextensions) |
| 78 | +* The download files action now restricts downloads to |
| 79 | + Craft's [allowedFileExtensions](https://craftcms.com/docs/3.x/config/config-settings.html#allowedfileextensions) |
51 | 80 |
|
52 | 81 | ### Changed
|
| 82 | + |
53 | 83 | * Moved the CSS/JS buildchain over to webpack 5
|
54 | 84 |
|
55 | 85 | ## 1.2.12 - 2020.04.06
|
| 86 | + |
56 | 87 | ### Added
|
| 88 | + |
57 | 89 | * Added `seekInSecs` option to audio encoding options
|
58 | 90 |
|
59 | 91 | ### Changed
|
| 92 | + |
60 | 93 | * Updated to latest npm dependencies via `npm audit fix` for both the primary app and the docs
|
61 | 94 |
|
62 | 95 | ## 1.2.11 - 2020.03.11
|
| 96 | + |
63 | 97 | ### Added
|
| 98 | + |
64 | 99 | * Transcoder now requires Craft CMS 3.1.0 or later
|
65 | 100 | * Both aliases and environment variables are now supported where previously only aliases were
|
66 | 101 |
|
67 | 102 | ### Fixed
|
| 103 | + |
68 | 104 | * Only swap in a thumbnail for videos if a thumbnail is successfully returned
|
69 | 105 |
|
70 | 106 | ## 1.2.10 - 2020.02.25
|
| 107 | + |
71 | 108 | ### Added
|
| 109 | + |
72 | 110 | * Added `-vn` flag for audio transcoding to remove video tracks on transcoded audio
|
73 | 111 |
|
74 | 112 | ## 1.2.9 - 2020.01.27
|
| 113 | + |
75 | 114 | ### Fixed
|
| 115 | + |
76 | 116 | * Fixed an issue if `ffprobe` isn't installed
|
77 | 117 | * Handle the case of empty or malformed status data from `ffprobe` better
|
78 | 118 |
|
79 | 119 | ## 1.2.8 - 2019.11.12
|
| 120 | + |
80 | 121 | ### Changed
|
| 122 | + |
81 | 123 | * Fixed more issues with the `synchronous` option
|
82 | 124 |
|
83 | 125 | ## 1.2.7 - 2019.11.12
|
| 126 | + |
84 | 127 | ### Changed
|
| 128 | + |
85 | 129 | * Fixed issues with the `synchronous` and `stripMetadata` options
|
86 | 130 |
|
87 | 131 | ## 1.2.6 - 2019.11.11
|
| 132 | + |
88 | 133 | ### Added
|
| 134 | + |
89 | 135 | * Added trimming to audio transcoding
|
90 | 136 |
|
91 | 137 | ### Changed
|
| 138 | + |
92 | 139 | * Updated to latest npm dependencies via `npm audit fix`
|
93 | 140 | * Changed `.first()` → `.one()` in the docs
|
94 | 141 |
|
95 | 142 | ## 1.2.5 - 2019.05.23
|
| 143 | + |
96 | 144 | ### Changed
|
| 145 | + |
97 | 146 | * Updated build system
|
98 | 147 |
|
99 | 148 | ## 1.2.4 - 2019.04.22
|
| 149 | + |
100 | 150 | ### Changed
|
| 151 | + |
101 | 152 | * Updated Twig namespacing to be compliant with deprecated class aliases in 2.7.x
|
102 | 153 |
|
103 | 154 | ## 1.2.3 - 2019.03.20
|
| 155 | + |
104 | 156 | ### Changed
|
| 157 | + |
105 | 158 | * Allow setting threads in config
|
106 |
| -* Added a "generate" (bool) parameter to `getVideoUrl()`, just like `getVideoThumbnailUrl()`, to optionally skip encoding |
107 |
| -* Added return value false to `getVideoThumbnailUrl()` when `ffmpeg` is executed which prevents a URL is always returned, also in case of `ffmpeg` fails to run/create the thumbnail |
108 |
| -* Added new config parameter "createSubfolder" (boolean) to create the same subfolders that are defined in the upload target paths of the asset. |
| 159 | +* Added a "generate" (bool) parameter to `getVideoUrl()`, just like `getVideoThumbnailUrl()`, to optionally skip |
| 160 | + encoding |
| 161 | +* Added return value false to `getVideoThumbnailUrl()` when `ffmpeg` is executed which prevents a URL is always |
| 162 | + returned, also in case of `ffmpeg` fails to run/create the thumbnail |
| 163 | +* Added new config parameter "createSubfolder" (boolean) to create the same subfolders that are defined in the upload |
| 164 | + target paths of the asset. |
109 | 165 | * Added config option to prevent cache clearing
|
110 | 166 | * Fixed an issue where `getFileInfo()` would throw an error if `null` was returned
|
111 | 167 | * Fixed an error where certain types of video streams would cause the encoder to throw an exception
|
112 | 168 |
|
113 | 169 | ## 1.2.2 - 2018.10.05
|
| 170 | + |
114 | 171 | ### Changed
|
| 172 | + |
115 | 173 | * Updated build process
|
116 | 174 |
|
117 | 175 | ## 1.2.1 - 2018.08.23
|
| 176 | + |
118 | 177 | ### Changed
|
| 178 | + |
119 | 179 | * Fixed namespacing issues
|
120 | 180 |
|
121 | 181 | ## 1.2.0 - 2018.08.22
|
| 182 | + |
122 | 183 | ### Added
|
| 184 | + |
123 | 185 | * Added the ability to encode to animated `.gif` files
|
124 | 186 | * Added multiple output paths and URLs for different media types
|
125 | 187 |
|
126 | 188 | ### Changed
|
| 189 | + |
127 | 190 | * Moved to a modern webpack build config for the Control Panel
|
128 | 191 | * Added install confetti
|
129 | 192 |
|
130 | 193 | ## 1.1.3 - 2018.03.02
|
| 194 | + |
131 | 195 | ### Changed
|
| 196 | + |
132 | 197 | * Fixed deprecation errors from Craft CMS 3 RC13
|
133 | 198 |
|
134 | 199 | ## 1.1.2 - 2018.02.06
|
| 200 | + |
135 | 201 | ### Changed
|
| 202 | + |
136 | 203 | * Switched video thumbnail generation to use `EVENT_GET_THUMB_PATH`
|
137 | 204 | * Transcoder now requires Craft CMS 3 RC 9 or later
|
138 | 205 |
|
139 | 206 | ## 1.1.1 - 2018.02.03
|
| 207 | + |
140 | 208 | ### Changed
|
| 209 | + |
141 | 210 | * Only generate a thumbnail when we're actually asked to do so via `$generate1`
|
142 | 211 |
|
143 | 212 | ## 1.1.0 - 2018.02.02
|
| 213 | + |
144 | 214 | ### Added
|
| 215 | + |
145 | 216 | * Transcoder now supports the transcoding of remote video & audio files
|
146 | 217 | * Added the ability to generate a thumbnail for videos in the Control Panel Assets index
|
147 | 218 |
|
148 | 219 | ### Changed
|
| 220 | + |
149 | 221 | * Cleaned up the exception handling
|
150 | 222 |
|
151 | 223 | ## 1.0.11 - 2018.02.01
|
| 224 | + |
152 | 225 | ### Added
|
| 226 | + |
153 | 227 | * Renamed the composer package name to `craft-transcoder`
|
154 | 228 |
|
155 | 229 | ## 1.0.10 - 2018.01.29
|
| 230 | + |
156 | 231 | ### Added
|
| 232 | + |
157 | 233 | * Added support for Yii2 aliases for `transcoderPath` & `transcoderUrl` settings in `config.php`
|
158 | 234 |
|
159 | 235 | ### Changed
|
| 236 | + |
160 | 237 | * Changed the default `config.php` to use `@webroot` and `@web` Yii2 aliases
|
161 | 238 |
|
162 | 239 | ## 1.0.9 - 2018.01.25
|
| 240 | + |
163 | 241 | ### Changed
|
| 242 | + |
164 | 243 | * Handle Asset Volumes that use aliases
|
165 | 244 | * Updated DocBlock comments
|
166 | 245 |
|
167 | 246 | ## 1.0.8 - 2017.12.06
|
| 247 | + |
168 | 248 | ### Changed
|
| 249 | + |
169 | 250 | * Updated to require craftcms/cms `^3.0.0-RC1`
|
170 | 251 |
|
171 | 252 | ## 1.0.7 - 2017.08.05
|
| 253 | + |
172 | 254 | ### Changed
|
| 255 | + |
173 | 256 | * Craft 3 beta 23 compatibility
|
174 | 257 |
|
175 | 258 | ## 1.0.6 - 2017.07.15
|
| 259 | + |
176 | 260 | ### Changed
|
| 261 | + |
177 | 262 | * Craft 3 beta 20 compatibility
|
178 | 263 |
|
179 | 264 | ## 1.0.5 - 2017.03.24
|
| 265 | + |
180 | 266 | ### Changed
|
| 267 | + |
181 | 268 | * `hasSettings` -> `hasCpSettings` for Craft 3 beta 8 compatibility
|
182 | 269 | * Added Craft 3 beta 8 compatible settings
|
183 | 270 | * Modified config service calls for Craft 3 beta 8
|
184 | 271 |
|
185 | 272 | ## 1.0.4 - 2017.03.12
|
| 273 | + |
186 | 274 | ### Added
|
| 275 | + |
187 | 276 | - Added `craft/cms` as a composer dependency
|
188 | 277 | - Added code inspection typehinting for the plugin & services
|
189 | 278 |
|
190 | 279 | ### Changed
|
| 280 | + |
191 | 281 | - Code refactor/cleanup
|
192 | 282 |
|
193 | 283 | ## 1.0.3 - 2017.03.11
|
| 284 | + |
194 | 285 | ### Added
|
| 286 | + |
195 | 287 | - Use `php-shellcommand` to allow for proper execution on Windows & Unix servers
|
196 | 288 |
|
197 | 289 | ### Changed
|
| 290 | + |
198 | 291 | - Minor code cleanup
|
199 | 292 |
|
200 | 293 | ## 1.0.2 - 2017.03.07
|
| 294 | + |
201 | 295 | ### Added
|
| 296 | + |
202 | 297 | - Added a summary option to `getFileInfo()`
|
203 | 298 |
|
204 | 299 | ### Changed
|
| 300 | + |
205 | 301 | - Refactored the `config.php` options to be more consistent
|
206 | 302 |
|
207 | 303 | ## 1.0.1 - 2017.03.06
|
| 304 | + |
208 | 305 | ### Added
|
| 306 | + |
209 | 307 | - Added `height` and `width` options for resizing the videos
|
210 | 308 | - Added an `aspectRatio` option to control how aspect ratio scaling is done
|
211 | 309 | - Added a `letterboxColor` option
|
|
219 | 317 | - Transcoder caches can be cleared via the ClearCaches utility
|
220 | 318 |
|
221 | 319 | ### Fixed
|
| 320 | + |
222 | 321 | - Fixed some issues with the lockfile naming
|
223 | 322 |
|
224 | 323 | ## 1.0.0 - 2017.03.05
|
| 324 | + |
225 | 325 | ### Added
|
| 326 | + |
226 | 327 | - Initial release
|
0 commit comments