Skip to content

Releases: lucab/libsystemd-rs

v0.7.0

08 Nov 14:07
Compare
Choose a tag to compare

Changes:

  • cargo: update nix requirement from ^0.26 to ^0.27
  • cargo: update MSRV to 1.65
  • logging: fix build in armv7
  • logging: directly use memfd_create syscall
  • lib: fix IO safety
  • feat: Enhancing Id128 structure
  • logging: fix typo in connected_to_journal docs
  • logging: forgo validation of MESSAGE and PRIORITY fields at runtime
  • sysusers: internal Context helper to simplify error handling
  • id128: use internal Context helper to simplify error handling
  • daemon: use internal Context helper to simplify error handling
  • credentials: use internal Context helper to simplify error handling
  • activation: use internal Context helper to simplify error handling

v0.6.0

20 Dec 17:26
Compare
Choose a tag to compare

Changes:

  • activation: fix build for compatibility with newer nix
  • cargo: bump MSRV to 1.56
  • ci: update workflow
  • credentials: add helpers for accessing credential data
  • daemon/notify: add support for abstract Unix sockets
  • daemon/notify: add support for sending file descriptors
  • daemon/notify: sanity-check state entries
  • errors: add internal helpers to simplify error handling
  • id128: add get_boot() and get_boot_app_specific()
  • logging: use std API to extract journal stream from FD
  • logging: fix connected_to_journal() logic
  • logging: only check stderr for protocol upgrading
  • logging: reduce the amount of allocations in hotpath
  • logging: un-export some JournalStream methods

v0.5.0

11 Jan 14:40
v0.5.0
75a867b
Compare
Choose a tag to compare

Changes:

  • cargo: update sha2 and hmac to new version
  • sysusers: introduce new module for 'sysusers.d' configuration fragments
  • sysusers: add parsing logic
  • sysusers: expose more field details
  • sysusers: add serialization support

v0.4.1

17 Nov 14:41
v0.4.1
7d9847c
Compare
Choose a tag to compare

Changes:

  • logging: close our side of memfd
  • logging: reuse sending socket

v0.4.0

28 Oct 14:14
Compare
Choose a tag to compare

Changes:

  • logging: Detect journal connection
  • logging: Make Priority Copy and Clone

libsystemd 0.3.1

15 Jul 11:18
v0.3.1
3b2a1f0
Compare
Choose a tag to compare

Changes:

  • logging: fix checks for invalid journal fields

libsystemd 0.3.0

01 Jun 15:08
v0.3.0
2c027cb
Compare
Choose a tag to compare

Changes:

  • activation: do not discard unknown descriptors
  • errors: switch to thiserror
  • logging: properly encode multiline journal messages
  • cargo: refresh all dependencies
  • ci: upgrade to GitHub-native Dependabot
  • ci: bump toolchains
  • ci: move Travis jobs to GitHub actions

libsystemd 0.2.1

30 Apr 12:54
v0.2.1
4955069
Compare
Choose a tag to compare

Changes:

  • activation: return errors on FD reception failures
  • ci: update travis and run on arm64
  • logging: conditionally run journald tests

libsystemd 0.2.0

22 Apr 13:29
v0.2.0
3a8fb87
Compare
Choose a tag to compare

Changes:

  • cargo: switch to edition 2018
  • logging: add support for writing to journald
  • logging: add logic to support sending structured entries to journald
  • misc CI and project cleanups
  • daemon: optimize NotifyState
  • activation: add sd_listen_fds and sd_listen_fds_with_names
  • docs: add licenses and copyrights
  • id128: derive Clone

libsystemd 0.1.0

13 May 13:58
0.1.0
000fad0
Compare
Choose a tag to compare
  • unit: add escape helpers
  • id128: add 128-bits IDs
  • cargo: update all dependencies