Transcoder Changelog.

Link 1.2.24 · 2023.04.20

changed - 2023.04.20

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

Link 1.2.23 · 2022.09.20

changed - 2022.09.20

  • Move to using ServicesTrait and add getter methods for services
  • 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

Link 1.2.22 · 2022.04.09

changed - 2022.04.09

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

Link 1.2.21 · 2022.01.12

added - 2022.01.12

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

Link 1.2.20 · 2022.01.04

changed - 2022.01.04

  • 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 - 2022.01.04

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

Link 1.2.19 · 2021.05.16

changed - 2021.05.16

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

Link 1.2.18 · 2021.05.14

changed - 2021.05.14

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

Link 1.2.17 · 2021.05.09

changed - 2021.05.09

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

Link 1.2.16 · 2021.04.06

added - 2021.04.06

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

changed - 2021.04.06

  • 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

Link 1.2.15 · 2021.03.03

changed - 2021.03.03

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

Link 1.2.14 · 2021.01.03

changed - 2021.01.03

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

Link 1.2.13 · 2020.12.21 [CRITICAL]

secu­ri­ty - 2020.12.21 [CRITICAL]

  • Added a $enableDownloadFileEndpoint settings/config option (set to false by default) to control whether thedownload 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 toCraft's allowedFileExtensions

changed - 2020.12.21 [CRITICAL]

  • Moved the CSS/JS buildchain over to webpack 5

Link 1.2.12 · 2020.04.06

added - 2020.04.06

  • Added seekInSecs option to audio encoding options

changed - 2020.04.06

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

Link 1.2.11 · 2020.03.11

added - 2020.03.11

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

fixed - 2020.03.11

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

Link 1.2.10 · 2020.02.25

added - 2020.02.25

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

Link 1.2.9 · 2020.01.27

fixed - 2020.01.27

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

Link 1.2.8 · 2019.11.12

changed - 2019.11.12

  • Fixed more issues with the synchronous option

Link 1.2.7 · 2019.11.12

changed - 2019.11.12

  • Fixed issues with the synchronous and stripMetadata options

Link 1.2.6 · 2019.11.11

added - 2019.11.11

  • Added trimming to audio transcoding

changed - 2019.11.11

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

Link 1.2.5 · 2019.05.23

changed - 2019.05.23

  • Updated build system

Link 1.2.4 · 2019.04.22

changed - 2019.04.22

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

Link 1.2.3 · 2019.03.20

changed - 2019.03.20

  • Allow setting threads in config
  • Added a "generate" (bool) parameter to getVideoUrl(), just like getVideoThumbnailUrl(), to optionally skipencoding
  • Added return value false to getVideoThumbnailUrl() when ffmpeg is executed which prevents a URL is alwaysreturned, 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 uploadtarget 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

Link 1.2.2 · 2018.10.05

changed - 2018.10.05

  • Updated build process

Link 1.2.1 · 2018.08.23

changed - 2018.08.23

  • Fixed namespacing issues

Link 1.2.0 · 2018.08.22

added - 2018.08.22

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

changed - 2018.08.22

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

Link 1.1.3 · 2018.03.02

changed - 2018.03.02

  • Fixed deprecation errors from Craft CMS 3 RC13

Link 1.1.2 · 2018.02.06

changed - 2018.02.06

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

Link 1.1.1 · 2018.02.03

changed - 2018.02.03

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

Link 1.1.0 · 2018.02.02

added - 2018.02.02

  • 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 - 2018.02.02

  • Cleaned up the exception handling

Link 1.0.11 · 2018.02.01

added - 2018.02.01

  • Renamed the composer package name to craft-transcoder

Link 1.0.10 · 2018.01.29

added - 2018.01.29

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

changed - 2018.01.29

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

Link 1.0.9 · 2018.01.25

changed - 2018.01.25

  • Handle Asset Volumes that use aliases
  • Updated DocBlock comments

Link 1.0.8 · 2017.12.06

changed - 2017.12.06

  • Updated to require craftcms/cms ^3.0.0-RC1

Link 1.0.7 · 2017.08.05

changed - 2017.08.05

  • Craft 3 beta 23 compatibility

Link 1.0.6 · 2017.07.15

changed - 2017.07.15

  • Craft 3 beta 20 compatibility

Link 1.0.5 · 2017.03.24

changed - 2017.03.24

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

Link 1.0.4 · 2017.03.12

added - 2017.03.12

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

changed - 2017.03.12

  • Code refactor/cleanup

Link 1.0.3 · 2017.03.11

added - 2017.03.11

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

changed - 2017.03.11

  • Minor code cleanup

Link 1.0.2 · 2017.03.07

added - 2017.03.07

  • Added a summary option to getFileInfo()

changed - 2017.03.07

  • Refactored the config.php options to be more consistent

Link 1.0.1 · 2017.03.06

added - 2017.03.06

  • 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 - 2017.03.06

  • Fixed some issues with the lockfile naming

Link 1.0.0 · 2017.03.05

added - 2017.03.05

  • Initial release