All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This changelog is incomplete. Pull requests with entries before 1.7.0 are welcome.
- Moved media image fields to basefields.
- This is a breaking change, see #58 for upgrade details.
- wmmedia_file_link filter does not break when getting a hardcoded media url
- wmmedia_file_link filter now requires a
/media
url to find the media entity - Deprecate MediaFileLink ckeditor plugin, this will not work on ckeditor 5
- Compatibility with
drupal/allowed_formats:^3.0
- Documentation on where subscribers are called
- Media usage tracking on field type
wmmedia_media_file_extras
- Compatibility with
drupal/allowed_formats:^1.4
- Update Dutch translations
- Fix error when media author does not exist anymore
- Fix wmmedia_update_8004 in case field_media_imgix is already an image field
- Fix issue with media widget when file does not exist anymore
- Fix memory issues when all media entities are loaded at once
- Add Media gallery (thumbnail) and Media gallery (large) image styles.
- Add option to change the media widget image style
- Add settings to hide edit button on media widgets
- Change the Image media type source from
imgix
to the coreimage
source. - Replace
field_media_imgix
withfield_image
- Replace hardcoded field references with dynamic references to the current media source field
- Fix entity browser upgrade path from wmmedia v1 to v2
- Remove
wieni/imgix
dependency. If you plan to keep using theimgix
module, make sure to install v9 since previous versions don't support image styles. - Remove
MediaWidgetRenderEvent
without replacement.
- Fix not being able to click on image browser toggles
- Apply security updates for
lodash
,hosted-git-info
&elliptic
- Disable preprocessing & minification for compiled assets
- Show add image button before the existing images table when prepending
- Allow prepending items using the field widget
- Fix double urlencode of destination query param 🙈
- Fix redirects to '/admin/api/media/paginate' when editing images through the media content overview
- Add media widget styles
- Add compatibility with Gin, Claro & Seven themes
- Clean up existing theming
- Replace yarn with npm
- Remove unnecessary base field override configs
- Stop automatically opening linked media in new tab/window
- Remove classy dependency (see #3115088)
- Remove hook_event_dispatcher dependency
- Prevent errors when entities are deleted during update hooks before the wmmedia_usage schema is installed.
- Fix entity browser widget with cardinality > 1 never showing checkboxes
- Fix deletion bug and allow generation by entity type.
- Allow uninstalling the file media type by adding an access check to file media routes that makes sure the bundle exists
- Remove lingering link attributes in ckeditor when changing existing link.
- Make MediaFileExtras::getMedia nullable to prevent errors when referenced entity is removed
- Add svg version of media_file_link icon
- Improve quality of 16x16 media_file_link icon
- Change getMedia return type to nullable
- Change MediaDeleteSubscriber to work with all media with file sources
- Update entity browser configs
- Ensure usage manager doesn't crash on empty values
- Remove implicit dropzonejs dependency
- Fix undefined arrays in usage manager
- Add support for file media including wysiwyg inline linking
- Add coding standard fixers
- Add issue & pull request templates
- Add ext-dom dependency
- Make extra fields optional (#2)
- Refactor pretty much the whole codebase
- Apply some code style-related changes
- Update php & drupal/core dependencies
- Update .gitignore
- Fix issue with MediaFileExtras field list items in the media widget
- Update vulnerable npm dependencies
- Add bundle condition to media filter query
- Add drupal/core composer dependency
- Replace deprecated code usages
- Normalize composer.json
- Fix issue with media widget & inline_entity_form
- Fix broken media widget
- Make the media widget a real form item
- Remove some inline css
- Update node-sass
- Only remove actual references on media delete
- Fix issue with media without file
- Update compiled assets
- Add more translations
- Add module translations
- Update parcel-bundler
- Allow rich text in the media widget description field
- Fix translations in media widget
- Fix issue when removing an item from the media widget
- Suppress getimagesize errors
- Fix notice
- Update drupal/entity_browser dependency
- Allow SVG's in the images entity browser
- Add SVG to allowed file extensions
- Set a default entity browser when creating a new media field
- Show fallback value in preview modal case the image has no dimensions
- Remove an unused dependency on MediaWidget
- Don't show delete form warnings if the media field has no usages
- Add image field formatter
- Override default media view (
view.media.media_page_list
) with our custom gallery
- Rename gallery theme hook implementation
Initial release