Skip to content

feat(developer): kmc emit hint if project file is old version 🦕#10158

Merged
mcdurdin merged 1 commit intomasterfrom
feat/developer/10147-hint-if-old-project-file-version
Dec 11, 2023
Merged

feat(developer): kmc emit hint if project file is old version 🦕#10158
mcdurdin merged 1 commit intomasterfrom
feat/developer/10147-hint-if-old-project-file-version

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin commented Dec 6, 2023

@mcdurdin mcdurdin requested a review from darcywong00 as a code owner December 6, 2023 07:01
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Dec 6, 2023

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S27 milestone Dec 6, 2023
@mcdurdin mcdurdin changed the title feat(developer): kmc emit hint if project file is old version feat(developer): kmc emit hint if project file is old version 🦕 Dec 6, 2023
}

// Give a hint if the project is v1.0
if(this.project.options.version != '2.0') {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wouldn't a version comparison (< 2.0) future-proof this check?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Perhaps, but we'll need to revisit all this anyway if we want to upgrade project file versions again, and we may want to do something different for that case.

Copy link
Copy Markdown
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

@mcdurdin mcdurdin modified the milestones: A17S27, A17S28 Dec 8, 2023
@mcdurdin mcdurdin merged commit a63070d into master Dec 11, 2023
@mcdurdin mcdurdin deleted the feat/developer/10147-hint-if-old-project-file-version branch December 11, 2023 14:12
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.228-alpha

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.

feat(developer): Add lint hint to kmc when compiling v1.0 project recommending upgrade

3 participants