8000 feature #51247 [AssetMapper] Mark component as non experimental (fabpot) · symfony/symfony@7e4793b · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e4793b

Browse files
committed
feature #51247 [AssetMapper] Mark component as non experimental (fabpot)
This PR was merged into the 6.4 branch. Discussion ---------- [AssetMapper] Mark component as non experimental | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | yes <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a | License | MIT | Doc PR | n/a No feature can be experimental in 6.4. `@weaverryan` Commits ------- 530406a [AssetMapper] Mark component as non experimental
2 parents 6522566 + 530406a commit 7e4793b

30 files changed

+5
-66
lines changed

src/Symfony/Component/AssetMapper/AssetDependency.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
/**
1515
* Represents a dependency that a MappedAsset has.
16-
*
17-
* @experimental
1816
*/
1917
final class AssetDependency
2018
{

src/Symfony/Component/AssetMapper/AssetMapper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
/**
1818
* Finds and returns assets in the pipeline.
1919
*
20-
* @experimental
21-
*
2220
* @final
2321
*/
2422
class AssetMapper implements AssetMapperInterface

src/Symfony/Component/AssetMapper/AssetMapperCompiler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* Runs a chain of compiles intended to adjust the source of assets.
1818
*
19-
* @experimental
20-
*
2119
* @final
2220
*/
2321
class AssetMapperCompiler

src/Symfony/Component/AssetMapper/AssetMapperDevServerSubscriber.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
/**
2222
* Functions like a controller that returns assets from the asset mapper.
2323
*
24-
* @experimental
25-
*
2624
* @author Ryan Weaver <ryan@symfonycasts.com>
2725
*/
2826
final class AssetMapperDevServerSubscriber implements EventSubscriberInterface

src/Symfony/Component/AssetMapper/AssetMapperInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Finds and returns assets in the pipeline.
1616
*
17-
* @experimental
18-
*
1917
* @author Ryan Weaver <ryan@symfonycasts.com>
2018
*/
2119
interface AssetMapperInterface

src/Symfony/Component/AssetMapper/AssetMapperRepository.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
/**
1818
* Finds assets in the asset mapper.
1919
*
20-
* @experimental
21-
*
2220
* @author Ryan Weaver <ryan@symfonycasts.com>
2321
*
2422
* @final

src/Symfony/Component/AssetMapper/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
6.4
5+
---
6+
7+
* Mark the component as non experimental
8+
49
6.3
510
---
611

src/Symfony/Component/AssetMapper/Command/AssetMapperCompileCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
*
2929
* This command is intended to be used during deployment.
3030
*
31-
* @experimental
32-
*
3331
* @author Ryan Weaver <ryan@symfonycasts.com>
3432
*/
3533
#[AsCommand(name: 'asset-map:compile', description: 'Compiles all mapped assets and writes them to the final public output directory.')]

src/Symfony/Component/AssetMapper/Command/DebugAssetMapperCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
/**
2323
* Outputs all the assets in the asset mapper.
2424
*
25-
* @experimental
26-
*
2725
* @author Ryan Weaver <ryan@symfonycasts.com>
2826
*/
2927
#[AsCommand(name: 'debug:asset-map', description: 'Outputs all mapped assets.')]

src/Symfony/Component/AssetMapper/Command/ImportMapExportCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
use Symfony\Component\Console\Output\OutputInterface;
1919

2020
/**
21-
* @experimental
22-
*
2321
* @author Kévin Dunglas <kevin@dunglas.dev>
2422
*/
2523
#[AsCommand(name: 'importmap:export', description: 'Exports the importmap JSON')]

src/Symfony/Component/AssetMapper/Command/ImportMapRemoveCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
use Symfony\Component\Console\Style\SymfonyStyle;
2121

2222
/**
23-
* @experimental
24-
*
2523
* @author Kévin Dunglas <kevin@dunglas.dev>
2624
*/
2725
#[AsCommand(name: 'importmap:remove', description: 'Removes JavaScript packages')]

src/Symfony/Component/AssetMapper/Command/ImportMapRequireCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
use Symfony\Component\Console\Style\SymfonyStyle;
2626

2727
/**
28-
* @experimental
29-
*
3028
* @author Kévin Dunglas <kevin@dunglas.dev>
3129
*/
3230
#[AsCommand(name: 'importmap:require', description: 'Requires JavaScript packages')]

src/Symfony/Component/AssetMapper/Command/ImportMapUpdateCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
use Symfony\Component\Console\Style\SymfonyStyle;
2020

2121
/**
22-
* @experimental
23-
*
2422
* @author Kévin Dunglas <kevin@dunglas.dev>
2523
*/
2624
#[AsCommand(name: 'importmap:update', description: 'Updates all JavaScript packages to their latest versions')]

src/Symfony/Component/AssetMapper/Compiler/AssetCompilerInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
/**
1818
* An asset compiler is responsible for applying any changes to the contents of an asset.
1919
*
20-
* @experimental
21-
*
2220
* @author Ryan Weaver <ryan@symfonycasts.com>
2321
*/
2422
interface AssetCompilerInterface

src/Symfony/Component/AssetMapper/Compiler/AssetCompilerPathResolverTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* Helps resolve "../" and "./" in paths.
1818
*
19-
* @experimental
20-
*
2119
* @internal
2220
*/
2321
trait AssetCompilerPathResolverTrait

src/Symfony/Component/AssetMapper/Compiler/CssAssetUrlCompiler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* Resolves url() paths in CSS files.
2222
*
2323
* Originally sourced from https://github.com/rails/propshaft/blob/main/lib/propshaft/compilers/css_asset_urls.rb
24-
*
25-
* @experimental
2624
*/
2725
final class CssAssetUrlCompiler implements AssetCompilerInterface
2826
{

src/Symfony/Component/AssetMapper/Compiler/JavaScriptImportPathCompiler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
/**
2121
* Resolves import paths in JS files.
2222
*
23-
* @experimental
24-
*
2523
* @author Ryan Weaver <ryan@symfonycasts.com>
2624
*/
2725
final class JavaScriptImportPathCompiler implements AssetCompilerInterface

src/Symfony/Component/AssetMapper/Compiler/SourceMappingUrlsCompiler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* Rewrites already-existing source map URLs to their final digested path.
2020
*
2121
* Originally sourced from https://github.com/rails/propshaft/blob/main/lib/propshaft/compilers/source_mapping_urls.rb
22-
*
23-
* @experimental
242 10000 2
*/
2523
final class SourceMappingUrlsCompiler implements AssetCompilerInterface
2624
{

src/Symfony/Component/AssetMapper/ImportMap/ImportMapEntry.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Represents an item that should be in the importmap.
1616
*
17-
* @experimental
18-
*
1917
* @author Ryan Weaver <ryan@symfonycasts.com>
2018
*/
2119
final class ImportMapEntry

src/Symfony/Component/AssetMapper/ImportMap/ImportMapManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
use Symfony\Component\VarExporter\VarExporter;
1919

2020
/**
21-
* @experimental
22-
*
2321
* @author Kévin Dunglas <kevin@dunglas.dev>
2422
* @author Ryan Weaver <ryan@symfonycasts.com>
2523
*

src/Symfony/Component/AssetMapper/ImportMap/ImportMapRenderer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
namespace Symfony\Component\AssetMapper\ImportMap;
1313

1414
/**
15-
* @experimental
16-
*
1715
* @author Kévin Dunglas <kevin@dunglas.dev>
1816
* @author Ryan Weaver <ryan@symfonycasts.com>
1917
*

src/Symfony/Component/AssetMapper/ImportMap/PackageRequireOptions.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Represents a package that should be installed or updated.
1616
*
17-
* @experimental
18-
*
1917
* @author Kévin Dunglas <kevin@dunglas.dev>
2018
*/
2119
final class PackageRequireOptions

src/Symfony/Component/AssetMapper/ImportMap/Resolver/JsDelivrEsmResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
use Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface;
1818
use Symfony\Contracts\HttpClient\HttpClientInterface;
1919

20-
/**
21-
* @experimental
22-
*/
2320
final class JsDelivrEsmResolver implements PackageResolverInterface
2421
{
2522
public const URL_PATTERN_VERSION = 'https://data.jsdelivr.com/v1/packages/npm/%s/resolved?specifier=%s';

src/Symfony/Component/AssetMapper/ImportMap/Resolver/JspmResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
use Symfony\Component\HttpClient\HttpClient;
1818
use Symfony\Contracts\HttpClient\HttpClientInterface;
1919

20-
/**
21-
* @experimental
22-
*/
2320
final class JspmResolver implements PackageResolverInterface
2421
{
2522
public const BASE_URI = 'https://api.jspm.io/';

src/Symfony/Component/AssetMapper/ImportMap/Resolver/PackageResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
use Psr\Container\ContainerInterface;
1515

16-
/**
17-
* @experimental
18-
*/
1916
final class PackageResolver implements PackageResolverInterface
2017
{
2118
public function __construct(

src/Symfony/Component/AssetMapper/ImportMap/Resolver/PackageResolverInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
use Symfony\Component\AssetMapper\ImportMap\PackageRequireOptions;
1515

16-
/**
17-
* @experimental
18-
*/
1916
interface PackageResolverInterface
2017
{
2118
/**

src/Symfony/Component/AssetMapper/ImportMap/Resolver/ResolvedImportMapPackage.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
use Symfony\Component\AssetMapper\ImportMap\PackageRequireOptions;
1515

16-
/**
17-
* @experimental
18-
*/
1916
final class ResolvedImportMapPackage
2017
{
2118
public function __construct(

src/Symfony/Component/AssetMapper/MappedAsset.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Represents a single asset in the asset mapper system.
1616
*
17-
* @experimental
18-
*
1917
* @author Ryan Weaver <ryan@symfonycasts.com>
2018
*/
2119
final class MappedAsset

src/Symfony/Component/AssetMapper/MapperAwareAssetPackage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* Decorates asset packages to support resolving assets from the asset mapper.
1818
*
19-
* @experimental
20-
*
2119
* @author Ryan Weaver <ryan@symfonycasts.com>
2220
*/
2321
final class MapperAwareAssetPackage implements PackageInterface

src/Symfony/Component/AssetMapper/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ then moved to a public directory with digested (i.e. versioned) filenames. It
66
also allows you to dump an [importmap](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap)
77
to allow writing modern JavaScript without a build system.
88

9-
**This Component is experimental**.
10-
[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)
11-
are not covered by Symfony's
12-
[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).
13-
149
Resources
1510
---------
1611

0 commit comments

Comments
 (0)
0