Jack Sleight

Bard Mutator Release Notes

Jack Sleight

3.0.3

October 16th, 2024

  • Fix Undefined property error

3.0.2

October 15th, 2024

  • Fix Info argument error when pre-processing HTML for CP form

3.0.1

October 4th, 2024

  • Fix Info argument error when augmenting for CP listing

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.3.1

May 7th, 2024

  • Statamic 5 support

2.3.0

June 7th, 2023

  • New Include Bard field object in metadata

2.2.1

May 16th, 2023

  • Add method annotations to the Mutator facade

2.2.0

May 2nd, 2023

  • New Statamic 4 support

2.1.1

March 12th, 2023

  • Fix Mutators being called twice for adjacent marks

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.1

January 31st, 2023

  • Rename root node to camel case

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.3

January 12th, 2023

  • New Include root node in metadata

1.1.2

August 18th, 2022

  • Fix Tag mutators running twice per opening/closing tag-pair

1.1.1

May 9th, 2022

  • Support name and value parameters in tag
  • Update Statamic version requirement

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.4

April 10th, 2022

  • Fix Fix utility function import

1.0.3

December 3rd, 2021

  • Fix Fix TipTap schema normalization

1.0.2

December 3rd, 2021

  • Fix Fix JS error on earlier Statamic versions

1.0.1

December 2nd, 2021

  • Fix Addon JS script loading

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 to jacksleight/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:
    1. Update composer.json to "jacksleight/statamic-bard-mutator": "0.2.0",
    2. Update any class references to the new JackSleight\StatamicBardMutator namespace
    3. Run composer update

0.1.4

September 29th, 2021

  • Simplified API, Mutator::node() and Mutator::mark() have been replaced with Mutator::tag()

0.1.3

September 24th, 2021

  • Fix Support back to Statamic 3.1.14
  • Tweak to the trait API

0.1.2

September 23rd, 2021

  • Break Removed custom class configuration

0.1.1

September 23rd, 2021

  • Tweak config keys

0.1.0

September 23rd, 2021

  • Initial release