Skip to content

Conversation

@emmiegit
Copy link
Member

@emmiegit emmiegit commented May 3, 2025

Blocker for scpwiki/wikijump#2354. While developing hosted text blocks in Wikijump, I noticed that I had added a parser error for this case, which means that the revision creation actually succeeds (since parser errors, previously called warnings, do not fail revision commit).

So now the responsibility for data uniqueness is on the consumer, who can do with code block names as they wish. In the case of deepwell, it can fail the revision or remove the duplicate name, or whatever it decides is best.

With this change, this PR also bumps the version number to v1.31.0.

emmiegit added 2 commits May 3, 2025 00:28
This is now the responsibility of anyone consuming the syntax tree,
not the parser. This will parse any such blocks just fine.
(If they're valid syntax they are valid, after all.)
This removes a parsing error, so we can't just do a patch version bump.
@emmiegit emmiegit requested a review from Zokhoi May 3, 2025 04:32
@emmiegit emmiegit self-assigned this May 3, 2025
@emmiegit emmiegit enabled auto-merge May 3, 2025 04:49
@emmiegit emmiegit merged commit 1dd2d71 into main May 3, 2025
6 checks passed
@emmiegit emmiegit deleted the WJ-1224-multiple-code-name branch May 3, 2025 05:13
emmiegit added a commit to scpwiki/wikijump that referenced this pull request May 4, 2025
emmiegit added a commit to scpwiki/wikijump that referenced this pull request May 4, 2025
emmiegit added a commit to scpwiki/wikijump that referenced this pull request May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants