Skip to content

Commit

Permalink
chore: release v0.5.0 featuring profile and data export
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Jul 18, 2024
1 parent 832530c commit 98fc8fb
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## v0.5.0

Changes since v0.4.1:

### Features

The exec events can now be collected and saved as JSON stream or JSON format!
This feature is implemented by the new `collect` subcommand.

The JSON stream format is newline-delimited JSONs and when `--pretty`(which prettifies the JSON) is not enabled,
it is also a [JSON Lines text file](https://jsonlines.org/).
The first JSON of the JSON stream contains metadata like tracexec version and baseline environment information.
Other JSONs are exec events.

The JSON format is a big JSON object that contains metadata and an array of exec events in the `events` field.

And, tracexec now supports user-level profile🎉!

The profile file is a toml file that can be used to set fallback options.
It should be placed at `$XDG_CONFIG_HOME/tracexec/` or `$HOME/.config/tracexec/` and named `config.toml`.

A template profile file can be found at https://github.com/kxxt/tracexec/blob/main/config.toml

Note that the profile format is not stable yet and may change in the future. You may need to update your profile file when upgrading tracexec.

### Other changes

- Add `--profile` and `--no-profile` to load non-default profile and ignore profile, respectively.
- Update dependencies.
- Internal: Add a ruby script to update README.
- Internal: Some refactor work.

## v0.4.1

Changes since v0.4.0:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tracexec"
version = "0.4.1"
version = "0.5.0"
edition = "2021"
authors = ["Levi Zim <[email protected]>"]
description = "Tracer for execve{,at} and pre-exec behavior, launcher for debuggers."
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ The profile file should be placed at `$XDG_CONFIG_HOME/tracexec/` or `$HOME/.con
A template profile file can be found at https://github.com/kxxt/tracexec/blob/main/config.toml
As a warning, the profile format is not stable yet and may change in the future. You may need to update your profile file when upgrading tracexec.
Note that the profile format is not stable yet and may change in the future. You may need to update your profile file when upgrading tracexec.
## Known issues
Expand Down

0 comments on commit 98fc8fb

Please sign in to comment.