Repository navigation
2.2.0
JustJournal 2.2.0 adds CMake builds, safer CLI password input, and configurable entry dates, visibility, and body formats.
Changes
- Switch to CMake 3.16 or newer while retaining BSD make and GNU make compatibility wrappers. Build the CLI by default, with optional GTK and integration-test targets.
- Add a hidden password prompt on the controlling terminal and
--password-fdfor automation. Keep-pcompatibility; passwords supplied through arguments can still appear in process listings and shell history. - Restore terminal settings after interrupted password prompts, discard interrupted input, and wipe password buffers on failure.
- Erase login credential encoding buffers and escape terminal control characters in recent-entry output.
- Add
--datefor ISO 8601 timestamps with an explicit timezone,--security public|friends|private, and--format text|markdown|html. - Keep public visibility, text formatting, and server-current-time defaults. Send HTML and Markdown bodies unchanged; preserve legacy title/music extraction in text mode.
- Update the CLI manual, README, and regression coverage. Both clients report version 2.2.0.
Build and compatibility
Dependencies remain libcurl, Jansson, and pkg-config, plus GTK 3 for the graphical client. See the build instructions.
The clients target MidnightBSD, FreeBSD, and Linux. This release was built and tested locally on MidnightBSD; native FreeBSD and Linux execution remains unverified locally.
Validation
The CLI and GTK CMake build, credential-buffer regression test, and all 29 local HTTPS integration tests passed. The integration suite also passed with AddressSanitizer and UndefinedBehaviorSanitizer; cppcheck and diff checks passed. New posting-option tests use a local HTTPS test server rather than creating live posts.
Full changelog: 2.1.0...2.2.0