Repository navigation
Conversation
…ames | Q | A | -------------- | --- | Bug fix? | yes | New feature? | no | Deprecations? | no | Documentation? | no | Issues | | License | MIT Recipe dependencies are only checked for their package name. The version constraint of a Composer or NPM dependency, and the name of an Importmap package, accept any string, and they are printed as is in the "Next steps" commands of `ux:install`. The manifest validation now accepts a version constraint only when it is made of real constraint parts (operators, versions, `*`, `x`, `dev-*`, `latest`) joined by a space, a comma or `|`/`||`. Importmap package names follow the NPM name rule, with an optional path. The NPM name rule no longer accepts a leading `-` or a character between `9` and `~`, which the previous character range allowed by mistake. `ux:install` also escapes the console markup in the suggested commands and shell-quotes the arguments that need it, such as `>=1.2 <2.0`. All first-party kit manifests still load. Merge-up to 3.x: the dependencies are parsed by `DependencyParser` instead of `RecipeManifest::fromJson()`. It builds the same `ConstraintVersion` and `ImportmapPackageDependency` objects, so the checks in their constructors carry over. Apply the `formatPackages()` change to the 3.x `InstallCommand`, add `: void` to the new test methods, and move the CHANGELOG line under the unreleased 3.x version. Not run on 3.x.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recipe dependencies are only checked for their package name. The version constraint of a Composer or NPM dependency, and the name of an Importmap package, accept any string, and they are printed as is in the "Next steps" commands of
ux:install.The manifest validation now accepts a version constraint only when it is made of real constraint parts (operators, versions,
*,x,dev-*,latest) joined by a space, a comma or|/||. Importmap package names follow the NPM name rule, with an optional path. The NPM name rule no longer accepts a leading-or a character between9and~, which the previous character range allowed by mistake.ux:installalso escapes the console markup in the suggested commands and shell-quotes the arguments that need it, such as>=1.2 <2.0. All first-party kit manifests still load.Merge-up to 3.x: the dependencies are parsed by
DependencyParserinstead ofRecipeManifest::fromJson(). It builds the sameConstraintVersionandImportmapPackageDependencyobjects, so the checks in their constructors carry over. Apply theformatPackages()change to the 3.xInstallCommand, add: voidto the new test methods, and move the CHANGELOG line under the unreleased 3.x version. Not run on 3.x.