v1.3.0
版本发布时间: 2017-03-17 19:21:25
fxpio/composer-asset-plugin最新发布版本:v1.4.6(2019-08-09 02:52:33)
New features
- Add support of the global configuration (7ab02bce254bae51c02a6868b125c38d8df24768, #273)
- Add support of environment variables (8929f2bd0b55bf45bf69240b74aac4e9ab83f185, #274)
- Add config option
config.fxp-asset.enabled
to enable/disable the plugin (fda53b9edbe53621d55e05f29a8e9b1095e32079, #249) - Add support of dependencies resolution to solve the conflicts (d65dabd17b94f656d89fc649f56c48ecd55d2309, #276)
Bug fixes
- Fix conversion of version with wildcard in range (4c176fb7d5ecb7cc6e53454c824f02080a6627fe, #236, #244, #253)
- Remove the suffix info of version (1600e622457b41bdd95e2c266f0102b7b095f440, #260)
- Fix the cleaning of the version prefix (95abd7a0a7f85c1eb3fa4d6c50056543c64bbe0d)
- Fix event circular reference (19cfc192fe966e1f0972c8db3619d7b7bd2f8db1)
- Fix conversion of hyphen range with single number of version (623fe6b9bb28fa23b64efc208d53d6d3fcf84170, #270)
- Fix conversion of
&&
range version (dacfc81d781fa31bed37ad385b2658a0ee014b01, #247) - Registering the NPM packages defined in registry even if the repository url is erroneous (544b7a9c5b635193af70707509274b3a67f32cd2, #275)
- Add the VCS repository from a URL dependency in the Pool (2b652ae00f9a59e013d5359301e0bda9ec8be873)
Improvements
- Make it compatible with Composer 1.3 (ee87499e8a64da51814b6c2a88ed8e0268978247)
- Make it compatible with Composer 1.4 (4aab26a846e61edca2ba91c9b980f6503f7dc84d)
- Make it compatible with the snapshot version
x.y.z-SNAPSHOT
(69fd13c958ea4ea104402fc5ca74b821fb1355c3, #261) - Make it compatible with the NPM Scope (042cb0079cffb2e29fd7c46c42d19513a341a4de, #266)
- Make it compatible with date version (80760a9a1e9975b30f4c5d3b142bf4f35c0c4fd8, 41520c881efd4445d38bfe1029ea4415a598a506, #185)
- Make it compatible with the direct url of archive file in package dependencies (e7f03601e093d072ed40d42542d4e915125235f7)
- Move the plugin config in the config section of package, see the section of deprecated options (9b630ce262ca5a1cd350cc93984ce4a698d1d204, d3b1295e499e2f18880553800eed8f478fac44a8)
- Update the console output style in verbose mode (68dcc82fe7f6c7a0f1bcc7e5dd0bf6fffb19cd2f)
- Update the doc (6eb2039a7872e1b09ee3e16a28a9d2bc16858cbc, 19644a25f10322569da5abc9bb71da152eff963b, 42bad7303ba5cbe3828904035a32c1717661367a)
Deprecated options
All the options of the plugin are moved in the config section of the root package. Because the config section does not change the hash of the locked file composer.lock
, which is not the case for the extra
section.
Note:
- All the options in the
extra
section are functional, and a warning will appear in the console if they are used- All the options in the
config.fxp-asset
section will override the options still defined in theextra
section
-
extra.asset-installer-paths
becomesconfig.fxp-asset.installer-paths
-
extra.asset-ignore-files
becomesconfig.fxp-asset.ignore-files
-
extra.asset-private-bower-registries
becomesconfig.fxp-asset.private-bower-registries
-
extra.asset-pattern-skip-version
becomesconfig.fxp-asset.pattern-skip-version
-
extra.asset-optimize-with-installed-packages
becomesconfig.fxp-asset.optimize-with-installed-packages
-
extra.asset-optimize-with-conjunctive
becomesconfig.fxp-asset.optimize-with-conjunctive
-
extra.asset-repositories
becomesconfig.fxp-asset.repositories
-
extra.asset-registry-options
becomesconfig.fxp-asset.registry-options
-
extra.asset-vcs-driver-options
becomesconfig.fxp-asset.vcs-driver-options
-
extra.asset-main-files
becomesconfig.fxp-asset.main-files
Requirements:
Composer version: ^1.4.0
.
Installation: must be do in global mode.