Repository navigation
Update dependency nette/neon to v4 - #88
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/nette-neon-4.x
branch
from
October 26, 2026 06:28
4081d15 to
1626770
Compare
| datasource | package | from | to | | ---------- | ---------- | ------ | ----- | | packagist | nette/neon | 3.4.10 | 4.0.0 |
renovate
Bot
force-pushed
the
renovate/nette-neon-4.x
branch
from
October 27, 2026 01:40
1626770 to
17c1c4d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #88 +/- ##
=========================================
Coverage 97.92% 97.92%
Complexity 149 149
=========================================
Files 15 15
Lines 337 337
=========================================
Hits 330 330
Misses 7 7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
This PR contains the following updates:
^3.4.10→^4.0.0Release Notes
nette/neon
v4.0.0: Released version 4.0.0Compare Source
NEON 4 parses a file into a lossless syntax tree in which every comment and every space has its place, so you can edit a configuration and the diff shows only your change. Decoding and encoding stay as they were:
Neon::decode()gives the same values as 3.4.✨ New Features
Neon::parse($text)->print() === $textholds for any input NEON acceptssetValue(),addItem()andremoveItem()change only the tokens they edit:0x0CEAstays hexadecimal,yesbecomesno, a new key is indented like its siblings, and a removed item takes its comment along. A refused edit changes nothing at all, so installers, admin panels and AI agents can rewriteconfig.neonsafelyfind(),findAncestor(), siblings, and a public Traverser that can replace and remove nodes on the walk$blockModeto decide per array whether it is written as a block, e.g.fn($v, $path) => !$pathfor the first level only, and writes floats in the shortest form that reads back exactlygetDescription()--jsonfor tools and--checkto verify that a file prints back byte for byte; an AI agent can run it after saving a.neonfile💥 Breaking Changes
mbstringextensionNodes\DocumentNode, and the classesDecoder,Node\*and the oldTraverserare gone. Code that walked the old nodes moves to the new tree, see examples/treeNette\Neon\Exceptionfor a string that is not valid UTF-8 instead of replacing it with U+FFFD; its errors now name the path to the value--debugis gone, and a failure of the tool itself exits with 2Neon::BLOCKandNeon::CHAINare deprecated, useblockMode: trueandNeon::ChainConfiguration
📅 Schedule: (UTC)
🚦 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.
Config source: https://github.com/Slamdunk/.github/blob/main/renovate-config.json