- #665 chore: Updated Python setup action to version v5 by @jainmohit2001
- #663 bugfix: Changed total_cost type from Optional[int] to Optional[float] by @jainmohit2001
- #667 feat: Added optional logger param to ChargePoint class by @jainmohit2001
- #686 bugfix: Handling UnicodeDecodeError in unpack function by @jainmohit2001
- #668 chore: Update CODEOWNERS by @jainmohit2001
- #652 add executor to validate_payload by @drc38
- #629 fix typo for InternalError in exceptions.py by @hhuseyinpay
- #679 Add issue templates by @mdwcrft
- #686 Update readme - ocpp 2 edition 3 is supported by @wafa-yah
- #678 Disable threads if messages.ASYNC_VALIDATION = False by @astrand
- #685 Test with python 3.13 by @drc38
- #673 chore: Added inactive issue workflow by @jainmohit2001
- #642 Fix serializing of "ocpp_csms_url".
- #631 Fix publishing to Pypi.
- #573 Fix serialization of types that contain a collection of items.
- #573 Introduce Experimental Module For v2.1
- #547 Feat: Handle recursively serializing a dataclasses as a dictionary Thanks @MacDue
- #601 Fix case conversion for soc in non "State of Charge" context
- #523 The serialisation of soc to SoC should not occur in camel case if it is existing at the beginning of a field
- #515 Update Readthedocs configuration
- #602 Correct v2g serialisation/deserialisation
- #557 OCPP 2.0.1 Wrong data type in CostUpdated total_cost
- #564 Add support For Python 3.11 and 3.12
- #583 OCPP v1.6/v2.0.1 deprecate dataclasses from calls and call results with the suffix 'Payload'
- #590 snake_to_camel_case url to URL does not get converted correctly
- #591 Camel_to_snake_case doesn't handle v2x correctly
- #593 Update tests to use Call and CallResult without the suffix Payload
- #435 Typo in CostUpdated Action
- #577 v2.0.1 AttributeType Enum Corrections
- #340 2.0.1 dataclasses have a incorrect types that don't match carnality
- #519 Typo in v201.enums.StatusInfoReasonType.invaild_schedule
- #510 v2.0.1 UnitOfMeasureType - Enums missing and update docstring to allow use for variableCharacteristics
- #508 Exception - OccurrenceConstraintViolationError doc string correction
- #613 Typo correction in v201.enums.StatusInfoReasonType.value_too_hight -> value_too_high
- #622 Fix typo in OCPP 2.0.1 enum Action.cost_updated
- #573 Introduce Experimental Module For v2.1
- #547 Feat: Handle recursively serializing a dataclasses as a dictionary Thanks @MacDue
- #601 Fix case conversion for soc in non "State of Charge" context
- #523 The serialisation of soc to SoC should not occur in camel case if it is existing at the beginning of a field
- #515 Update Readthedocs configuration
- #602 Correct v2g serialisation/deserialisation
- #557 OCPP 2.0.1 Wrong data type in CostUpdated total_cost
- #564 Add support For Python 3.11 and 3.12
- #583 OCPP v1.6/v2.0.1 deprecate dataclasses from calls and call results with the suffix 'Payload'
- #590 snake_to_camel_case url to URL does not get converted correctly
- #591 Camel_to_snake_case doesn't handle v2x correctly
- #593 Update tests to use Call and CallResult without the suffix Payload
- #435 Typo in CostUpdated Action
- #577 v2.0.1 AttributeType Enum Corrections
- #340 2.0.1 dataclasses have a incorrect types that don't match carnality
- #519 Typo in v201.enums.StatusInfoReasonType.invaild_schedule
- #510 v2.0.1 UnitOfMeasureType - Enums missing and update docstring to allow use for variableCharacteristics
- #508 Exception - OccurrenceConstraintViolationError doc string correction
- #599 v1.6 Action Enum members corrected IMPORTANT SEE UPGRADE PATH #599
- #579 v2.0.1 Action enums corrected - IMPORTANT SEE UPGRADE PATH #579
- #574 Remove v1.6 deprecated enum members - IMPORTANT see upgrade path #574
- #498 Remove support for OCPP 2.0 - IMPORTANT SEE UPGRADE PATH #498
- #544 ocpp/charge_point.py - Pass
Call.unique_id
to theon
andafter
routing handlers. - #559 Update project dependencies as of 22-12-2023
- #447 v16, v201 - Make formatting of enums in py3.11 consistent with earlier Python versions
- #421 Type of v16.datatypes.SampledValue.context is incorrect
- #366 Fix type hint of OCPP 1.6 ChangeConfiguration.value
- #431 Attributes with 'v2x' are serialized as 'V2x', but should be serialized as 'V2X'
- #554 OCPP 2.0.1 Edition 2 Errata 2023-12 document added
- #548 OCPP 2.0.1 MessageInfoType attribute name correction
- #300 OCPP 2.0.1 add reference components and variables
- #518 OCPP 2.0.1 add additional reason codes from v1.3
- #539 feat: Add ChargePoint._handle_call return value. Thanks @wafa-yah
- #266 fix: Central System documentation link.
- #516 OCPP 2.0.1 add additional security events from v1.3.
- #537 Fix DataTransfer data types. Thanks @mdwcrft
- [#531] Feat: Add 1.6 security extension datatypes. Thanks @proelke
- #528 v2.0.1 CertificateHashDataChainType childCertificateHashData requires the default of None.
- #510 v2.0.1 UnitOfMeasureType - Enums missing and update docstring to allow use for variableCharacteristics.
- #508 Exception - OccurrenceConstraintViolationError doc string correction.
- #511 2.0.1 Units of Measure update to match Appendix 2. Standardized Units Of Measure
- #493 Reduce use of NotSupportedError in favor of NotImplementedError. Thanks drc38.
- #278 Fix types for attributes of OCPP 1.6's type
IdTagInfo
. Thanks @chan-vince - #504 Add missing tech_info attribute to v2.0.1 EventDataType. Thanks @LokiHokie
- #381 Add FormationError and OccurrenceConstraintViolationError.
- #373 v201.datatypes.ChargingNeedsType.request_energy_transfer is mistyped
- #207 v16/schemas/StopTransaction.json missing "Hertz"
- [#492] Minor fixes _handle_call doc string - Thanks @drc38
- #485 Update documents for 2.0.1 to lastest; removed 2.0 docs
- #412 Add default value to 1.6 AuthorizationData datatype, id_tag_info
- #141 Add to docs OCPP 1.6 Security White Paper Ed 2
- #471 Fix
ImportError
when using jsonschema 4.19.0 or higher. - Fix import error in v201 example. Thanks @Shiwei-Shen!
- Update Poetry to 1.5.1 in CI.
- [#438] feat: add optional param for passing an unique_id to call method. Thanks @santiagosalamandri
- [#420] fix: type hint child_certificate_hash_data type. Thanks @santiagosalamandri
- #413 Add enum for OCPP 1.6 ConfigurationKey. Thansks @isabelle-tmh and @lbbrhzn
- #407 Fix build that publishes release to pypi.
- #401 Fix serialization error when receiving invalid inbound Call.
- #402 Update development dependencies.
- #382 Added missing ' (single quote) to error message. Thanks @BIGduzy
- #374 Run tests in CI build that builds package and releases it to Pypi. Thanks @aysauchoa
- #384 Include OCPP message that causes OCPPError. Thanks @klimaschkas
- #385 Integrate black and isort. Thanks @proelke
- #331 Add missing variant to OCPP 2.0.1 enum DataType.password_string. Thanks @mdwcrft
- #332 Update OCPP 2.0.1 ConnectorType enum variants introduced in errata. Thanks @mdwcrft
- #379 Fix typo in OCPP 2.0.1 attribute FirmwareType.retrieve_data. Thanks @mdwcrft
- #369 Make sure that CI use latest Python 3.10 release. Thanks @adamchainz
- #353 Fix typo in OCPP 2.0.1 enum variant MessageTrigger.sign_v2g_certificate. Thanks @proelke
- #359 Add enum for OCPP 2.0.1's SecurityEvent. Thanks @proelke
- #306 Fix type hint
ocpp.v201.datatypes.MeterValueType.sampled_value
. Thanks @Shadowsith - #328 Add missing attribute
ocpp.v201.dataypes.SampledValueType.measurand
.Thanks @maurerle - #335 Improve Exception handling and CallError responses. Thanks @proelke
- #316 Drop Python 3.6 support and update jsonschema to 4.4. Thanks @laysauchoa
- #312 Raise
TypeConstraintViolationError
instead ofValidationError
when value exceeds length limit. Thanks @tmh-grunwald-markus
The tag 0.13.0 was created, but the build to publish the release failed to pypi failed. Therefore, 0.13.0 is not listed in this CHANGELOG.md
- #293 Add missing attributes to
GetVariableResultType
. Thanks @proelke - #294 Improved error handling when schema validation fails. Thanks @joaomariord
- #289 Fix bug in
remove_nones()
when processingstr
.
- #272 Improve
remove_nones
so it handles nested data structures better. Thanks @proelke - #287 Add enum StatusCodeInfoType. Thanks @proelke
- #288 Fixed typos in attributes. Thanks @mdwcrft
- #250 Add v1.6 data types
- #268 Move from CircleCI to Github Actions.
- #270 Changes badges to reflect move to Github Action
- #252 Fix CI build.
- #259 Fix typo on
Action.SetMonitoringBase
. Thanks @shaikhasif15752
- #249 Remove depreciated function
get_schema_code()
. Thanks @proelke - #240 Add OCPP v2.0.1 data types. Thanks @proelke
- Fix limit array in meterValue and sampledValue. Thanks @laysauchoa
- #141 Add security enhancement for OCPP 1.6. Thanks @villekr
- #217 Fix parsing of floats in GetCompositeSchedule response. Thanks @laysauchoa
- #223 Fix type DataTransferPayload.status. Thanks @laysauchoa
- #200 Add context to
asyncio.TimeoutError
s raised byocpp.ChargePoint.call()
.
- #167 Fix OCPP 2.0.1 call payloads for
RequestStartTransactionPayload
andRequestStopTransactionPayload
.
- #114 Make casing of
ocpp.v16.enums
's attributes consistent. Thanks @tropxy - #147 Fix type hint for
ocpp.v16.call.ChangeAvailabilityPayload
. Thanks @laysauchoa - #150 Log in to Docker hub to prevent being rate limited.
- #154 Speed up handling of
Call
s by cachingDraft4Validator
instances.
- #104 Allow
CallError
s to be catched. Thanks @tmh-azinhal - #142#143 Add support for OCPP 2.0.1. Thanks @tropxy
- #137 Fix generation route map when using
@property
. Thanks @fa1k3n
- #127 Fix type hints of enums.
- #130 Fix possible deadlock when using
@after()
handlers. - #131 Add CI support for Python 3.9. Thanks @laysauchoa!
- #117 Fix handling of async
@after()
handlers.
- #95 Remove use of deprecated
asyncio.coroutine()
. Thanks @laysauchoa! - #105 Implement
__str__()
for all exceptions. Thanks @laysauchoa! - #110 Subclass OCPP 1.6 enums from
str
andenum.Enum
. - #113 Use OCPP 1.6 enums as type hints in calls and call results.
- #76 Fix names of 2 OCPP OCPP 2.0 call payloads.
- Add links to source and documentation in Pypi. @adamchainz
- #71 Add unit Hertz. @bengarrett1971
- #68 Fix validation of SetChargingProfile
- #63 Remove spaces after separators before sending message
- #65
ocpp.ChargePoint.call()
doesn't validate the messages
- #54 Add option to
@on()
to skip schema validation
- #43 Fix validation of 3 OCPP v1.6 payloads containing floats
- #50 Fix RuntimeError when using ocpp.charge_point.ChargePoint.call
- #37 Add Python 3.8 support
- Several fixes of typos and type hints in v16 dataclasses
- #29 Add OCPP 2.0 support
- #27 Fix possible dead lock when running
@after()
handler.
- An invalid 0.3.0 release has been uploaded to pypi.org. pypi.org doesn't allow reuploading a new release using the same file names. Therefore a new release had to be made.
** Backwards incompatible change with ocpp <= 0.2.2. **
- #26 Pass request payload to
@after()
handler.
- #21 Fix several type hints
- #14 Fix typo in attribute of call.StartTransactionPayload
- #16 Fix attributes of call.StopTransaction
- #18 Fix typo in attribute of call.RemoteStopTransaction
- #5 Add support for Python 3.6 and move to Poetry
- #3 Add CircleCI integration.
- #1 Add JSON schema's to distribution.
- Initial release.