Skip to content

0.1.0

Choose a tag to compare

@sfkelseylee sfkelseylee released this 29 Apr 09:29
· 1 commit to main since this release

[0.1.0]

Breaking/Important Changes

  • Transport-level OCPP UniqueId: The protocol-level message correlation field is now named uniqueId in all base message classes, matching the OCPP specification. This avoids confusion and collisions with payload fields like messageId (e.g., in DataTransfer). The previous messageId property is no longer used for the transport identifier.

Additions & Fixes

  • TriggerMessageRequest: Added missing DiagnosticsStatusNotification value to the MessageTrigger enum, as specified in the OCPP JSON schema.
  • AuthorizeResponse: Added an enum for the status field in AuthorizeResponse, covering all valid statuses from the schema: Accepted, Blocked, Expired, Invalid, and ConcurrentTx.
  • Example and Static Analysis Cleanups: All example files have been updated for static analysis compatibility and now handle optional dependencies more gracefully.

Notes

  • Version 0.0.4 and earlier used the old messageId naming for the protocol-level identifier. Please update your code to use uniqueId if you upgrade to 0.1.0 or later.
  • Thanks to the community for reporting these issues and helping improve the library’s OCPP compliance!