mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10289 from creative-commoners/pulls/4/allow-plugins-docs
DOC: Changelog for Composer 2.2.0 allow-plugins option
This commit is contained in:
commit
c0396279d8
@ -7,6 +7,7 @@
|
||||
- [Features and enhancements](#features-and-enhancements)
|
||||
- [Upload and use WebP images in the CMS](#webp)
|
||||
- [Preview any DataObject in any admin section](#cms-preview)
|
||||
- [Allow-plugins configuration option in Composer versions 2.2.0 and up](#composer)
|
||||
- [Other features](#other-features)
|
||||
- [Bugfixes](#bugfixes)
|
||||
- [Dependency and internal API changes](#dependency-internal-api-changes)
|
||||
@ -78,6 +79,15 @@ The version portion of the metagenerator tag can be disabled via:
|
||||
SilverStripe\CMS\Model\SiteTree:
|
||||
show_meta_generator_version: false
|
||||
```
|
||||
### Allow-plugins configuration option in Composer versions 2.2.0 and up {#composer}
|
||||
|
||||
- As of Composer 2.2.0, the [allow-plugins](https://getcomposer.org/doc/06-config.md#allow-plugins) option adds a layer of security. Developers will be prompted to allow plugins when running `composer install` for the first time on existing projects, or for any new projects not using `silverstripe/installer` or `silverstripe/recipe-kitchen-sink`.
|
||||
- The plugins needed for all silverstripe projects are:
|
||||
`composer/installers`
|
||||
`silverstripe/recipe-plugin`
|
||||
`silverstripe/vendor-plugin`
|
||||
New installations using `silverstripe/silverstripe-installer` and `silverstripe/recipe-kitchen-sink` from 4.11 onwards will have the above plugins added to the `allowed-plugins` configuration by default.
|
||||
- From July 2022 composer will no longer prompt to allow plugins when running `composer install`. This won't affect new installs using silverstripe/installer or silverstripe-recipe-kitchen-sink, but will affect other new projects, and existing projects where `allowed-plugins` hasn't yet been defined. In those cases developers will need to declare the allowed plugins manually in the project's `composer.json` file.
|
||||
|
||||
### Other new features {#other-features}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user