NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #85 most downloaded on Packagist
🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Last release 2 months ago
17 Jul 2026
Release timing varies
gaps range from 3 weeks to 8 months
Rarely documented
notes for 9 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
77 releases · first in 2014
Html::text() and Html::html() – new static factories replacing fromText() and fromHtml() , which are now deprecated.
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.
Nette\Utils\DateTime. It extends PHP's \DateTimeImmutable with strict validation (invalid dates and times throw instead of being silently rolled over), convenient factories from() and fromParts(), DST-safe relative modifications, and JSON serialization.Process object 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() and fromHtml(), which are now deprecated.**/foo together with in() searches recursively, and the ** short form expands like in zsh, so test/** means test/**/* and **.c means **/*.c (previously such masks silently degraded to a single *).find() mask matches directories only: find('temp/').find(): **.txt works, ./ anchors to the search root, and a trailing /, /* or /** controls whether the directory itself, its contents, or both are excluded.http://999.1.1.1 no longer passes as a valid URL.mbstring nor iconv is available no longer relies on the deprecated utf8_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.One column per quarter.
Process – a new class for starting and controlling external processes: read their output, feed them input, pipe one process into another, wait for com
Process::runExecutable() passes arguments as an array so there's zero shell involvement and no risk of shell injection, while Process::runCommand() is there when you really do want the shell. Comes with timeouts, incremental output consumption (consumeStdOutput() / consumeStdError()), and works on Windows too.CON or LPT1.$warnings parameter – 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.…and PHPStan now runs as a mandatory CI check. No breaking changes.
A maintenance release focused on code quality: stricter types, better PHPDoc annotations, and PHPStan now runs as a mandatory CI check. No breaking changes.
Html::addText() accepts int|null for back compatibility [Closes #332 ][Closes #333 ]
DateTime: strict behavior (BC break)
added Helpers::splitClassName()
Type::with()Type::fromValue()Helpers::splitClassName()Iterables::repeatable()is_file() does not work with symlinks under WindowsNothing published for this version
Strings::trim() trims Line Separator and Ideographic Space
DateTime: constructor and modify() correctly handle the relative time even if the daylight saving time is changed
modify() correctly handle the relative time even if the daylight saving time is changedrelativeToSeconds() for converting relative time string to secondsImage: catches all errors during saving
FileSystem::resolvePath() #308Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →