Skip to content

refactor: allow versions without PATCH included#421

Merged
macintoshpie merged 2 commits intodevelop-v2from
refactor/v2-schema-version
Dec 3, 2021
Merged

refactor: allow versions without PATCH included#421
macintoshpie merged 2 commits intodevelop-v2from
refactor/v2-schema-version

Conversation

@macintoshpie
Copy link
Copy Markdown
Contributor

Any background context you want to provide?

The root BuildingSync element has an @version attribute allowing users to specify the version of their document. We have been writing the full version, MAJOR.MINOR.PATCH, as the choices. This is not compatible with creating patch releases though -- since the x.x.0 version was already released, it will consider any new patch version to be invalid according to that schema.

⚠️ From now on, we should only add these MAJOR.MINOR versions!

What does this PR do?

  • Use MAJOR.MINOR versions when specifying versions (but allow the old MAJOR.MINOR.PATCH to stick around)

How should this be manually tested?

What are the relevant tickets?

#414

Screenshots (if appropriate)

Copy link
Copy Markdown
Contributor

@JieXiong9119 JieXiong9119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and neat!

Copy link
Copy Markdown
Contributor

@Ryoken Ryoken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and easy!

Copy link
Copy Markdown
Contributor

@markborkum markborkum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, thanks.

Copy link
Copy Markdown
Member

@nllong nllong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks stellar!

@macintoshpie macintoshpie merged commit dfee59d into develop-v2 Dec 3, 2021
@macintoshpie macintoshpie deleted the refactor/v2-schema-version branch December 3, 2021 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Non-breaking Change Schema: General General update to BuildingSync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants