diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b0267e4d..a7b85f9e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,94 +2,123 @@ All notable changes to `twill` will be documented in this file. +## 3.2.0 + +### Added +- Allow dynamic title on `InlineRepeater` by @Tofandel in https://github.com/area17/twill/pull/2493 +- Add command to update morph references in Twill tables by @joyceverheije in https://github.com/area17/twill/pull/2482 +- Allow behaviors to load classes without being the main model of a capsule by @Tofandel in https://github.com/area17/twill/pull/2423 +- Add missing step method on Twill 3 form builder input field by @zeezo887 in https://github.com/area17/twill/pull/2496 + +### Fixed +- Fix error when updating a model after having enabled a new language in the config by @Tofandel in https://github.com/area17/twill/pull/2487 +- Fix Twill model extensibility by @Tofandel in https://github.com/area17/twill/pull/2498 +- Fix shrinking block counter by @Tofandel in https://github.com/area17/twill/pull/2501 +- Fix single module browser definition by @Tofandel in https://github.com/area17/twill/pull/2474 +- Fix incorrect method argument order when registering Twill capsule translation by @emanueljacob in https://github.com/area17/twill/pull/2477 +- Fix preview mode when trying to preview a revision that contains a block that itself uses a blockable relation by @emanueljacob in https://github.com/area17/twill/pull/2484 +- Fix custom callback of Image column by @Tofandel in https://github.com/area17/twill/pull/2494 +- Fix js error if you grab a block but don't move it anywhere by @Tofandel in https://github.com/area17/twill/pull/2488 +- Fix `getModulePermalinkBase` by @Tofandel in https://github.com/area17/twill/pull/2471 +- Fix `getBaseNamespace` by @Tofandel in https://github.com/area17/twill/pull/2420 +- Fix relative path traversal in docs dev server command by @ouuan in https://github.com/area17/twill/pull/2469 +- Fix Vue draggable deprecations by @Tofandel in https://github.com/area17/twill/pull/2491 +- Remove duplicate extensions already included in the TipTap starterKit by @Tofandel in https://github.com/area17/twill/pull/2486 + +### Improved +- Fix documentation issues reported in https://github.com/area17/twill/pull/1804 +- Remove HTML 4 and srcset polyfills by @Tofandel in https://github.com/area17/twill/pull/2430 +- Remove deprecated zh, ji, iw and in locales to integrate Weblate (see https://github.com/area17/twill/pull/2492) +- Bump axios from 0.27.2 to 0.28.0 by @dependabot in https://github.com/area17/twill/pull/2480 + ## 3.1.0 ### Added -- PHP 8.3 support by @antonioribeiro in #2374 -- Form builder connected fields support by @joyceverheije in #2323 -- Glide image rendering service improvements for remote disks by @ifox in #2422 -- Google Analytics 4 support in the dashboard by @lewiswharf in #2288 -- Configurable preview breakpoints by @florrie-90 in #2299 -- Automatically add `active` to `$translatedAttributes` by @driftingly in #2401 -- Block component classes support in the `BlockEditor` `blocks` array by @joyceverheije in 8778ab7e -- Add `excludeBlocks` option to the `BlockEditor` fields by @pauldwight in #2409 -- Add `readOnly` support to form builder `Input` field by @zachgarwood in #2331 -- Add `searchable` support to form builder `Select` field by @iedex in #2415 -- Add `max` support to form builder `InlineRepeater` field by @joyceverheije in 4a773869 -- Add `direction` option to `Input` and `Wysiwyg` fields by @13twelve in #2295 -- Add alignment buttons to `TipTap` editor by @florrie-90 in #2305 -- Add predefined class selection to `TipTap` link component by @zipavlin in #2336 -- Add support for `titleInBrowser` and `adminEditUrl` accessors in `browsers` by @joyceverheije in 02ac019e, ab8635fe and 160e9165 -- Add `--factory` and `--seeder` to `twill:make:module` by @driftingly in #2402 -- Add `Link` column type to table builder by @agnonym in #2376 -- Add `routePrefix` support to nested breadcrumbs by @yamaha252 in #2312 -- Add DI support for Twill Block `getData` method by @Afting in #2292 -- Allow `QuickFilter` extension by @joyceverheije in 9c15b017 -- Configurable permissions and roles table names by @Keania-Eric in #2350 -- Configurable user creation with default role when using OAuth SSO by @joyceverheije in 14f8dd29 -- Customizable title column's label by @Phiosss in #2318 -- Current request only tertiary nav links support by @joyceverheije in d1c06992 -- Multiple `nested` table columns support in the table builder by @yamaha252 and @joyceverheije in #2314 and 1edbfbb1 -- Store position and render selected values ordered on multi selects fields by @haringsrob in #2204 -- Update migration stub and existing migrations to use anonymous class by @driftingly in #2406 +- PHP 8.3 support by @antonioribeiro in https://github.com/area17/twill/pull/2374 +- Form builder connected fields support by @joyceverheije in https://github.com/area17/twill/pull/2323 +- Glide image rendering service improvements for remote disks by @ifox in https://github.com/area17/twill/pull/2422 +- Google Analytics 4 support in the dashboard by @lewiswharf in https://github.com/area17/twill/pull/2288 +- Configurable preview breakpoints by @florrie-90 in https://github.com/area17/twill/pull/2299 +- Automatically add `active` to `$translatedAttributes` by @driftingly in https://github.com/area17/twill/pull/2401 +- Block component classes support in the `BlockEditor` `blocks` array by @joyceverheije in [8778ab7e](https://github.com/area17/twill/commit/8778ab7e) +- Add `excludeBlocks` option to the `BlockEditor` fields by @pauldwight in https://github.com/area17/twill/pull/2409 +- Add `readOnly` support to form builder `Input` field by @zachgarwood in https://github.com/area17/twill/pull/2331 +- Add `searchable` support to form builder `Select` field by @iedex in https://github.com/area17/twill/pull/2415 +- Add `max` support to form builder `InlineRepeater` field by @joyceverheije in [4a773869](https://github.com/area17/twill/commit/4a773869) +- Add `direction` option to `Input` and `Wysiwyg` fields by @13twelve in https://github.com/area17/twill/pull/2295 +- Add alignment buttons to `TipTap` editor by @florrie-90 in https://github.com/area17/twill/pull/2305 +- Add predefined class selection to `TipTap` link component by @zipavlin in https://github.com/area17/twill/pull/2336 +- Add support for `titleInBrowser` and `adminEditUrl` accessors in `browsers` by @joyceverheije in [02ac019e](https://github.com/area17/twill/commit/02ac019e), ab8635fe and 160e9165 +- Add `--factory` and `--seeder` to `twill:make:module` by @driftingly in https://github.com/area17/twill/pull/2402 +- Add `Link` column type to table builder by @agnonym in https://github.com/area17/twill/pull/2376 +- Add `routePrefix` support to nested breadcrumbs by @yamaha252 in https://github.com/area17/twill/pull/2312 +- Add DI support for Twill Block `getData` method by @Afting in https://github.com/area17/twill/pull/2292 +- Allow `QuickFilter` extension by @joyceverheije in [9c15b017](https://github.com/area17/twill/commit/9c15b017) +- Configurable permissions and roles table names by @Keania-Eric in https://github.com/area17/twill/pull/2350 +- Configurable user creation with default role when using OAuth SSO by @joyceverheije in [14f8dd29](https://github.com/area17/twill/commit/14f8dd29) +- Customizable title column's label by @Phiosss in https://github.com/area17/twill/pull/2318 +- Current request only tertiary nav links support by @joyceverheije in [d1c06992](https://github.com/area17/twill/commit/d1c06992) +- Multiple `nested` table columns support in the table builder by @yamaha252 and @joyceverheije in https://github.com/area17/twill/pull/2314 and 1edbfbb1 +- Store position and render selected values ordered on multi selects fields by @haringsrob in https://github.com/area17/twill/pull/2204 +- Update migration stub and existing migrations to use anonymous class by @driftingly in https://github.com/area17/twill/pull/2406 ### Fixed -- Fix `DatePicker` date selection by @ifox in 0e751723 -- Fix Tiptap `Wysiwyg` click to focus area by @TimBlanchard in #2418 -- Fix custom components registration by @joyceverheije in 7c233334 -- Fix position value for blocks in non-default `BlockEditor` fields by @joyceverheije in #2381 -- Fix incorrect order of nested items slug when item is more than 2 levels deep by @pauldwight in #2388 -- Fix `parseInternalLinks` helper issues by @avinash403 in #2338 -- Fix to reduce excessive number of queries when using Twill 3 settings by @bonroyage in #2369 -- Fix legacy settings in Twill 3 by @joyceverheije in #2417 -- Fix user list errors when deleting roles by @antonioribeiro in #2372 -- Fix build error with custom icons by @emanueljacob in #2392 -- Fix x-position of full height crops being reset at some ratios/screen sizes by @13twelve in #2297 -- Fix fields/blocks/repeaters spacings by @ifox in 1a93fe47 -- Fix active navigation check when a child module uses the same name as another module by @joyceverheije in f22eb35a -- Fix create button alignment in listings by @ifox in 006f478f -- Fix duplication when translated media fields are enabled by @petertsoisstuff in #2320 -- Fix `getCapsuleForModel()` for when passing a Model object by @antonioribeiro in #2400 -- Fix `keepAlive` on connected non localized fields by @joyceverheije in b1593c75 -- Fix optional feature migrations publication by @Tofandel in #2384 -- Fix related table name in migration down method by @droplister in #2290 -- Fix scheduled filter label by @droplister in #2291 -- Fix type of `$forceLocale` in `translatedInput()` by @pvdbroek in #2315 -- Fix user role filter when using the standard permissions setup by @ifox in 6e893232 -- Fix vselect component to align with design by @ifox in 6e893232 -- Fix error when running `php artisan migrate:reset` by @NuktukDev in #2413 -- Allow dashboard modules to wrap onto the next line by @florrie-90 in #2298 -- Always include locale in the `mediables` pivot by @bonroyage in #2368 -- Avoid unused data and hooks when using the default role level by @joyceverheije in 5d4060b5 -- Check user permission when displaying activity log items by @joyceverheije in 3526dca5 -- Don't load `DuskServiceProvider` if Dusk doesn't exist by @Tofandel in #2366 -- Preserve default vselect value when undefined by @bwat-dev in #2311 -- Prevent multi select options from being selected more than once by @florrie-90 in #2296 -- Remove block actions in settings blocks by @ifox in 0bc5e754 -- Support using a dot as `fieldsGroupsFormFieldNameSeparator` by @yamaha252 in #2277 -- Turn move dropdowns off for settings blocks by @droplister in #2293 -- Update migration helper for translations table by @sauron in #2327 -- Updated namespace paths from `Admin` to `Twill` on custom pages by @pauldwight in #2317 -- Use custom model configuration in the relationship morph map by @redelschaap in #2408 -- Use `pushOnce` builtin, remove custom `pushonce` directive by @mikerockett in #2301 -- Use `twill.admin_route_name_prefix` configuration for all internal routes by @ifox and @raymondtri in #2286 +- Fix `DatePicker` date selection by @ifox in [0e751723](https://github.com/area17/twill/commit/0e751723) +- Fix Tiptap `Wysiwyg` click to focus area by @TimBlanchard in https://github.com/area17/twill/pull/2418 +- Fix custom components registration by @joyceverheije in [7c233334](https://github.com/area17/twill/commit/7c233334) +- Fix position value for blocks in non-default `BlockEditor` fields by @joyceverheije in https://github.com/area17/twill/pull/2381 +- Fix incorrect order of nested items slug when item is more than 2 levels deep by @pauldwight in https://github.com/area17/twill/pull/2388 +- Fix `parseInternalLinks` helper issues by @avinash403 in https://github.com/area17/twill/pull/2338 +- Fix to reduce excessive number of queries when using Twill 3 settings by @bonroyage in https://github.com/area17/twill/pull/2369 +- Fix legacy settings in Twill 3 by @joyceverheije in https://github.com/area17/twill/pull/2417 +- Fix user list errors when deleting roles by @antonioribeiro in https://github.com/area17/twill/pull/2372 +- Fix build error with custom icons by @emanueljacob in https://github.com/area17/twill/pull/2392 +- Fix x-position of full height crops being reset at some ratios/screen sizes by @13twelve in https://github.com/area17/twill/pull/2297 +- Fix fields/blocks/repeaters spacings by @ifox in [1a93fe47](https://github.com/area17/twill/commit/1a93fe47) +- Fix active navigation check when a child module uses the same name as another module by @joyceverheije in [f22eb35a](https://github.com/area17/twill/commit/f22eb35a) +- Fix create button alignment in listings by @ifox in [006f478f](https://github.com/area17/twill/commit/006f478f) +- Fix duplication when translated media fields are enabled by @petertsoisstuff in https://github.com/area17/twill/pull/2320 +- Fix `getCapsuleForModel()` for when passing a Model object by @antonioribeiro in https://github.com/area17/twill/pull/2400 +- Fix `keepAlive` on connected non localized fields by @joyceverheije in [b1593c75](https://github.com/area17/twill/commit/b1593c75) +- Fix optional feature migrations publication by @Tofandel in https://github.com/area17/twill/pull/2384 +- Fix related table name in migration down method by @droplister in https://github.com/area17/twill/pull/2290 +- Fix scheduled filter label by @droplister in https://github.com/area17/twill/pull/2291 +- Fix type of `$forceLocale` in `translatedInput()` by @pvdbroek in https://github.com/area17/twill/pull/2315 +- Fix user role filter when using the standard permissions setup by @ifox in [6e893232](https://github.com/area17/twill/commit/6e893232) +- Fix vselect component to align with design by @ifox in [435c6a92](https://github.com/area17/twill/commit/435c6a92) +- Fix error when running `php artisan migrate:reset` by @NuktukDev in https://github.com/area17/twill/pull/2413 +- Allow dashboard modules to wrap onto the next line by @florrie-90 in https://github.com/area17/twill/pull/2298 +- Always include locale in the `mediables` pivot by @bonroyage in https://github.com/area17/twill/pull/2368 +- Avoid unused data and hooks when using the default role level by @joyceverheije in [5d4060b5](https://github.com/area17/twill/commit/5d4060b5) +- Check user permission when displaying activity log items by @joyceverheije in [3526dca5](https://github.com/area17/twill/commit/3526dca5) +- Don't load `DuskServiceProvider` if Dusk doesn't exist by @Tofandel in https://github.com/area17/twill/pull/2366 +- Preserve default vselect value when undefined by @bwat-dev in https://github.com/area17/twill/pull/2311 +- Prevent multi select options from being selected more than once by @florrie-90 in https://github.com/area17/twill/pull/2296 +- Remove block actions in settings blocks by @ifox in [0bc5e754](https://github.com/area17/twill/commit/0bc5e754) +- Support using a dot as `fieldsGroupsFormFieldNameSeparator` by @yamaha252 in https://github.com/area17/twill/pull/2277 +- Turn move dropdowns off for settings blocks by @droplister in https://github.com/area17/twill/pull/2293 +- Update migration helper for translations table by @sauron in https://github.com/area17/twill/pull/2327 +- Updated namespace paths from `Admin` to `Twill` on custom pages by @pauldwight in https://github.com/area17/twill/pull/2317 +- Use custom model configuration in the relationship morph map by @redelschaap in https://github.com/area17/twill/pull/2408 +- Use `pushOnce` builtin, remove custom `pushonce` directive by @mikerockett in https://github.com/area17/twill/pull/2301 +- Use `twill.admin_route_name_prefix` configuration for all internal routes by @ifox and @raymondtri in https://github.com/area17/twill/pull/2286 ### Docs -- Add instructions on how to use the `browser` field with a custom pivot table by @poncianodiego and @ifox in #2385 -- Changed example value to better reflect given example in fields group docs by @Viliasas in #2283 -- Fix artisan command by @thecrazybob in #2365 -- Fix typo in Building a frontend guide by @driftingly in #2396 -- Fix typo in Content - Modules - TableBuilder by @agnonym in #2375 -- Fix typo in create page module guide by @colegeissinger in #2367 -- Fix wrong property name in nested modules docs by @Viliasas in #2282 -- Updates to the docs for nested modules by @pauldwight in #2389 +- Add instructions on how to use the `browser` field with a custom pivot table by @poncianodiego and @ifox in https://github.com/area17/twill/pull/2385 +- Changed example value to better reflect given example in fields group docs by @Viliasas in https://github.com/area17/twill/pull/2283 +- Fix artisan command by @thecrazybob in https://github.com/area17/twill/pull/2365 +- Fix typo in Building a frontend guide by @driftingly in https://github.com/area17/twill/pull/2396 +- Fix typo in Content - Modules - TableBuilder by @agnonym in https://github.com/area17/twill/pull/2375 +- Fix typo in create page module guide by @colegeissinger in https://github.com/area17/twill/pull/2367 +- Fix wrong property name in nested modules docs by @Viliasas in https://github.com/area17/twill/pull/2282 +- Updates to the docs for nested modules by @pauldwight in https://github.com/area17/twill/pull/2389 ### Translations -- Added Slovenian language to translations by @Neoglyph in #2373 -- Update Dutch translations by @lindeVW in #2378 -- Update German translations by @florianschrottenloher-iu in #2411 -- Add all locales with translations to the user locale selector by @ifox in 6e893232 -- Configure all locales with translations for date rendering and datepicker configuration by @ifox in eb21fa9f +- Added Slovenian language to translations by @Neoglyph in https://github.com/area17/twill/pull/2373 +- Update Dutch translations by @lindeVW in https://github.com/area17/twill/pull/2378 +- Update German translations by @florianschrottenloher-iu in https://github.com/area17/twill/pull/2411 +- Add all locales with translations to the user locale selector by @ifox in [6e893232](https://github.com/area17/twill/commit/6e893232) +- Configure all locales with translations for date rendering and datepicker configuration by @ifox in [eb21fa9f](https://github.com/area17/twill/commit/eb21fa9f) ## 3.0.2 @@ -101,7 +130,7 @@ All notable changes to `twill` will be documented in this file. - Icon support in component blocks by @agnonym in https://github.com/area17/twill/pull/2238 - Columns support for checkboxes and radios in form builder by @bonroyage in https://github.com/area17/twill/pull/2232 - `Options::fromArray` argument order by @bonroyage in https://github.com/area17/twill/pull/2231 -- Update package generator stub by @ifox in https://github.com/area17/twill/commit/78cc5b5dc023134356210f8c8940f77ff7745ea3 +- Update package generator stub by @ifox in [78cc5b5d](https://github.com/area17/twill/commit/78cc5b5dc023134356210f8c8940f77ff7745ea3) ### Improved diff --git a/package-lock.json b/package-lock.json index d67197ea8..88673af06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@area17/twill", - "version": "3.1.0", + "version": "3.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@area17/twill", - "version": "3.1.0", + "version": "3.2.0", "dependencies": { "@alpinejs/mask": "^3.13.5", "@tiptap/extension-hard-break": "^2.2.1", diff --git a/package.json b/package.json index fdd225334..012ba2221 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@area17/twill", - "version": "3.1.0", + "version": "3.2.0", "private": true, "scripts": { "inspect": "vue-cli-service inspect --mode production", diff --git a/src/TwillServiceProvider.php b/src/TwillServiceProvider.php index a07099fac..da79a97d4 100644 --- a/src/TwillServiceProvider.php +++ b/src/TwillServiceProvider.php @@ -58,7 +58,7 @@ class TwillServiceProvider extends ServiceProvider * * @var string */ - public const VERSION = '3.1.0'; + public const VERSION = '3.2.0'; /** * Service providers to be registered.