3.0.0
September 3rd, 2024
This release introduces some significant changes to the terminology and variables used in mutators, however there are only two very small breaking changes, please read upgrade guide for more information.
- New Mutators are now known as plugins
- New Class based plugins for easier organisation and reuse
- New Scoped plugins that can be enabled per-field
- New New helpers and metadata for advanced data manipulation
- Easier setup with no custom editor class binding
- Better indexing of parent and sibling items
- More flexible type name handling
- Statamic 5.0+ is now required
2.1.0
March 3rd, 2023
- New Ability to inject custom HTML into the data
- New Helpers for creating new node and mark objects
- Fix Italic mark mutators not running
- Fix Incorrect conversion of legacy tag values
2.0.0
January 31st, 2023
- New Statamic 3.4 support
- New HTML mutators replace tag mutators
- New Support for Bard's
save_html
option with reverse mutators - Break There are a couple of breaking changes, refer to the upgrade guide for more information
- Advanced features are now much easier to enable
1.1.0
April 28th, 2022
- New Metadata: Mutators can now get info on the current node/mark’s parent, siblings, index and depth
- New Data Mutators: Make changes to the node/mark data before anything is rendered to HTML
- New Ability to specify multiple types when adding mutators
- New Support for the new "small" mark in Statamic 3.3.9
- New Brand new documentation that's better organised and with more information and examples
1.0.0
December 1st, 2021
- Now only replaces classes of nodes/marks that are actually being mutated
- Ability to mutate TipTap extension schemas and commands (requires Statamic 3.2.24+)
0.2.0
October 22nd, 2021
- Break Package Renamed:
This package has been renamed tojacksleight/statamic-bard-mutator
. Sorry for any inconvienence this causes, but it's necessary for some future plans and to keep everything namespaced properly. Update instructions:- Update
composer.json
to"jacksleight/statamic-bard-mutator": "0.2.0",
- Update any class references to the new
JackSleight\StatamicBardMutator
namespace - Run
composer update
- Update
0.1.4
September 29th, 2021
- Simplified API,
Mutator::node()
andMutator::mark()
have been replaced withMutator::tag()