Skip to content

Latest commit

 

History

History
212 lines (177 loc) · 8.75 KB

changelog.md

File metadata and controls

212 lines (177 loc) · 8.75 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Released

1.7.0 - 2023-05-27

Added

  • ulogging is part of be_helpers to be independent from other packages, see #20
  • package.json file and installation instruction for mip usage, see #21
  • Content of package.json is validated on each test workflow run

Removed

  • Dependency to micropython-ulogging package in setup.py file

Fixed

  • YAML syntax in all workflow files

1.6.1 - 2023-01-29

Fixed

  • Typing hints for Callable, Dict, List, Optional, Tuple and Union are now subscriptable

1.6.0 - 2022-12-11

Added

Changed

  • Apply changes for micropython-modbus 2.0.0, see #16
  • Scope of contents permissions in release and test release workflow is now write to use auto release creation
  • Use checkout@v3 instead of checkout@v2 in all workflows
  • Line breaks are no longer used in this changelog for enumerations
  • Issues are referenced as #123 instead of [#123][ref-issue-123] to avoid explicit references at the bottom or some other location in the file

Fixed

1.5.0 - 2022-11-03

Added

Changed

  • Version is specified by version.py and autogenerated on each deploy.

Fixed

1.4.0 - 2022-05-06

Changed

  • get_uuid can be used to get the first or last n characters of the unique ID of the device, see additional comment in #11

1.3.0 - 2022-04-16

Added

  • get_uuid can be used to get the unique ID of the device or with an optional parameter lenght to return the UUID of desired length, see #11

1.2.3 - 2022-03-20

Fixed

  • WiFi station is no longer deactivated if no WiFi networks have been found. This might have lead to a disconnection from existing networks, see #9

1.2.2 - 2022-03-11

Changed

  • Client data is no logger logged with debug level on client_data property access to reduce time before data return

1.2.1 - 2022-03-07

Fixed

1.2.0 - 2022-03-06

Added

  • version.py provides info as semver tuple with __version_info__
  • Raw and human encoded system info data is provided by function get_system_infos_raw and get_system_infos_human of generic_helper.py

Changed

  • gc.collect() is no longer called on client_data property access of modbus_bridge.py

Fixed

  • Adopted import paths of Generic helper, Led, Neopixel, Path helper, Time helper and WiFi helper examples in README.

1.1.2 - 2022-02-26

Fixed

  • Adopted import path of modbus_bridge in Modbus Bridge example in README.
  • Adopted import paths of umodbus files in modbus_bridge.py
  • Provide installation instructions for micropython-modbus library in README
  • Call setup_registers for either TCP or RTU client, not only in TCP client mode in modbus_bridge.py

1.1.1 - 2022-02-25

Fixed

  • Adopted import paths of typing module in all modules from from typing import * to from .typing import *
  • Do not import any modules in __init__.py other than version.py to avoid issues and gain speed

1.1.0 - 2022-02-25

Added

1.0.0 - 2022-02-24

Added

Changed

  • Moved all helper files into folder named be_helpers
  • Update README usage description of MicroPython lib deploy to PyPi
  • Usage examples in README updated with new import path
  • Use upip_utarfile instead of external micropython-utarfile in update_helper.py

Removed

  • Dependency to micropython-utarfile by using built-in upip_utarfile

0.2.0 - 2022-02-20

Added

  • Modbus data between RTU and TCP can be synchronized continously. Access to client is secured by thread lock ressource.

Changed

  • Reduce modbus logging output of get and set functions from INFO to DEBUG
  • Returned dict of read_all_registers clusters registers by type instead of register names
  • Tuple of failed and successfully updated registers dict is returned on register write functions instead of dictionary of failed registers only
  • Setting and getting register data is done in try-catch block to avoid errors on unavailable registers or invalid response data
  • Log client register data as JSON instead of dict to improve later logging data usage
  • Default logging level of ModbusBridge increased from DEBUG to WARNING

Fixed

  • Update host and client unit on setting new connections settings
  • Set logging level INFO not DEBUG if desired logger level is info
  • Return dictionary of read content in read_all_registers

0.1.0 - 2022-02-19

Added

Changed