Skip to content

Upgrading symfony/css-selector 7 to 8

Breakingv7.4.22 → v8.1.10Security1Platform1New1Fixed10

BreakingUpgrade verdict

A platform requirement change and a security fix.

  • This version of the package only runs on PHP 8.4 or newer.
  • This version is published as a security release.
2 items need code or config changes

PHP requirement changed in v8.1.0-BETA1: >=8.2 → >=8.4.1.

Security1
Marks this as a security release.
Platform1
Symfony 8 requires PHP 8.4 or higher.

Generated by DepDelta from published PHP source. Not mixed with prose notes.

  • added: static method SyntaxErrorException.nestedHas(): self
  • added: class RelationNode extends AbstractNode
  • added: constructor RelationNode(NodeInterface $selector, array $arguments)
  • added: method RelationNode.__toString(): string
  • added: method RelationNode.getArguments(): array
  • added: method RelationNode.getSelector(): NodeInterface
  • added: method RelationNode.getSpecificity(): Specificity
  • added: method Translator.addRelativeCombination(string $combiner, NodeInterface $xpath, NodeInterface $combinedXpath): XPathExpr
  • added: class RelationExtension extends AbstractExtension
  • added: method AbstractExtension.getRelativeCombinationTranslators(): array
  • added: method ExtensionInterface.getRelativeCombinationTranslators(): array
  • added: method NodeExtension.translateRelation(Node\RelationNode $node, Translator $translator): XPathExpr
  • added: method RelationExtension.getName(): string
  • added: method RelationExtension.getRelativeCombinationTranslators(): array
  • added: method RelationExtension.translateRelationChild(XPathExpr $xpath, XPathExpr $combinedXpath): XPathExpr
  • added: method RelationExtension.translateRelationDescendant(XPathExpr $xpath, XPathExpr $combinedXpath): XPathExpr
  • added: method RelationExtension.translateRelationDirectAdjacent(XPathExpr $xpath, XPathExpr $combinedXpath): XPathExpr
  • added: method RelationExtension.translateRelationIndirectAdjacent(XPathExpr $xpath, XPathExpr $combinedXpath): XPathExpr