Version 4.0.1

April 20, 2023

Changed

  • Updated the docs to use VitePress ^1.0.0-alpha.29
  • Allow for versioning of the docs

Fixed

  • Fix Asset Volume file system access for Craft 4 (#67)
  • Fix progress URLs and send application/json response (#68)
  • Fix asset thumbnails (#69)
  • Fix GIF filename generation (#70)

Version 4.0.0

September 20, 2022

Changed

  • Pinned vitepress to ^0.22.4 pending official 1.0.0 release
  • Add comments to Makefiles for Fig
  • Use Vite ^3.1.0 & rebuild assets
  • Add allow-plugins to composer.json to allow CI tests to function

Fixed

  • Remove reference to now missing DefineAssetThumbUrlEvent::generate property
  • Change reference to now renamed DefineAssetThumbUrlEvent::path property

Version 4.0.0-beta.6

April 11, 2022

Fixed

  • Fixed method signature for Transcode::getFileInfo() so that an Asset object can be passed into it

Version 4.0.0-beta.5

April 9, 2022

Changed

  • Added synchronous & stripMetadata to the parameters that should be excluded from the generated file name

Version 4.0.0-beta.4

April 8, 2022

Fixed

  • Fixed incorrect return types in TranscoderVariable that could cause exceptions to be thrown

Version 4.0.0-beta.3

March 17, 2022

Changed

  • Refactored to use Assets::EVENT_DEFINE_THUMB_URL now available in Craft 4.0.0-beta.2

Version 4.0.0-beta.2

March 4, 2022

Fixed

  • Updated types for Craft CMS 4.0.0-alpha.1 via Rector

Version 4.0.0-beta.1

February 27, 2022

Added

  • Initial Craft CMS 4 compatibility

Version 1.2.21

January 12, 2022

Added

  • Add .gitattributes & CODEOWNERS
  • Add linting to build
  • Add compression of assets
  • Add bundle visualizer

Version 1.2.20

January 4, 2022

Changed

  • Switch to Node 16 via 16-alpine Docker tag by default
  • Update to Tailwind CSS ^3.0.0
  • Changed buildchain to Vite from webpack 5

Fixed

  • Use ${CURDIR} instead of pwd to be cross-platform compatible with Windows WSL2

Version 1.2.19

May 16, 2021

Changed

  • Refactor to better directory structure
  • Use Textlint for the documentation

Version 1.2.18

May 14, 2021

Changed

  • Updated to work with craft-vite-plugin version ^1.0.4

Version 1.2.17

May 9, 2021

Changed

  • Switched buildchain to Vite & craft-vite-plugin
  • Switched documentation system to VitePress

Version 1.2.16

April 6, 2021

Added

  • Added make update to update NPM packages
  • Added make update-clean to completely remove node_modules/, then update NPM packages

Changed

  • More consistent makefile build commands
  • Use Tailwind CSS ^2.1.0 with JIT
  • Move settings from the composer.json “extra” to the plugin main class
  • Move the manifest service registration to the constructor
  • Remove deprecated ManifestController

Version 1.2.15

March 3, 2021

Changed

  • Dockerized the buildchain, using craft-plugin-manifest for the webpack HMR bridge

Version 1.2.14

January 3, 2021

Changed

  • Changed how we detect whether the transcoding processing is running, so it will work with Alpine Linux

Version 1.2.13

December 21, 2020
Critical

Security

  • Added a $enableDownloadFileEndpoint settings/config option (set to false by default) to control whether the download files action is publicly accessible
  • The download files action now strips any relative paths from the incoming request
  • The download files action now restricts downloads to Craft's allowedFileExtensions

Changed

  • Moved the CSS/JS buildchain over to webpack 5

Version 1.2.12

April 6, 2020

Added

  • Added seekInSecs option to audio encoding options

Changed

  • Updated to latest npm dependencies via npm audit fix for both the primary app and the docs

Version 1.2.11

March 11, 2020

Added

  • Transcoder now requires Craft CMS 3.1.0 or later
  • Both aliases and environment variables are now supported where previously only aliases were

Fixed

  • Only swap in a thumbnail for videos if a thumbnail is successfully returned

Version 1.2.10

February 25, 2020

Added

  • Added -vn flag for audio transcoding to remove video tracks on transcoded audio

Version 1.2.9

January 27, 2020

Fixed

  • Fixed an issue if ffprobe isn't installed
  • Handle the case of empty or malformed status data from ffprobe better

Version 1.2.8

November 12, 2019

Changed

  • Fixed more issues with the synchronous option

Version 1.2.7

November 12, 2019

Changed

  • Fixed issues with the synchronous and stripMetadata options

Version 1.2.6

November 11, 2019

Added

  • Added trimming to audio transcoding

Changed

  • Updated to latest npm dependencies via npm audit fix
  • Changed .first().one() in the docs

Version 1.2.5

May 23, 2019

Changed

  • Updated build system

Version 1.2.4

April 22, 2019

Changed

  • Updated Twig namespacing to be compliant with deprecated class aliases in 2.7.x

Version 1.2.3

March 20, 2019

Changed

  • Allow setting threads in config
  • Added a "generate" (bool) parameter to getVideoUrl(), just like getVideoThumbnailUrl(), to optionally skip encoding
  • 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
  • Added new config parameter "createSubfolder" (boolean) to create the same subfolders that are defined in the upload target paths of the asset.
  • Added config option to prevent cache clearing
  • Fixed an issue where getFileInfo() would throw an error if null was returned
  • Fixed an error where certain types of video streams would cause the encoder to throw an exception

Version 1.2.2

October 5, 2018

Changed

  • Updated build process

Version 1.2.1

August 23, 2018

Changed

  • Fixed namespacing issues

Version 1.2.0

August 22, 2018

Added

  • Added the ability to encode to animated .gif files
  • Added multiple output paths and URLs for different media types

Changed

  • Moved to a modern webpack build config for the Control Panel
  • Added install confetti

Version 1.1.3

March 2, 2018

Changed

  • Fixed deprecation errors from Craft CMS 3 RC13

Version 1.1.2

February 6, 2018

Changed

  • Switched video thumbnail generation to use EVENT_GET_THUMB_PATH
  • Transcoder now requires Craft CMS 3 RC 9 or later

Version 1.1.1

February 3, 2018

Changed

  • Only generate a thumbnail when we're actually asked to do so via $generate1

Version 1.1.0

February 2, 2018

Added

  • Transcoder now supports the transcoding of remote video & audio files
  • Added the ability to generate a thumbnail for videos in the Control Panel Assets index

Changed

  • Cleaned up the exception handling

Version 1.0.11

February 1, 2018

Added

  • Renamed the composer package name to craft-transcoder

Version 1.0.10

January 29, 2018

Added

  • Added support for Yii2 aliases for transcoderPath & transcoderUrl settings in config.php

Changed

  • Changed the default config.php to use @webroot and @web Yii2 aliases

Version 1.0.9

January 25, 2018

Changed

  • Handle Asset Volumes that use aliases
  • Updated DocBlock comments

Version 1.0.8

December 6, 2017

Changed

  • Updated to require craftcms/cms ^3.0.0-RC1

Version 1.0.7

August 5, 2017

Changed

  • Craft 3 beta 23 compatibility

Version 1.0.6

July 15, 2017

Changed

  • Craft 3 beta 20 compatibility

Version 1.0.5

March 24, 2017

Changed

  • hasSettings -> hasCpSettings for Craft 3 beta 8 compatibility
  • Added Craft 3 beta 8 compatible settings
  • Modified config service calls for Craft 3 beta 8

Version 1.0.4

March 12, 2017

Added

  • Added craft/cms as a composer dependency
  • Added code inspection typehinting for the plugin & services

Changed

  • Code refactor/cleanup

Version 1.0.3

March 11, 2017

Added

  • Use php-shellcommand to allow for proper execution on Windows & Unix servers

Changed

  • Minor code cleanup

Version 1.0.2

March 7, 2017

Added

  • Added a summary option to getFileInfo()

Changed

  • Refactored the config.php options to be more consistent

Version 1.0.1

March 6, 2017

Added

  • Added height and width options for resizing the videos
  • Added an aspectRatio option to control how aspect ratio scaling is done
  • Added a letterboxColor option
  • Added a sharpen option
  • Added the getFileInfo variable to extract information from a video/audio file
  • The ffmpeg progress for video transcoding is now written out to a .progress file
  • Added a progress controller to return video transcoding progress
  • Moved all of the default settings out to the config.php file
  • Added support for multiple video encoding formats
  • Added the ability to transcode audio files
  • Transcoder caches can be cleared via the ClearCaches utility

Fixed

  • Fixed some issues with the lockfile naming

Version 1.0.0

March 5, 2017

Added

  • Initial release