- Pinned
vitepress
to^0.22.4
pending official1.0.0
release - Add comments to
Makefile
s for Fig - Use Vite
^3.1.0
& rebuild assets - Add
allow-plugins
tocomposer.json
to allow CI tests to function
- Remove reference to now missing
DefineAssetThumbUrlEvent::generate
property - Change reference to now renamed
DefineAssetThumbUrlEvent::path
property
- Fixed method signature for
Transcode::getFileInfo()
so that an Asset object can be passed into it
- Added
synchronous
&stripMetadata
to the parameters that should be excluded from the generated file name
- Fixed incorrect return types in
TranscoderVariable
that could cause exceptions to be thrown
- Refactored to use
Assets::EVENT_DEFINE_THUMB_URL
now available in Craft4.0.0-beta.2
- Updated types for Craft CMS
4.0.0-alpha.1
via Rector
- Initial Craft CMS 4 compatibility
- Add
.gitattributes
&CODEOWNERS
- Add linting to build
- Add compression of assets
- Add bundle visualizer
- 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
- Use
${CURDIR}
instead ofpwd
to be cross-platform compatible with Windows WSL2
- Refactor to better directory structure
- Use Textlint for the documentation
- Updated to work with
craft-vite-plugin
version^1.0.4
- Switched buildchain to Vite &
craft-vite-plugin
- Switched documentation system to VitePress
- Added
make update
to update NPM packages - Added
make update-clean
to completely removenode_modules/
, then update NPM packages
- 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
- Dockerized the buildchain, using
craft-plugin-manifest
for the webpack HMR bridge
- Changed how we detect whether the transcoding processing is running, so it will work with Alpine Linux
- Added a
$enableDownloadFileEndpoint
settings/config option (set tofalse
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
- Moved the CSS/JS buildchain over to webpack 5
- Added
seekInSecs
option to audio encoding options
- Updated to latest npm dependencies via
npm audit fix
for both the primary app and the docs
- Transcoder now requires Craft CMS 3.1.0 or later
- Both aliases and environment variables are now supported where previously only aliases were
- Only swap in a thumbnail for videos if a thumbnail is successfully returned
- Added
-vn
flag for audio transcoding to remove video tracks on transcoded audio
- Fixed an issue if
ffprobe
isn't installed - Handle the case of empty or malformed status data from
ffprobe
better
- Fixed more issues with the
synchronous
option
- Fixed issues with the
synchronous
andstripMetadata
options
- Added trimming to audio transcoding
- Updated to latest npm dependencies via
npm audit fix
- Changed
.first()
→.one()
in the docs
- Updated build system
- Updated Twig namespacing to be compliant with deprecated class aliases in 2.7.x
- Allow setting threads in config
- Added a "generate" (bool) parameter to
getVideoUrl()
, just likegetVideoThumbnailUrl()
, to optionally skip encoding - Added return value false to
getVideoThumbnailUrl()
whenffmpeg
is executed which prevents a URL is always returned, also in case offfmpeg
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 ifnull
was returned - Fixed an error where certain types of video streams would cause the encoder to throw an exception
- Updated build process
- Fixed namespacing issues
- Added the ability to encode to animated
.gif
files - Added multiple output paths and URLs for different media types
- Moved to a modern webpack build config for the Control Panel
- Added install confetti
- Fixed deprecation errors from Craft CMS 3 RC13
- Switched video thumbnail generation to use
EVENT_GET_THUMB_PATH
- Transcoder now requires Craft CMS 3 RC 9 or later
- Only generate a thumbnail when we're actually asked to do so via
$generate1
- 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
- Cleaned up the exception handling
- Renamed the composer package name to
craft-transcoder
- Added support for Yii2 aliases for
transcoderPath
&transcoderUrl
settings inconfig.php
- Changed the default
config.php
to use@webroot
and@web
Yii2 aliases
- Handle Asset Volumes that use aliases
- Updated DocBlock comments
- Updated to require craftcms/cms
^3.0.0-RC1
- Craft 3 beta 23 compatibility
- Craft 3 beta 20 compatibility
hasSettings
->hasCpSettings
for Craft 3 beta 8 compatibility- Added Craft 3 beta 8 compatible settings
- Modified config service calls for Craft 3 beta 8
- Added
craft/cms
as a composer dependency - Added code inspection typehinting for the plugin & services
- Code refactor/cleanup
- Use
php-shellcommand
to allow for proper execution on Windows & Unix servers
- Minor code cleanup
- Added a summary option to
getFileInfo()
- Refactored the
config.php
options to be more consistent
- Added
height
andwidth
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 some issues with the lockfile naming
- Initial release