Skip to content

chore: version packages - #78

Merged
Bre77 merged 1 commit into
mainfrom
changeset-release/main
Oct 30, 2026
Merged

Bre77 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@teslemetry/[email protected]

Major Changes

  • b9fbbd3: Add energy-device registration types and Signatures.SessionInfoFlags, give nine energy_device int32 fields their enum types, make PartnerInfo.site_relationship_type repeated, and correct field and type names in command and energy_device.

    Added (wire- and JSON-compatible):

    • energy_device enums MarketType, RegistrationFailure, SiteRegistrationStatus and BranchCircuitDeviceType.
    • Enum values TEGDeviceType 11 TULIP, 12 DYNAMO and 13 SMC_SUPERCHARGER, IPMDeviceType 3 MEGACHARGER and RegistrationDeviceType 7 OPTIMUS_CHARGER.
    • Fields RegistrationRequest.market_type (12), RegistrationRequest.potential_site_uuid (13) and DeviceDetail.teg_device_type (4).
    • Messages DeviceInfo, AssetSiteDetailsRequest, AssetSiteUuidOfDeviceRequest, CustomerRegistrationInfo, DeactivateDeviceResponse, SiteInfo, RegistrationRequestWithPartDetails and WCCommercialRegistrationRequestWithPartDetails.
    • command enum Signatures.SessionInfoFlags, which names the bit positions in SessionInfo.flags.

    Breaking: int32 fields now have enum types. The tags and the wire bytes are the same. Generated code uses the enum types, and JSON output shows enum names instead of numbers:

    Message Field New type
    CommonAPIRegisterResponse failure (1) RegistrationFailure
    RegistrationAPIRegisterResponse failure (1) RegistrationFailure
    CommercialChargingDeviceProperties power_type (9) PowerType
    CommercialChargingDeviceProperties connector_type (10) ConnectorType
    SystemUpdate handshake_result (1) UpdateHandshakeResult
    SystemUpdate update_status (2) UpdateStatus
    SystemUpdate last_update_result (8) LastUpdateResult
    CommonAPIConfigureWifiWithEncryptedPasswordResponse result (3) WifiConfigureResult
    CommonAPIGetCellularInfoResponse supported_profiles (2) repeated CellularProfileType

    Breaking: PartnerInfo.site_relationship_type (2) is now repeated RegistrationSiteRelationshipType. The wire tag is the same. Generated code and JSON now use a list.

    Breaking: names change. The tags and the wire bytes are the same:

    Symbol Before After JSON name changes
    Errors.NominalError field 8 keyNotFoundContext keyNotFound, in oneof context yes
    Errors.KeyNotFoundContext field 1 public_key publicKey, in oneof key no
    Errors.KeyNotFoundContext field 2 handle slot, in oneof key yes
    VCSEC.VehicleStatus field 6 uiDesire UIDesire yes
    energy_device enum iPMDeviceType IPMDeviceType no
    EncryptedMessage field 2 cipher_text ciphertext yes
    GridComplianceStatus field 2 qualifiying_time_remaining_s qualifying_time_remaining_s yes
    WifiNetwork field 2 rssiValue rssi_value no
    WifiNetwork field 4 securityType security_type no
  • 2c45a2f: Correct energy_device wire types, enum types, oneofs and names, add the WMSA, SM, energy telemetry and energy command envelope types, model a large part of the VCSEC surface, retype the navigation trip order, and reserve obsolete vehicle-data tags.

    Added (wire- and JSON-compatible):

    • energy_device files wmsa_api.proto and sm_api.proto (20 messages, 3 enums), with MessageEnvelope.wmsa (13) and MessageEnvelope.sm (14) added as deprecated fields.
    • energy_device file energy_telemetry.proto (package tesla.proto.energy_telemetry.v1): LogRecord, Signal, MP2LogRecord, DeviceTelemetryRecord and DeviceAlertRecord.
    • energy_device file energy_command.proto (package tesla.proto.energy.command.v1): EnergyDeviceMessage, ServerMessages and DeviceResponseTimeout.
    • energy_device enums TEGRegistrationFailure, DcMeterCommissioningError and MeterCTLocation.
    • command VCSEC: 59 messages, 41 enums and 39 new oneof alternatives on UnsignedMessage, FromVCSECMessage and WhitelistOperation, plus SignedMessage fields 1, 4, 5 and 6 and ToVCSECMessage.unsignedMessage (2).
    • command: 155 tags reserved in ChargeState, ClimateState, VehicleConfig, ClosuresState, LocationState, SoftwareUpdateState, SpeedLimitMode, DriveState, GuiSettings, VehicleState and other messages, for fields that are obsolete.

    Breaking: the energy_command group is removed. IdentifierType moves from proto/energy_command/identifier_type.proto to proto/energy_device/identifier_type.proto. Its package (tesla.proto.energy.command.v1) does not change. Import it from @teslemetry/tesla-protocol/energy_device/identifier_type and tesla_protocol.energy_device.identifier_type_pb2.

    Breaking: LocalParticipant moves from transport.proto to local_auth_api.proto. The package and values do not change. Import it from energy_device/local_auth_api and local_auth_api_pb2.

    Breaking: wire types change. The old types did not match what devices send:

    Message Field Before After
    AlertLog data (1) uint64 fixed64
    AlertMatrix data (1) uint64 fixed64
    GridComplianceStatus qualifying_time_remaining_s (2) google.protobuf.FloatValue google.protobuf.UInt32Value
    WCAPIGetConfigResponse charge_schedule (5) WCChargeScheduleConfig WCChargeScheduleConfigStatus
    ControllableDeviceProgram_Schedule start (1), end (2), expiry (3) google.protobuf.Timestamp ControllableDeviceProgram_Schedule_Boundary

    Breaking: WCLifetimeStats is renumbered. Its ten fields move from tags 3-12 to tags 1-10 in the same order (uptime_s = 1 through charging_energy = 10). Tags 1 and 2 are no longer reserved.

    Breaking: int32 fields now have enum types. The tags and the wire bytes are the same. Generated code uses the enum types, and JSON output shows enum names instead of numbers:

    Message Field New type
    TEGAPIRegisterResponse failure (1) RegistrationFailure
    WCAPIRegisterCommercialResponse failure (1) RegistrationFailure
    LocalAuthAPILoginRequest participant (1) LocalParticipant
    NeurioCTConfig location (1) MeterCTLocation
    SuperchargerAPIGetDcMetersCommissioningResponse error (2) DcMeterCommissioningError
    CarServer.NavigationRequest order (2) RemoteNavTripOrder_E

    Breaking: the navigation trip order enum is replaced. The three nested RemoteNavTripOrder enums (REMOTE_NAV_TRIP_ORDER_UNKNOWN = 0, REPLACE = 1, PREPEND = 2, APPEND = 3) in NavigationSuperchargerRequest, NavigationGpsRequest and NavigationGpsDestinationRequest are deleted. The new top-level CarServer.RemoteNavTripOrder_E has RemoteNavTripOrderReplace = 0, RemoteNavTripOrderPrepend = 1 and RemoteNavTripOrderAppend = 2, and types NavigationRequest.order, NavigationSuperchargerRequest.remote_nav_trip_order, NavigationGpsRequest.order and NavigationGpsDestinationRequest.order. The numbers change: a sender that used 1 for replace must now send 0.

    Breaking: fields move into oneofs. The tags and the wire bytes are the same. Generated code exposes them through the oneof:

    Message Oneof
    AcceptedPackage sideloading_method
    CommonMessages message (now includes error_response = 1)
    FileStoreAPIFile content
    PVMeterInterface meter_interface
    WCMeterInterface meter_interface
    TEGAPIDispatchBatteryPowerRequest command
    TEGAPIEnsureCertificateRequest certificate_type
    WCDryContactConfig control_behavior
    WCLoadSharingConfig network_limit
    WCLoadSharingSettings network_limit
    DeviceInfo device_sub_type

    Breaking: names change. The tags and the wire bytes are the same:

    Symbol Before After
    BackupEvent field 3 sheduling_info scheduling_info
    EcuFirmwareUpdateInProgress field 1 default node_progresses
    EcuFirmwareUpdateResult field 2 default ecu_update_results

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a60802db-b8ec-4189-b3f4-3f991952337f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from ad6c592 to e57f5b5 Compare October 30, 2026 01:15
@Bre77
Bre77 merged commit eb8b39b into main Oct 30, 2026
5 checks passed
@Bre77
Bre77 deleted the changeset-release/main branch October 30, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant