Upgrading symfony/css-selector 5 to 6
Unknownv5.4.45 → v6.4.49Security1Fixed4
Fetching 40 releases from GitHub…3 / 40
UnknownUpgrade verdict
DepDelta is still reading the notes for 37 of 40 releases, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act 1 item needs code or config changes
PHP requirement changed in v6.1.0-BETA1: >=7.2.5 → >=8.1.
Drops symfony/polyfill-php80.
What you must change
Security1
Marks this as a security release.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- changed:
method CssSelectorConverter.toXPath(string $cssExpr, string $prefix = …) → method CssSelectorConverter.toXPath(string $cssExpr, string $prefix = …): string - added:
static property CssSelectorConverter.maxCachedItems: int
- changed:
static method SyntaxErrorException.nestedNot() → static method SyntaxErrorException.nestedNot(): self - changed:
static method SyntaxErrorException.pseudoElementFound(string $pseudoElement, string $unexpectedLocation) → static method SyntaxErrorException.pseudoElementFound(string $pseudoElement, string $unexpectedLocation): self - changed:
static method SyntaxErrorException.stringAsFunctionArgument() → static method SyntaxErrorException.stringAsFunctionArgument(): self - changed:
static method SyntaxErrorException.unclosedString(int $position) → static method SyntaxErrorException.unclosedString(int $position): self - changed:
static method SyntaxErrorException.unexpectedToken(string $expectedValue, Token $foundToken) → static method SyntaxErrorException.unexpectedToken(string $expectedValue, Token $foundToken): self - added:
static method SyntaxErrorException.notAtTheStartOfASelector(string $pseudoElement): self
- removed:
method NodeInterface.__toString(): string - changed:
interface NodeInterface → interface NodeInterface extends \Stringable
- changed:
method Reader.findPattern(string $pattern) → method Reader.findPattern(string $pattern): array|false - changed:
method Reader.getOffset(string $string) → method Reader.getOffset(string $string): int|bool - changed:
method Reader.moveForward(int $length) → method Reader.moveForward(int $length): void - changed:
method Reader.moveToEnd() → method Reader.moveToEnd(): void - changed:
method TokenStream.freeze(): self → method TokenStream.freeze(): static - changed:
method TokenStream.push(Token $token): self → method TokenStream.push(Token $token): static - changed:
method TokenStream.skipWhitespace() → method TokenStream.skipWhitespace(): void
- changed:
method Translator.registerExtension(Extension\ExtensionInterface $extension): self → method Translator.registerExtension(Extension\ExtensionInterface $extension): static - changed:
method Translator.registerParserShortcut(ParserInterface $shortcut): self → method Translator.registerParserShortcut(ParserInterface $shortcut): static - changed:
method XPathExpr.addCondition(string $condition): self → method XPathExpr.addCondition(string $condition): static - changed:
method XPathExpr.addNameTest(): self → method XPathExpr.addNameTest(): static - changed:
method XPathExpr.addStarPrefix(): self → method XPathExpr.addStarPrefix(): static - changed:
method XPathExpr.join(string $combiner, self $expr): self → method XPathExpr.join(string $combiner, self $expr): static - added:
static method XPathExpr.positionsToSiblings(string $condition, string $element): string
- changed:
method NodeExtension.setFlag(int $flag, bool $on): self → method NodeExtension.setFlag(int $flag, bool $on): static - added:
method PseudoClassExtension.translateScopePseudo(XPathExpr $xpath): XPathExpr