SDK refresh: ObjectModel 11.118.421 + .NET 10 (v3.0.0)#5
Merged
Conversation
Also fix CaroKann to filter out explicit interface implementation members (property names containing '.') which the new OM introduced on InspectionLog and would otherwise generate invalid TypeScript.
OM11.118.421 added StoreForward/FaultState which clashes with Checkmate/ObjectModel/Engine/FaultState in the index.ts barrel. TS 4.7 rejects ambiguous `export *` when two modules share a name. Fix WriteIndex() in Program.cs to detect export-name collisions via regex, then emit explicit aliased re-exports for conflicting paths (StoreForward/FaultState → StoreForwardFaultState). The Engine FaultState keeps its original name. Re-run build:types to produce the corrected index.ts; also commits the docs/ regeneration that accompanied the full build step.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major SDK refresh ahead of consumer migration. Bumps the generated Geotab
ObjectModelto the newest stable and retargets the CaroKann type generator to current-LTS .NET.net6.0→net10.0Geotab.Checkmate.ObjectModel10.0.0-preview1→11.118.421Reinforced.Typings1.6.1→1.6.7src/types/**from the new ObjectModelpublish.yamlCI now installs .NET 10Semver: 3.0.0 (breaking)
20 public type exports removed (absent from OM 11) + ~24 property/type changes on surviving interfaces. Full list in
CHANGELOG.md.Generator fixes (2)
.WithAllProperties()→.WithProperties(p => !p.Name.Contains('.'))FaultStatevs new StoreForwardFaultState):WriteIndex()now emits aliased re-exports →StoreForwardFaultStateVerification
tsc --noEmitclean under TS 4.7 strictpnpm buildsucceeds; generator output deterministicNotes
Device.licensePlateintentionally NOT added (not a property of the baseDeviceentity).WriteIndexfail-loud guard for latent multi-export drop; deprecated GH Actions bumps (codecov@v4 token caution).Merging to
maintriggerspublish.yaml→ publishes@fairfleet/geotab@3.0.0to npm + tags.