Releases: meshtastic/python
Meshtastic Python 2.4.0
This release only updates the protobufs to 2.4.0.
Full Changelog: 2.3.15...2.4.0
Meshtastic Python 2.3.15
What's Changed
- PowerMon/StructuredLogging support by @geeksville in #607
- Include uptime_seconds in sendTelemetry and print upon response by @ianmcorvidae in #638
- final powermon / power analysis reporting changes by @geeksville in #636
- Add/update some types to be at least as backwards-compatible as we can be by @ianmcorvidae in #647
Full Changelog: 2.3.14...2.3.15
Meshtastic Python 2.3.14
Important note
This is the last version of this library & CLI that supports Python 3.8. Python 3.8 will reach formal end of life later this year -- if you are using it, please update your python installation.
This version of the CLI will issue a warning if it's running on Python 3.8 as well.
What's Changed
- Update heartbeat interval to a fixed 300 seconds by @ianmcorvidae in #628
- Correctly detect LocalConfig vs. LocalModuleConfig, again. fixes #630 by @ianmcorvidae in #632
- Bump certifi from 2024.6.2 to 2024.7.4 by @dependabot in #633
- Fix for hopLimit param on sendTraceRoute not being respected by @ppicazo in #629
New Contributors
- @dependabot made their first contribution in #633
- @ppicazo made their first contribution in #629
Full Changelog: 2.3.13...2.3.14
Meshtastic Python 2.3.13
Important
The protobuf modules have moved in this release. While many imports of _pb2
modules directly from meshtastic
will still work, they should in general be updated to use meshtastic.protobuf
instead. If needing to support multiple versions of this library, consider wrapping the initial import from meshtastic.protobuf
in a try
block and then importing from plain meshtastic
in an except ImportError
block.
Additionally, this version of the library clarifies the licensing of the library and CLI to GPL3. There has been a bit of a confusing potentially-dual-license situation for a little while, but GPL3 is the plan going forward.
In better news, BLE connections should work better in this release due to a lot of work improving that code!
What's Changed
- Move protobuf python glue from meshtastic to meshtastic.protobuf by @geeksville in #613
- make specifying an argument to --seriallog optional by @geeksville in #618
- Adds support for ble logging characteristic by @thebentern in #616
- Add bin/git-resolve-poetry-lock.sh to resolve merge conficts by @geeksville in #619
- Clarify licensing by @FedericoCeratto in #582
- Properly handle missing nodes in traceroute response by @ianmcorvidae in #621
- bleak reads can hang if a device walks out of range, cope with that. by @geeksville in #624
- Allow connection args without an argument, add argument aliases by @ianmcorvidae in #625
- Support --ble on older firmwares that don't have the log-radio characteristic yet by @ianmcorvidae in #626
- New LogRecord protobuf BLE logging by @thebentern in #627
Full Changelog: 2.3.12...2.3.13
As before, please use pip
to install if standalone binaries are unavailable or non-functional.
Meshtastic Python 2.3.12
What's Changed
- Improve ACK handling: pass to
onAckNak
and on request in sendData by @ianmcorvidae in #602 - fix bitrot in an old sanity test - use correct namespace by @geeksville in #611
- Add a whitelist of known meshtastic USB VIDs to use a default serial … by @geeksville in #605
- Replace timeago by @FedericoCeratto in #587
- Change build to use poetry by @geeksville in #606
New Contributors
- @FedericoCeratto made their first contribution in #587
Full Changelog: 2.3.11...2.3.12
As with older releases, please use pip install (or your python package installer of choice) if there is no standalone binary for your system, or the one provided doesn't work.
This release changes the developer setup to use the poetry
tool. This should make things easier, generally speaking!
Meshtastic Python 2.3.11
What's Changed
- quick-coverage: simple test case just to cover uncovered code. by @nerdenator in #588
- Allow a faster nodedb-less startup on 2.3.11+ with
--no-nodes
by @ianmcorvidae in #589 - Wait for response with --device-metadata. Fixes #527 by @ianmcorvidae in #591
New Contributors
- @nerdenator made their first contribution in #588
Full Changelog: 2.3.10...2.3.11
The usual note: if there is no standalone binary for your OS or the provided one doesn't work, please use pip
to install.
Meshtastic Python 2.3.10
What's Changed
- Add "wait to disconnect" argument by @todd-herbert in #580
- Fix the ignore_incoming management BUG 568 by @868meshbot in #581
- Initialize unknown nodes more in line with meshtastic/design#16; show hardware in --nodes by @ianmcorvidae in #583
- Fix rounding of position values when converting from integer to float in _fixupPosition by @ianmcorvidae in #585
- Use new fixed position admin messages and add
--remove-position
argument by @ianmcorvidae in #584
New Contributors
- @todd-herbert made their first contribution in #580
- @868meshbot made their first contribution in #581
Full Changelog: 2.3.9...2.3.10
As usual, if the standalone binary is unavailable or doesn't work on your system, please use pip
to install.
Meshtastic Python 2.3.9
What's Changed
- Print 0 for channel rather than N/A, since we should probably always have a channel by @ianmcorvidae in #563
- Fix typo in main.py by @jhollowe in #564
- add a warning on --ch-enable and --ch-disable, which should usually be avoided by @ianmcorvidae in #574
New Contributors
Full Changelog: 2.3.8...2.3.9
As with other releases, please install with pip
if a standalone binary is unavailable or nonfunctional.
Meshtastic Python 2.3.8
This release should see some dramatic performance improvements due to the first change in the list below; updates are highly advised!
What's Changed
- (high-pri fix) Update python client to use the 'modern' meshtastic protocol init flow by @geeksville in #560
- Pretty indent --info JSON output (see below for details) by @geeksville in #558
- Use the new Heartbeat payload variant for the heartbeat instead of an empty ToRadio packet by @ianmcorvidae in #561
Full Changelog: 2.3.7...2.3.8
As with prior releases: if the prebuilt binaries don't exist for your platform or don't work, please use pip
to install instead.
Meshtastic Python 2.3.7
What's Changed
- Disallow --dest in remaining spots that don't actually use/allow it by @ianmcorvidae in #553
- Don't allow --dest with --setlat/lon/alt. by @ianmcorvidae in #551
- Allow generating QR codes for remote nodes and for all channels, not just local/primary by @ianmcorvidae in #552
- Add missing StoreForward config from radio by @GUVWAF in #554
- Better support --ch-index for other commands (traceroute, telemetry, position) by @ianmcorvidae in #555
- Add --enter-dfu for entering DFU mode on NRF52 devices via admin message by @ianmcorvidae in #556
Full Changelog: 2.3.6...2.3.7
As with prior releases, if the prebuilt binaries are not available or not working on your system, please use pip
instead.