From 71abb6fa125fd75ee375a31aa902314d88a227de Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Sun, 28 May 2023 20:56:16 -0400 Subject: [PATCH] [StimulusBundle] Marking only the AssetMapper integration as experimental --- src/StimulusBundle/README.md | 5 +---- src/StimulusBundle/doc/index.rst | 6 ++---- .../src/DependencyInjection/StimulusExtension.php | 2 -- src/StimulusBundle/src/Dto/StimulusAttributes.php | 2 -- src/StimulusBundle/src/Helper/StimulusHelper.php | 2 -- src/StimulusBundle/src/StimulusBundle.php | 2 -- src/StimulusBundle/src/Twig/StimulusTwigExtension.php | 2 -- 7 files changed, 3 insertions(+), 18 deletions(-) diff --git a/src/StimulusBundle/README.md b/src/StimulusBundle/README.md index b032e52bd51..bb3c4b05038 100644 --- a/src/StimulusBundle/README.md +++ b/src/StimulusBundle/README.md @@ -1,12 +1,9 @@ # StimulusBundle: Symfony integration with Stimulus! -**EXPERIMENTAL** This bundle is currently experimental. It is possible that -backwards-compatibility breaks could happen between minor versions. - This bundle adds integration between Symfony, Stimulus and Symfony UX: - A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates; -- B) Integration with Symfony UX & AssetMapper; +- B) Integration with Symfony UX & AssetMapper (this integration is [experimental](https://symfony.com/doc/current/contributing/code/experimental.html) - C) A helper service to build the Stimulus data attributes and use them in your services. [Read the documentation][1] diff --git a/src/StimulusBundle/doc/index.rst b/src/StimulusBundle/doc/index.rst index 13d71807495..9acac9ddd5d 100644 --- a/src/StimulusBundle/doc/index.rst +++ b/src/StimulusBundle/doc/index.rst @@ -1,13 +1,10 @@ StimulusBundle: Symfony integration with Stimulus ================================================= -**EXPERIMENTAL** This bundle is currently experimental. It is possible that -backwards-compatibility breaks could happen between minor versions. - This bundle adds integration between Symfony, `Stimulus`_ and Symfony UX: A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates; -B) Integration with Symfony UX & AssetMapper; +B) Integration with Symfony UX & AssetMapper (this integration is `experimental`_) C) A helper service to build the Stimulus data attributes and use them in your services. Installation @@ -314,3 +311,4 @@ is running in debug mode. .. _`parameters`: https://stimulus.hotwired.dev/reference/actions#action-parameters .. _`Stimulus Targets`: https://stimulus.hotwired.dev/reference/targets .. _`StimulusBundle Flex recipe`: https://github.com/symfony/recipes/tree/main/symfony/stimulus-bundle +.. _`experimental`: https://symfony.com/doc/current/contributing/code/experimental.html diff --git a/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php b/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php index 6e8422fd304..a4d65df2fd0 100644 --- a/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php +++ b/src/StimulusBundle/src/DependencyInjection/StimulusExtension.php @@ -23,8 +23,6 @@ use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusExtension extends Extension implements PrependExtensionInterface, ConfigurationInterface diff --git a/src/StimulusBundle/src/Dto/StimulusAttributes.php b/src/StimulusBundle/src/Dto/StimulusAttributes.php index 6b6f18bab1f..5b2abd01d80 100644 --- a/src/StimulusBundle/src/Dto/StimulusAttributes.php +++ b/src/StimulusBundle/src/Dto/StimulusAttributes.php @@ -16,8 +16,6 @@ /** * Helper to build Stimulus-related HTML attributes. * - * @experimental - * * @author Ryan Weaver */ class StimulusAttributes implements \Stringable, \IteratorAggregate diff --git a/src/StimulusBundle/src/Helper/StimulusHelper.php b/src/StimulusBundle/src/Helper/StimulusHelper.php index 9ea4a5d39c7..9da0fc52592 100644 --- a/src/StimulusBundle/src/Helper/StimulusHelper.php +++ b/src/StimulusBundle/src/Helper/StimulusHelper.php @@ -16,8 +16,6 @@ use Twig\Loader\ArrayLoader; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusHelper diff --git a/src/StimulusBundle/src/StimulusBundle.php b/src/StimulusBundle/src/StimulusBundle.php index 0fef19baf01..e03612a8530 100644 --- a/src/StimulusBundle/src/StimulusBundle.php +++ b/src/StimulusBundle/src/StimulusBundle.php @@ -14,8 +14,6 @@ use Symfony\UX\StimulusBundle\DependencyInjection\Compiler\RemoveAssetMapperServicesCompiler; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusBundle extends Bundle diff --git a/src/StimulusBundle/src/Twig/StimulusTwigExtension.php b/src/StimulusBundle/src/Twig/StimulusTwigExtension.php index 0b78bd4654c..f5bf828ce65 100644 --- a/src/StimulusBundle/src/Twig/StimulusTwigExtension.php +++ b/src/StimulusBundle/src/Twig/StimulusTwigExtension.php @@ -18,8 +18,6 @@ use Twig\TwigFunction; /** - * @experimental - * * @author Ryan Weaver */ final class StimulusTwigExtension extends AbstractExtension