Skip to content

Latest commit

 

History

History
298 lines (189 loc) · 17.6 KB

CHANGELOG.md

File metadata and controls

298 lines (189 loc) · 17.6 KB

Change log

  • #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'
  • #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

BREAKING

  • #574 Remove v1.6 deprecated enum members - IMPORTANT see upgrade path #574
  • #498 Remove support for OCPP 2.0 - IMPORTANT SEE UPGRADE PATH #498

0.26.0 (2024-01-17)

  • #544 ocpp/charge_point.py - Pass Call.unique_id to the on and after 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

0.25.0 (2024-01-08)

  • #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

0.24.0 (2023-12-07)

  • #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

0.23.0 (2023-11-30)

  • [#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

0.22.0 (2023-11-03)

  • #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"

0.21.0 (2023-10-19)

  • [#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

0.20.0 (2023-10-10)

  • #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.

0.19.0 (2023-04-26)

0.18.0 (2023-03-22)

  • #434 Add custom_data attribute to payload-related dataclasses. @will-fs

0.17.0 (2023-01-04)

0.16.0 (2023-01-04)

  • #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

0.15.0 (2022-05-11)

  • #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

0.14.1 (2022-03-08)

  • #316 Fix definition of GetVariableResultType.variable. Thanks @HugoJP1

0.14.0 (2022-03-03)

  • #312 Raise TypeConstraintViolationError instead of ValidationError when value exceeds length limit. Thanks @tmh-grunwald-markus

0.13.1 (2022-02-02)

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

0.12.1 (2022-01-17)

  • #289 Fix bug in remove_nones() when processing str.

0.12.0 (2022-01-12)

  • #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

0.11.0 (2021-11-26)

  • #250 Add v1.6 data types
  • #268 Move from CircleCI to Github Actions.
  • #270 Changes badges to reflect move to Github Action

0.10.1 (2021-11-18)

0.10.0 (2021-09-16)

0.9.0 (2021-09-02)

  • 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

0.8.3 (2021-04-21)

  • #200 Add context to asyncio.TimeoutErrors raised by ocpp.ChargePoint.call().

0.8.2 (2021-04-21)

  • #167 Fix OCPP 2.0.1 call payloads for RequestStartTransactionPayload and RequestStopTransactionPayload.

0.8.1 (2020-11-14)

  • #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 Calls by caching Draft4Validator instances.

0.8.0 (2020-10-27)

0.7.2 (2020-10-17)

  • #127 Fix type hints of enums.
  • #130 Fix possible deadlock when using @after() handlers.
  • #131 Add CI support for Python 3.9. Thanks @laysauchoa!

0.7.1 (2020-09-18)

  • #117 Fix handling of async @after() handlers.

0.7.0 (2020-09-13)

  • #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 and enum.Enum.
  • #113 Use OCPP 1.6 enums as type hints in calls and call results.

0.6.4 (2020-03-22)

  • #76 Fix names of 2 OCPP OCPP 2.0 call payloads.

0.6.3 (2020-02-26)

  • Add links to source and documentation in Pypi. @adamchainz

0.6.2 (2020-02-21)

0.6.1 (2020-02-19)

  • #68 Fix validation of SetChargingProfile

0.6.0 (2020-02-10)

  • #63 Remove spaces after separators before sending message
  • #65 ocpp.ChargePoint.call() doesn't validate the messages

0.5.1 (2019-12-06)

0.5.0 (2019-12-03)

  • #54 Add option to @on() to skip schema validation

0.4.4 (2019-11-21)

  • #43 Fix validation of 3 OCPP v1.6 payloads containing floats

0.4.3 (2019-11-18)

  • #50 Fix RuntimeError when using ocpp.charge_point.ChargePoint.call

0.4.2 (2019-11-18)

  • #46 Fix potential deadlock
  • #48 Make ocpp.v16.call.ReserveNowPayload.parent_id_tag optional

0.4.1 (2019-11-11)

  • #37 Add Python 3.8 support
  • Several fixes of typos and type hints in v16 dataclasses

0.4.0 (2019-10-29)

  • #29 Add OCPP 2.0 support

0.3.2 (2019-09-30)

  • #27 Fix possible dead lock when running @after() handler.

0.3.1 (2019-09-23)

  • 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.

0.3.0 (2019-09-23)

** Backwards incompatible change with ocpp <= 0.2.2. **

  • #26 Pass request payload to @after() handler.

0.2.2 (2019-08-29)

  • #21 Fix several type hints

0.2.1 (2019-07-31)

Bug fixes

  • #14 Fix typo in attribute of call.StartTransactionPayload
  • #16 Fix attributes of call.StopTransaction
  • #18 Fix typo in attribute of call.RemoteStopTransaction

0.2.0 (2019-06-07)

Improvements

  • #5 Add support for Python 3.6 and move to Poetry

0.1.1 (2019-05-31)

Improvements

  • #3 Add CircleCI integration.

Bug fixes

  • #1 Add JSON schema's to distribution.

0.1.0 (2019-05-26)

  • Initial release.