1.1.0
What's Changed
🚀 Features
Highlights
Configure devices in offline mode #2843
Now you can configure your device even if you don't have internet connectivity. This is suitable for factory scenarios, where the devices might not have internet, but you wish to pre-configure thin-edge.io to connect to your cloud provider once internet connection is restored.
Just use the new --offline
flag when connecting:
tedge connect c8y --offline
tedge connect aws --offline
tedge connect az --offline
If you're using a self-signed certificate, then you will have to upload the public certificate manually from a machine with internet connectivity (e.g. by copying it via ssh on the local network etc.).
Filter out uninteresting software packages with an exclude filter #2869
Previously thin-edge.io only supported an include filter in the apt specific software management plugin (e.g. tedge-apt-plugin). Now you can specify an include and exclude filter which will be applied to the output of all software management plugins!
This allows you to focus on the software packages that are meaningful to you, and you can save on network bandwidth.
Example
If you want to ignore all of the software packages related to libraries and Linux kernel modules, then just set the following command:
tedge config set software.plugin.exclude "^(glibc|lib|kernel-|iptables-module).*"
Restart the tedge-agent, then you're good to go!
Draft Helm chart for Kubernetes deployment #2775
A draft helm chart has been added to the project so that users can start using thin-edge.io in Kubernetes environments. Contributions are welcomed, and we'll eventually promote it from the Draft status and publish the helm chart.
Create Certificate Signing Request with tedge cli #2783
A new tedge command (tedge cert create-csr
) has been added to make it easier to integrate thin-edge.io with your preferred Public Key Infrastructure (PKI). The command will read the existing certificate information from an existing device certificate so it is more convenient then looking up the equivalent openssl command.
Misc.
The following features are maybe not as flashy as the features above, but the are still very useful.
-
(cli): Avoid modifying files if they are up to date in
tedge init
#2876 -
(cli): Update service manager fallback message #2872
-
(configuration): tedge agent creates
tedgeUrl
when not provided in config snapshot payload #2826 -
(fts): improve is a directory error detection to support other OS targets #2747
-
(logs): only enable ansi colors in logs when stderr is a terminal #2738
-
(packaging): remove adduser debian dependency declaration #2883
-
(remote-access): support reading child connection string from stdin #2874
-
(software): c8y-mapper sends software list to advanced software management endpoint #2771
-
(watchdog): Limit tedge-watchdog interval to 1s minimum
-
(workflow): improve workflow log readability for humans #2860
🐛 Bug Fixes
-
(certificates): Do not panic changing ownership of device cert to unknown user #2875
-
(cli) Ignore port when comparing configure url with expected url
-
(cli): Honor c8y.mqtt setting on tedge connect #2789
-
(cli): ignore port when comparing cloud urls #2865
-
(cli): set directory ownership using given user/group instead of root #2746
-
(config|log): Uploader supports multipart/form-data and attaches filename #2811
-
(mqtt): Add tedgeUrl field for firmware command created by c8y-mapper #2795
-
(mqtt): apply delay to mqtt connect errors by default #2832
-
(mqtt): Finish auto-registration even on bad input #2737 #2889
-
(remote-access) Spawn process using current process path and config dir
-
(remote-access) Switch to env::args for establishing the executable name #2892
-
(remote-access): spawn process using current process path and config dir #2888
-
(remote-access): Use configured certificates when connecting to auth proxy in remote access plugin #2809
-
(software): tedge-agent publishes "types" for software_list and software_update #2730
-
(software|restart): Check sudo.enable in software and restart managers #2749
-
(file-watcher): use canonical path when watching a directory #2758
📜 Deprecation Notices
Workflow: build-in restart workflow action has been removed #2852
Technically this is a deprecation, however since it was only used in the official firmware integrations (e.g. Rugpi, RAUC, Mender OSS), we have replaced this functionality with the ability to call other workflows from an existing workflow.
📓 Documentation
-
(mapper): remove out of date and unused section #2736
-
(yocto): add missing build dependency
file
#2765 -
(mqtt): Document commands to de-register entities #2755
-
(mqtt): Correct topic and payload in registration in reference c8y-mapper guide #2827
-
(mqtt): remove retain from cmd/health/check examples #2828
-
(mqtt): Update doc: Troubleshooting > Monitoring Service Health #2855
-
(firmware): use RAUC image in the Yocto build instructions #2861
Full Changelog: 1.0.1...1.1.0