Skip to content

Releases: code16/sharp

v7.29.5

19 Jul 11:20
Compare
Choose a tag to compare

Bug fixes

  • Fix localized editors overriding wrong content in other locales

v7.29.4

03 Jul 10:55
Compare
Choose a tag to compare

Fixes

  • Refactor the way to set and retrieve GlobalFilter's value to avoid unwanted multiple calls to defaultValue()

v7.29.0

10 May 15:13
Compare
Choose a tag to compare

Features

  • Allow to use Vite for sharp custom field script.

v7.28.0

04 May 09:57
Compare
Choose a tag to compare

Features

v7.27.1

28 Apr 09:13
Compare
Choose a tag to compare

New feature (well, not really, hence the patch versioning)

  • added a few methods on the layout API to allow field insertion:
    • FormLayout::getColumn($index)
    • FormLayoutTab::getColumn($index)
    • LayoutColumn::insertSingleFieldAt($index, $fieldKey)
    • LayoutColumn::insertFieldsAt($index, ...$fieldKeys)

Usage example, in a inherited Form:

class MyForm extends AnotherExistingForm
{
    public function buildFormFields(FieldsContainer $formFields): void
    {
        parent::buildFormFields($formFields);

        $formFields->addField(SharpFormTextField::make('additional_field'));
    }

    public function buildFormLayout(FormLayout $formLayout): void
    {
        parent::buildFormLayout($formLayout);

        $this->formLayout
            ->getColumn(0)
            ->insertSingleFieldAt(0, 'additional_field');
    }
}

v7.27.0

25 Apr 15:14
Compare
Choose a tag to compare

Improvements

  • Better global filter UI with "select" appearance below the user dropdown.
  • Allow to use a closure in the global filter config declaration

v7.26.1

15 Mar 08:22
Compare
Choose a tag to compare

Bug fixes

  • Upload: Fix image transformation when isTransformOriginal is true (#461)

v7.26.0

07 Mar 18:14
Compare
Choose a tag to compare

Features

  • Editor: ability to display current character count with a max length (see setMaxLength())

Bug fixes

  • Allow Vite assets strategy (see docs) (#447)

v7.25.2

13 Feb 15:11
Compare
Choose a tag to compare

Fixes

  • Allow to use wizard commands in test assertions

v7.25.1

13 Feb 11:26
Compare
Choose a tag to compare

Features

  • Added a new isStep('my-step') method in Wizard commands to check current step