Skip to content

Releases

Released version 2.1.0

Choose a tag to compare

@dg dg released this 15 Nov 21:13
  • nette-caching knows nette/caching 4.0: the Dependencies object, clean(tags: …) with named arguments, RedisStorage and Psr16Storage, and which storage supports which dependency.
  • neon-format knows nette/neon 4.0. Your agent now changes a NEON file through Neon::parse() instead of decoding and re-encoding it, so comments, formatting and number styles stay intact. It also knows the new neon-lint options and where NEON differs from YAML (on/off, 0777, 1_000).
  • nette-schema covers nette/schema 1.4: Expect::enum(), Expect::tuple(), listOf(wrap: true), merge modes for layered configuration and the export to JSON Schema, plus the 1.4 deprecations to avoid.
  • nette-tester helps your agent write tests that can actually fail. It lists the typical weak assertions and how to replace them, and explains how to safely accept a new expected file from .actual.
  • The bundled documentation is refreshed and now includes the new pages on schema types, validation and merging, cache expiration and storages, ACL, and editing NEON files.

Released version 2.0.0

Choose a tag to compare

@dg dg released this 25 Oct 16:30

The php-fixer plugin now formats PHP with DressCode instead of nette/coding-standard. It follows your project's configuration, keeps the style of the file being edited, and tells the agent exactly what it changed. All four plugins move to 2.0.0 together; only php-fixer has breaking changes.

💥 Breaking Changes

  • php-fixer needs DressCode 1.3 or newer, which runs on PHP 8.4+. Nothing stops working after the update: until DressCode is installed, the hook keeps formatting with nette/coding-standard, and the agent offers the new migrate-to-dresscode skill, which installs DressCode, writes a dresscode.neon and shows what the new standard would change.
  • php-fixer no longer reads the fix-php-style section of .nette-claude.json; move its exclusions to excludePaths in dresscode.neon. The lint hooks of nette-lint keep using .nette-claude.json.

✨ New Features

  • Project configuration – the fixer runs with the nearest dresscode.neon, the same configuration your CI checks, and uses the Nette coding standard without one. A DressCode installed in the project wins over the global one, so its rule packages and PHPStan apply.
  • The file's own style – editing a file that is not yet up to the standard no longer reformats all of it: what the file already broke stays as written, and the agent is told to follow the file's style there.
  • Clear reports – after a rewrite the agent gets the diff and the imports removed, and the violations left on the lines it edited, each with what to do about it; those elsewhere in the file are only counted.
  • Made for editing – dump() and other debugging calls stay, a new file gets declare(strict_types=1) when the standard asks for it, and scratch scripts outside any PHP project are left alone.
  • install-php-fixer installs DressCode globally together with PHPStan, or into the project when it uses PHPStan, and offers to create dresscode.neon.
  • php-coding-standards follows the Nette coding standard as DressCode checks it, with one form for the comments that justify @, == and != (// @ file may not exist, // intentionally ==).
  • The bundled documentation is refreshed, including the new nette/command-line pages on arguments and terminal output, linked from nette-command-line.

Released version 1.4.0

Choose a tag to compare

@dg dg released this 25 Oct 16:37
  • Bundled documentation – nette and nette-dev carry the pages of the Nette documentation their skills need, as Markdown, and every skill ends with an index of them. The agent reads the real documentation, offline, instead of abridged references.
  • New nette-command-line skill for nette/command-line 2.0, with a step-by-step upgrade from 1.x
  • New nette-php-generator skill for generating PHP code with nette/php-generator

Released version 1.3.0

Choose a tag to compare

@dg dg released this 25 Oct 16:37
  • Codex support – the same plugins install in Codex with codex plugin marketplace add nette/agent-plugins, and the hooks check every file an apply_patch changes
  • The repository is renamed to nette/agent-plugins; add the marketplace under the new name

Released version 1.2.0

Choose a tag to compare

@dg dg released this 25 Oct 16:37

Every claim in the new and revised skills was checked against the library source, most of them by running the code.

  • Seven new skills for areas no skill covered: nette-security, nette-components, nette-routing, nette-http, nette-caching, nette-mail and nette-upgrading, which maps every retired name to the current one. They focus on the traps models actually fall into rather than retelling the documentation.
  • latte-templates covers the smart HTML attributes of Latte 3.1, which changed how templates print attributes
  • The existing skills are corrected and extended: the presenter lifecycle, generated factories, Sec-Fetch based CSRF protection of forms, pitfalls of Database, Tester annotations, Process in Utils, and more

Released version 1.1.2

Choose a tag to compare

@dg dg released this 25 Oct 16:37
  • The hooks find the project's tools (latte-lint, neon-lint, the ESLint configuration) upwards from the edited file, so they work in monorepos and in sessions started above the application; latte-lint runs on Windows without a .bat wrapper
  • Code examples in skills that failed at runtime are corrected (Utils, Latte filters, assets, Schema)

Released version 1.1.1

Choose a tag to compare

@dg dg released this 25 Oct 16:37
  • The commit-messages, php-coding-standards and php-doc skills load with their descriptions, so they activate when they should; their frontmatter was invalid

Released version 1.1.0

Choose a tag to compare

@dg dg released this 25 Oct 16:37

💥 Breaking Changes

  • The validation hooks moved out of nette into a new plugin, nette-lint; nette now carries skills only. To keep validating files after edits, run /plugin install nette-lint@nette.

✨ New Features

  • PHP files are checked for syntax errors after every edit, and the style fixer leaves a file with a syntax error alone
  • JSON files are validated with the line and column of an error; JSONC files such as tsconfig.json and .vscode/*.json may contain comments and trailing commas
  • A .nette-claude.json in the project excludes paths from any hook, such as fixtures written in a broken style on purpose

Released version 1.0.7

Choose a tag to compare

@dg dg released this 25 Oct 16:37
  • New tracy-debugging skill – Claude reads Tracy's BlueScreen, Bar and dumps when debugging a local app; with Tracy 2.12 it gets them as Markdown in the browser console
  • phpstan-analysis says what never to suppress and in what order to resolve errors, php-doc gives preferred phrases for descriptions

Released version 1.0.6

Choose a tag to compare

@dg dg released this 25 Oct 16:37
  • The PHP fixer keeps dump() and var_dump() calls, so debugging output survives while you work