Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(web): move model/types to web/types 🏗️ #12370

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

ermshiperete
Copy link
Contributor

@ermshiperete ermshiperete commented Sep 6, 2024

Part-of: #12133

@keymanapp-test-bot skip

@ermshiperete ermshiperete force-pushed the refactor/web/12133_models2 branch from 0da4d57 to c3e5871 Compare September 9, 2024 17:59
@ermshiperete ermshiperete changed the base branch from master to fix/developer/ubuntu September 9, 2024 17:59
Base automatically changed from fix/developer/ubuntu to master September 10, 2024 06:45
@ermshiperete ermshiperete marked this pull request as ready for review September 10, 2024 06:47
Copy link
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

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

LGTM. This needs to be documented as a breaking change for 18.0 -- API surface has significant refactor (albeit just moving things around, nothing new)

@@ -29,3 +29,5 @@ export * as KMXPlus from './kmx/kmx-plus/kmx-plus.js';
export { UnicodeSetParser, UnicodeSet } from './ldml-keyboard/unicodeset-parser-api.js';
export { VariableParser, MarkerParser } from './ldml-keyboard/pattern-parser.js';
export { ElementString } from './kmx/kmx-plus/element-string.js';

export * from './lexical-model-types.js';
Copy link
Member

Choose a reason for hiding this comment

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

Can we enumerate all the exports here? It's busy work but it helps us be explicit about what is a supported API surface. You'll note that we do not have other top-level global exports; they are all * as xxxx.

@ermshiperete
Copy link
Contributor Author

@mcdurdin I added the change to the release notes section in the Google Doc. Does the breaking change has to be added elsewhere?

@mcdurdin
Copy link
Member

@mcdurdin I added the change to the release notes section in the Google Doc. Does the breaking change has to be added elsewhere?

That is all we need -- it'll make its way from there into the 18.0 release notes eventually

Missed a few exports in the last commit.
@ermshiperete ermshiperete merged commit 40d798d into master Sep 10, 2024
21 checks passed
@ermshiperete ermshiperete deleted the refactor/web/12133_models2 branch September 10, 2024 10:32
@keyman-server
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants