Release v2.0.0: SDK modernization and consumer compatibility gates - #36
Merged
Conversation
…ders, and inspections Adds first-class stores and resources for the FleetOps v1 endpoints the Navigator driver app reaches through the raw adapter: manifests (optimize, drivers.manifests), manifest-stops (PATCH update), trailers (CRUD, attach, detach, connections, track, vehicles.trailers), fuel-reports, issues, work-orders (send), inspection-forms and inspections (vehicles.inspections), and the driver change/forgot/reset password actions. All additions are additive.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #36 +/- ##
========================================
Coverage ? 100.00%
========================================
Files ? 17
Lines ? 866
Branches ? 144
========================================
Hits ? 866
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
feat: add released driver stores with verified response contracts
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
Modernize the official JavaScript/TypeScript SDK on
release/v2.0.0, preserving the v1 consumer contract. This draft supersedes historical PR #33, closed by the release-branch rename. The default branch is nowmain; this PR remains unmerged.Merging this release PR into main authorizes automatic tagging, npm publication, and GitHub release creation. npm authentication uses the existing
NPM_AUTH_TOKEN, matching the other Fleetbase modules; no trusted-publisher registration is required.Completed fixes
bodyand plain API GeoJSON driver coordinates.release.yml: a mergedrelease/v*PR into main validates the exact reviewed merge commit, creates its annotated tag, publishes the SDK with provenance, verifies registry checksums and clean consumers, and creates a GitHub release with evidence.NPM_AUTH_TOKEN, supplied to npm asNODE_AUTH_TOKENonly in credential preflight and publication steps. A missing secret fails before tagging; provenance and exact artifact verification remain enabled.Verification
PR #35 remains a separate reviewable change for released driver stores; its response handling and root exports are fixed on its own branch, with unreleased inspection APIs deferred. It is not merged here.
Remaining owner gates before merge
CI successandCodeQLchecks.NPM_AUTH_TOKENis available tofleetbase-jsand authorized for@fleetbase/sdk. Organization-secret access could not be inspected with the current GitHub permissions; this is not evidence that the secret is missing. No new npm trusted-publisher registration or per-release approval is required.No application source changes, PR merge, release tag, or npm publication were performed. See
docs/releasing.mdfor automatic release and recovery instructions, anddocs/consumer-compatibility-review.mdfor historical failures, fixes, exact revisions, and acceptance limits.