Uh oh!
There was an error while loading. Please reload this page.
Update dependency nette/utils to v4 - #217
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovateBotforce-pushed
the
renovate/nette-utils-4.x
branch
from
August 4, 2026 13:56
31fda83 to
f7c7946Compare
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 freeto 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.
This PR contains the following updates:
^3.2.5→^4.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
nette/utils (nette/utils)
v4.1.5: Released version 4.1.5Compare Source
This release adds an immutable date/time class, makes file writes safer, background processes possible, and Finder masks smarter. Plus a couple of bug fixes worth picking up.
✨ New Features
Nette\Utils\DateTime. It extends PHP's\DateTimeImmutablewith strict validation (invalid dates and times throw instead of being silently rolled over), convenient factoriesfrom()andfromParts(), DST-safe relative modifications, and JSON serialization.Processobject is destroyed, instead of being killed by the destructor. Output must go to a file or be discarded, since nobody reads the pipes after detaching.stream_select().addHtml(), plain strings are escaped by default and nulls are skipped.fromText()andfromHtml(), which are now deprecated.**/footogether within()searches recursively, and the**short form expands like in zsh, sotest/**meanstest/**/*and**.cmeans**/*.c(previously such masks silently degraded to a single*).find()mask matches directories only:find('temp/').find():**.txtworks,./anchors to the search root, and a trailing/,/*or/**controls whether the directory itself, its contents, or both are excluded.🐛 Bug Fixes
http://999.1.1.1no longer passes as a valid URL.mbstringnoriconvis available no longer relies on the deprecatedutf8_decode(), so it stays quiet on PHP 8.2+.exclude('subdir/')silently excluded nothing due to a greedy regex; the trailing/,/*and/**variants now work as documented.v4.1.4: Released version 4.1.4Compare Source
Process::runExecutable()passes arguments as an array so there's zero shell involvement and no risk of shell injection, whileProcess::runCommand()is there when you really do want the shell. Comes with timeouts, incremental output consumption (consumeStdOutput()/consumeStdError()), and works on Windows too.CONorLPT1.$warningsparameter – pass it in and any GD warnings are handed back to you as a string instead of being emitted as a PHP warning, so you can log or display them on your own terms.v4.1.3: Released version 4.1.3Compare Source
A maintenance release focused on code quality: stricter types, better PHPDoc annotations, and PHPStan now runs as a mandatory CI check. No breaking changes.
v4.1.1: Released version 4.1.1Compare Source
v4.1.0: Released version 4.1.0Compare Source
v4.0.10: Released version 4.0.10Compare Source
Type::with()Type::fromValue()Helpers::splitClassName()Iterables::repeatable()is_file()does not work with symlinks under Windowsv4.0.9: Released version 4.0.9Compare Source
support for PHP 8.5
v4.0.8: Released version 4.0.8Compare Source
Strings::trim()trims Line Separator and Ideographic Space (#326)DateTime::relativeToSeconds()checks for errorv4.0.7: Released version 4.0.7Compare Source
modify()correctly handle the relative time even if the daylight saving time is changedrelativeToSeconds()for converting relative time string to secondsv4.0.6: Released version 4.0.6Compare Source
FileSystem::resolvePath()#308v4.0.5: Released version 4.0.5Compare Source
Strings::matchAll(): added option 'lazy'Arrays::mapWithKeys()&Iterables::mapWithKeys()Iterables::memoize()&toIterator()v4.0.4: Released version 4.0.4Compare Source
IterablesArrays::firstKey(),lastKey()Arrays::filter()Arrays::first()&last(): added parameter $elseArrays::first()&last(): added parameter $predicate #305Image::getSupportedTypes()Strings::trim()trims unicode spaces and ZWSP (#304)v4.0.3: Released version 4.0.3Compare Source
Image::rgb()Image::rectangleWH(),filledRectangleWH(),calculateTextBox()v4.0.2: Released version 4.0.2Compare Source
Strings::length()uses mbstring, iconv and then utf8_decode #299getType()replaced withisDir()/isFile()some(),every()andmap()(#298)v4.0.1: Released version 4.0.1Compare Source
Image::isTypeSupported()collect()returns listCallback::unwrap()returns correct class name for private methodsv4.0.0: Released version 4.0.0 🥳Compare Source
new methods:
new parameters:
removed
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.