Skip to content

Encode since tag as string in yaml definition files#567

Merged
ihsandemir merged 2 commits intohazelcast:masterfrom
ihsandemir:sinceTagFix
Jan 22, 2026
Merged

Encode since tag as string in yaml definition files#567
ihsandemir merged 2 commits intohazelcast:masterfrom
ihsandemir:sinceTagFix

Conversation

@ihsandemir
Copy link
Copy Markdown
Collaborator

@ihsandemir ihsandemir commented Jan 21, 2026

Fix for since tag usage. We need to encode it as string in yaml file, otherwise the yaml parser by default parses it as float and for example 2.10 is treated as 2.1, hence it results in incorrect versions.

Surrounding the version with double quotes lets the yaml parser treat it as a string as expected by our generator.

I did find replace using regex.
replaced
since\: (\d+\.\d+\.\d+)
with
since\: "$1"

and replaced
since\: (\d+\.\d*)
with
since\: "$1"

doc update PR at here

… otherwise the yaml parser by default parses it as float and for example 2.10 is treated as 2.1, hence it results in incorrect versions.

Surrounding the version with double quotes lets the yaml parser treat it as a string as expected by our generator.
@ihsandemir ihsandemir enabled auto-merge (squash) January 22, 2026 08:48
@ihsandemir ihsandemir merged commit 862a230 into hazelcast:master Jan 22, 2026
8 checks passed
@ihsandemir ihsandemir deleted the sinceTagFix branch January 22, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants