Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Conversation

@jaymeh
Copy link
Contributor

@jaymeh jaymeh commented Jun 23, 2025

By adding this to all newly generated blocks we now have the options of knowing which vwersion was used to generate each block. This could help in future when breaking changes are introduced as we have a universal way of targeting blocks and knowing which versions they were created using. This will allow us to build more specific rules.

closes #55

jaymeh added 5 commits June 23, 2025 13:00
By adding this to all newly generated blocks we now have the options of knowing which vwersion was used to generate each block. This could help in future when breaking changes are introduced as we have a universal way of targeting blocks and knowing which versions they were created using. This will allow us to build more specific rules.
# Conflicts:
#	commands/class-make-block-command.php
#	commands/stubs/class-block.php
@jaymeh jaymeh changed the title Adds a new @version docblock to all newly generated blocks Adds a new @wordpress-block-version docblock to all newly generated blocks Jul 17, 2025
@jaymeh jaymeh merged commit 020a506 into 1.x Jul 17, 2025
3 checks passed
@jaymeh jaymeh deleted the feature/block_version_generation branch July 17, 2025 15:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adds docblock to top of generate blocks

2 participants