Repository navigation
chore: version packages - #78
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 30, 2026 01:15
ad6c592 to
e57f5b5
Compare
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.
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 nineenergy_deviceint32fields their enum types, makePartnerInfo.site_relationship_typerepeated, and correct field and type names incommandandenergy_device.Added (wire- and JSON-compatible):
energy_deviceenumsMarketType,RegistrationFailure,SiteRegistrationStatusandBranchCircuitDeviceType.TEGDeviceType11TULIP, 12DYNAMOand 13SMC_SUPERCHARGER,IPMDeviceType3MEGACHARGERandRegistrationDeviceType7OPTIMUS_CHARGER.RegistrationRequest.market_type(12),RegistrationRequest.potential_site_uuid(13) andDeviceDetail.teg_device_type(4).DeviceInfo,AssetSiteDetailsRequest,AssetSiteUuidOfDeviceRequest,CustomerRegistrationInfo,DeactivateDeviceResponse,SiteInfo,RegistrationRequestWithPartDetailsandWCCommercialRegistrationRequestWithPartDetails.commandenumSignatures.SessionInfoFlags, which names the bit positions inSessionInfo.flags.Breaking:
int32fields 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:CommonAPIRegisterResponsefailure(1)RegistrationFailureRegistrationAPIRegisterResponsefailure(1)RegistrationFailureCommercialChargingDevicePropertiespower_type(9)PowerTypeCommercialChargingDevicePropertiesconnector_type(10)ConnectorTypeSystemUpdatehandshake_result(1)UpdateHandshakeResultSystemUpdateupdate_status(2)UpdateStatusSystemUpdatelast_update_result(8)LastUpdateResultCommonAPIConfigureWifiWithEncryptedPasswordResponseresult(3)WifiConfigureResultCommonAPIGetCellularInfoResponsesupported_profiles(2)repeated CellularProfileTypeBreaking:
PartnerInfo.site_relationship_type(2) is nowrepeated 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:
Errors.NominalErrorfield 8keyNotFoundContextkeyNotFound, inoneof contextErrors.KeyNotFoundContextfield 1public_keypublicKey, inoneof keyErrors.KeyNotFoundContextfield 2handleslot, inoneof keyVCSEC.VehicleStatusfield 6uiDesireUIDesireenergy_deviceenumiPMDeviceTypeIPMDeviceTypeEncryptedMessagefield 2cipher_textciphertextGridComplianceStatusfield 2qualifiying_time_remaining_squalifying_time_remaining_sWifiNetworkfield 2rssiValuerssi_valueWifiNetworkfield 4securityTypesecurity_type2c45a2f: Correct
energy_devicewire 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_devicefileswmsa_api.protoandsm_api.proto(20 messages, 3 enums), withMessageEnvelope.wmsa(13) andMessageEnvelope.sm(14) added as deprecated fields.energy_devicefileenergy_telemetry.proto(packagetesla.proto.energy_telemetry.v1):LogRecord,Signal,MP2LogRecord,DeviceTelemetryRecordandDeviceAlertRecord.energy_devicefileenergy_command.proto(packagetesla.proto.energy.command.v1):EnergyDeviceMessage,ServerMessagesandDeviceResponseTimeout.energy_deviceenumsTEGRegistrationFailure,DcMeterCommissioningErrorandMeterCTLocation.commandVCSEC: 59 messages, 41 enums and 39 new oneof alternatives onUnsignedMessage,FromVCSECMessageandWhitelistOperation, plusSignedMessagefields 1, 4, 5 and 6 andToVCSECMessage.unsignedMessage(2).command: 155 tags reserved inChargeState,ClimateState,VehicleConfig,ClosuresState,LocationState,SoftwareUpdateState,SpeedLimitMode,DriveState,GuiSettings,VehicleStateand other messages, for fields that are obsolete.Breaking: the
energy_commandgroup is removed.IdentifierTypemoves fromproto/energy_command/identifier_type.prototoproto/energy_device/identifier_type.proto. Its package (tesla.proto.energy.command.v1) does not change. Import it from@teslemetry/tesla-protocol/energy_device/identifier_typeandtesla_protocol.energy_device.identifier_type_pb2.Breaking:
LocalParticipantmoves fromtransport.prototolocal_auth_api.proto. The package and values do not change. Import it fromenergy_device/local_auth_apiandlocal_auth_api_pb2.Breaking: wire types change. The old types did not match what devices send:
AlertLogdata(1)uint64fixed64AlertMatrixdata(1)uint64fixed64GridComplianceStatusqualifying_time_remaining_s(2)google.protobuf.FloatValuegoogle.protobuf.UInt32ValueWCAPIGetConfigResponsecharge_schedule(5)WCChargeScheduleConfigWCChargeScheduleConfigStatusControllableDeviceProgram_Schedulestart(1),end(2),expiry(3)google.protobuf.TimestampControllableDeviceProgram_Schedule_BoundaryBreaking:
WCLifetimeStatsis renumbered. Its ten fields move from tags 3-12 to tags 1-10 in the same order (uptime_s= 1 throughcharging_energy= 10). Tags 1 and 2 are no longer reserved.Breaking:
int32fields 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:TEGAPIRegisterResponsefailure(1)RegistrationFailureWCAPIRegisterCommercialResponsefailure(1)RegistrationFailureLocalAuthAPILoginRequestparticipant(1)LocalParticipantNeurioCTConfiglocation(1)MeterCTLocationSuperchargerAPIGetDcMetersCommissioningResponseerror(2)DcMeterCommissioningErrorCarServer.NavigationRequestorder(2)RemoteNavTripOrder_EBreaking: the navigation trip order enum is replaced. The three nested
RemoteNavTripOrderenums (REMOTE_NAV_TRIP_ORDER_UNKNOWN = 0,REPLACE = 1,PREPEND = 2,APPEND = 3) inNavigationSuperchargerRequest,NavigationGpsRequestandNavigationGpsDestinationRequestare deleted. The new top-levelCarServer.RemoteNavTripOrder_EhasRemoteNavTripOrderReplace = 0,RemoteNavTripOrderPrepend = 1andRemoteNavTripOrderAppend = 2, and typesNavigationRequest.order,NavigationSuperchargerRequest.remote_nav_trip_order,NavigationGpsRequest.orderandNavigationGpsDestinationRequest.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:
AcceptedPackagesideloading_methodCommonMessagesmessage(now includeserror_response= 1)FileStoreAPIFilecontentPVMeterInterfacemeter_interfaceWCMeterInterfacemeter_interfaceTEGAPIDispatchBatteryPowerRequestcommandTEGAPIEnsureCertificateRequestcertificate_typeWCDryContactConfigcontrol_behaviorWCLoadSharingConfignetwork_limitWCLoadSharingSettingsnetwork_limitDeviceInfodevice_sub_typeBreaking: names change. The tags and the wire bytes are the same:
BackupEventfield 3sheduling_infoscheduling_infoEcuFirmwareUpdateInProgressfield 1defaultnode_progressesEcuFirmwareUpdateResultfield 2defaultecu_update_results