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.
1.7.0 - 2023-05-27
ulogging
is part ofbe_helpers
to be independent from other packages, see #20package.json
file and installation instruction formip
usage, see #21- Content of
package.json
is validated on each test workflow run
- Dependency to
micropython-ulogging
package insetup.py
file
- YAML syntax in all workflow files
1.6.1 - 2023-01-29
- Typing hints for
Callable
,Dict
,List
,Optional
,Tuple
andUnion
are now subscriptable
1.6.0 - 2022-12-11
- Use changelog-based-release action to create a draft release with every merge to develop
- Use changelog-based-release action to create a drafted prerelease release with every PR build
- 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 ofcheckout@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
- Use more specific
noqa
inled_helper.py
1.5.0 - 2022-11-03
- Deploy to Test Python Package Index on every PR
build with a PEP440 compliant
-rc<BUILDNUMBER>.dev<PR_NUMBER>
meta data extension - Test release workflow running only on PRs is archiving and uploading built artifacts to Test Python Package Index
.flake8
definition file
- Version is specified by
version.py
and autogenerated on each deploy.
- All uncovered flake8 warnings of
be_helpers
1.4.0 - 2022-05-06
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
get_uuid
can be used to get the unique ID of the device or with an optional parameterlenght
to return the UUID of desired length, see #11
1.2.3 - 2022-03-20
- 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
- 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
- Added missing
machine
import togeneric_helper.py
1.2.0 - 2022-03-06
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
andget_system_infos_human
ofgeneric_helper.py
gc.collect()
is no longer called onclient_data
property access ofmodbus_bridge.py
- Adopted import paths of Generic helper, Led, Neopixel, Path helper, Time
helper and WiFi helper examples in
README
.
1.1.2 - 2022-02-26
- Adopted import path of
modbus_bridge
in Modbus Bridge example inREADME
. - Adopted import paths of
umodbus
files inmodbus_bridge.py
- Provide installation instructions for
micropython-modbus
library inREADME
- Call
setup_registers
for either TCP or RTU client, not only in TCP client mode inmodbus_bridge.py
1.1.1 - 2022-02-25
- Adopted import paths of
typing
module in all modules fromfrom typing import *
tofrom .typing import *
- Do not import any modules in
__init__.py
other thanversion.py
to avoid issues and gain speed
1.1.0 - 2022-02-25
message.py
andqueue.py
taken from peterhinch's micropython async repo
1.0.0 - 2022-02-24
setup.py
andsdist_upip.py
taken from pfalcon's picoweb repo and PEP8 improvedMIT License
version.py
storing current library version
- 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 externalmicropython-utarfile
inupdate_helper.py
- Dependency to
micropython-utarfile
by using built-inupip_utarfile
0.2.0 - 2022-02-20
- Modbus data between RTU and TCP can be synchronized continously. Access to client is secured by thread lock ressource.
- Reduce modbus logging output of get and set functions from
INFO
toDEBUG
- 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 fromDEBUG
toWARNING
- Update host and client unit on setting new connections settings
- Set logging level
INFO
notDEBUG
if desired logger level isinfo
- Return dictionary of read content in
read_all_registers
0.1.0 - 2022-02-19
- This changelog file
.gitignore
fileREADME
file with usage examplesPathHelper
module added to provideos.path.exists()
functionModbusBridge
module to connect RTU with TCP and vice versa
LED
andNeopixel
helper module converted into classes ofled_helper
TimeHelper
module converted into classWifiHelper
module converted into class