Skip to content

Releases: F1bonacc1/process-compose

v1.46.0

20 Dec 22:22
Compare
Choose a tag to compare

What Changed

  • Added ability to extrapolate the working directory based on the location of the extended file. Issue #278
  • Process Compose process names colors will be repeatable and predictable. The same process will always be colored the same.
  • Added ability to detach (and reattach) from the TUI if started with --detached-with-tui flag. Issue #275
  • Added ability to follow log from multiple processes. Issue #279
  • Added PC_REPLICA_NUM template variable to each process. See documentation.
  • Added global Environment Variables filled by commands. See documentation.

Bug Fixes

  • Fixed scenario in which PC would get stuck while shutting down when the target of process_started skipped. Issue #280
  • Project update no longer ignores PC_CONFIG_FILES env variable. Issue #283
  • Fixed scenario in which PC would crash if processes in process-compose.yaml is empty. Issue #284
  • The selection mode background now matches the selected theme.

Changelog

  • 78d5125 Bump nix to v1.40.1
  • 6a1799e bump nix to v1.46.0
  • 962432e dep: Updated golang.org/x/net to v0.33.0
  • c0e29e4 deps: dependencies update (tview, gopsutil, term)
  • 6b9ce00 feat #275: Allow detaching from TUI
  • c1cc4af feat #278: Support working dirs relative to extended compose.yaml
  • 53351d5 feat #279: Add multi process logging
  • 05fa613 feat: Add Environment Commands
  • d7e0380 feat: Add PC_REPLICA_NUM variable to each process
  • a7e6c06 feat: Better duration to human string
  • b479893 fix #280: Stuck in shutting down when target of process_started skipped
  • c510677 fix #283: Update to consider PC_CONFIG_FILES env var
  • 404d571 fix #284: Set default processes map if not specified
  • 1505127 fix: Fix selection mode style to match the theme
  • 7317c7b fix: Remove unnecessary conversion
  • ad61f77 internal: Added announce to bluesky

v1.40.1

10 Nov 22:58
Compare
Choose a tag to compare

Bug Fix

Fix the wrong error message for skipped processes that exited too quickly. Issue #274. Thanks @secobarbital

Changelog

v1.40.0

09 Nov 17:25
Compare
Choose a tag to compare

What Changed

  • Added ability to get an individual process state in CLI. Issue #271
  • Added configuration inheritance with extends attribute. Issue #270
  • Added ability to start disabled processes if specified explicitly. Issue #268
  • Added configurable daemon launch timeout. Issue #258
  • Added setting to disable the exit confirmation in TUI. Issue #268
  • Added ability to mouse-click the help buttons to trigger actions. Issue #252

Bug Fixes

  • Now dependencies check runs even in a non strict mode. Issue #261. Thanks @j-chmielewski
  • Nix build now produces a static library. Issue #265
  • Fix scenarios in which project update unit-test might hang.
  • Prevent EOF error on process-compose down
  • Prevent down command hanging with daemon Launching scenario. Issue #258. Thanks @Lagoja for repro steps.
  • Fixed race condition for stopping killed daemons.
  • Fixed issue in which a stop to restarting processes would be ignored for the next run. Issue #258. Thanks @mprimi for repro steps.

Changelog

  • f97dd93 Make nix build produce a static binary
  • b9bca9f bump nix to v1.40
  • dd2cb88 feat #258: Added configurable daemon launch timeout
  • b34afe4 feat #266: Start disabled processes if specified explicitly
  • 9bb8297 feat #268: Added setting to disable the exit confirmation in TUI
  • aba328e feat #270: Add configuration inheritance with extends
  • aef7723 feat #271: Get Individual Process State in CLI
  • 1e6ff70 fix #252: Allow clicking on shortcut buttons
  • 2f0dfb9 fix #258: Prevent PC stuck in down command with daemon Launching scenario
  • 6a6182b fix #258: don't run stopped process while waiting for restart
  • ff2eaa9 fix #258: fix race condition for stopping killed daemons
  • 6b724f8 fix #261: validate all dependencies are defined
  • ba1d0d7 fix #265: Disable dynamic linking in Nix build
  • b0d388b fix: Prevent EOF error on process-compose down
  • a867fdb fix: Update test hangs sometimes
  • 994e543 internal: Dependencies updated

v1.34.0

04 Oct 15:28
Compare
Choose a tag to compare

What Changed

  • Added ability to edit processes on the fly CTRL+E
  • Added ability to reload process-compose.yaml project configuration on the fly CTRL+L
  • Added Open API 3 schema generation
  • Added IPv6 support to port information
  • Added ability to trigger actions from the shortcuts dialog F1
  • Added CPU usage to processes table
  • Added overall RAM and CPU usage to the TUI. Issue #254

Bug Fixes

  • Elevated processes no longer ask for password when it is not needed (cached or sudoers). Issue #250
  • Disabled processes no longer start on configuration reload or update.
  • Process Compose now terminates gracefully on TUI SIGHUP. Thank you @gcurtis
  • Fixed Process Info dialog vertical size

Changelog

  • 663b8d0 feat #254: Added overall system resource usage statistics to the TUI
  • 3f53128 feat: Added ability to edit processes on the fly
  • b43369f feat: Trigger actions from the help dialog
  • b245a4b feat: add proc control to command pallet
  • 74f786b feat: added IPv6 port query support
  • ff0c746 feat: added TUI shortcut to reload the running project
  • 6576fb2 feat: added cpu usage to process table
  • 64430a6 fix #250: is_elevated doesn't ask for pass when not needed
  • d409e61 fix #253: added OAS 3 generation
  • 132d596 fix #253: added OAS 3 missing types
  • 0e68b4d fix-lint: added golangci-lint
  • e68fb5f fix-lint: remove select on a single case
  • 16eabf9 fix-lint: remove unused mutex
  • f3a41fd fix-lint: replace fmt.Errorf with errors.New
  • 0ff2a1e fix-lint: screen split explicit state
  • a5fb990 fix-lint: use time.Since
  • 33435d8 fix: don't exit PC on reload with parsing errors
  • 9508b31 fix: fix proc info form height
  • bc0a228 internal: bump nix to v1.34
  • a5a7ebb internal: goreleaser brews fix
  • c3f3293 tui: don't log.Fatal on appView.Run error

v1.27.0

14 Sep 21:04
Compare
Choose a tag to compare

What Changed

  • Added ability to force termination of processes that fail to terminate after shutdown.timeout_seconds. Issue #214
  • Added ability to list the running processes directly process-compose ls without the process-compose process sub-command. Issue #232
  • Added ability to update projects on the fly process-compose project update. Issue #233
  • Added "spinner" to the TUI to indicate that processes' long termination now performed in the background.
  • Dependencies update

Bug Fixes

  • Fixed a race condition between a process and its logs. Issue #237
  • When TUI starts now it automatically selects the fist enabled process. Issue #238
  • Fixed a race condition for very short project that could cause the TUI to hang. Issue #239

Full Changelog

v1.24.2

22 Aug 19:11
Compare
Choose a tag to compare

Bug Fixes

  • 44f9226 fix #236: fix rune conflicts with command mode
  • 9292f9f fix: Prefer os.Process.Signal to syscall.Kill

v1.24.0

17 Aug 19:43
Compare
Choose a tag to compare

What Changed

  • Added ability to exit process-compose on skipped process availability.exit_on_skipped. Issue #225. Huge thanks to @shivaraj-bh 🔥
  • Added ability to start process compose in detached mode -D. Issue #169
  • Added ability to clear TUI logs and mark logs position. Issue #222
  • Added configuration is_tui_disabled: true to compose.yaml to start without TUI.
  • Added support for multiple, configurable .env files (-e flag). Issue #220

Bug Fixes

  • Check if unix socket is in use before removing it. Issue #224. Huge thanks to @mkenigs 🔥

Changelog

  • 3937434 feat #169: Add --detach option
  • 38a472f feat #220: Support for custom .env files
  • 1f86a5d feat #222: Added logs clear and mark (Ctrl-K and m)
  • 9631b60 feat : Added configuration to compose.yaml to start without TUI
  • e3d9281 feat: Add availability.exit_on_skipped
  • c47a7af feat: Validate compose.yaml before running in detached mode
  • 14b33bc fix: check if unix socket is in use

v1.18.0

10 Aug 12:06
Compare
Choose a tag to compare

What Changed

  • Added Go templating for probes http port. Issue #196
  • Added ability to load local configuration (environment variables) through .pc_env on Process Compose start. Issue #194
  • Added flag (--tui-fs) and env variable to start Process Compose TUI in full screen mode. Issue #194
  • Added support for hjkl navigation in TUI modals. Issue #193
  • All the CLI commands are now documented. Issue #202
  • Added ability to keep the project running even when all the processes stopped --keep-project flag. This deprecates the --keep-tui flag. Issue #200
  • Added better error reporting for failures in stopping processes. Issue #198
  • Added flag (--hide-disabled) and env variable to start the TUI with all the disabled processes hidden. To show, press Ctrl+D. Issue #207
  • Improved robustness of multi-process stop command. Issue #199
  • Dependencies update

Bug Fixes

  • Fixed missing attention messages (e.g. shutting down)

Breaking Changes

  • Before: processes/stop PATCH REST API returned a list of stopped processes
  • Now: processes/stop PATCH REST API returns a map of stopped processes and the result of the operation. ok on success, error description in case of failure.

Changelog

  • 04e2065 Added Google Analytics to MkDocs
  • c3a16e8 Print log write errors to stderr rather than stdout
  • e207158 bugfix: Fixed missing attention messages with duration 0
  • 69f28a0 deps: dependencies update
  • 9daea44 feat #193: Support hjkl navigation in TUI modals
  • 5c83437 feat #194: Added flag and env to start with full screen
  • 4ce8ac7 feat #194: Load .pc_env on PC start
  • 2ad462d feat #196: Add Go templating for probe http port
  • c039f38 feat #198: Distinguish between stopped and nonexistent processes
  • 592c713 feat #198: added failure reason for verbose stop mode
  • 7de08c1 feat #199: stopping multiple procs will not fail fast
  • cf49a0d feat #200: Don't shut down process-compose unless requested
  • 7e95cfe feat #202: Added CLI to the documentation
  • 842083c feat #207: added flag and env to hide disabled tui processes
  • 5b0607f feat: announce to x
  • 8d6a662 idx adjustments
  • 044b71d internal: bump nix to v1.18

v1.9.0

25 Jul 21:28
Compare
Choose a tag to compare

What Changed

  • Added memory monitoring. Thanks to @themartdev 🔥
  • Added ability for readiness dependencies to wait through process restarts. Issue #189
  • Added an argument to disable .env file loading. Issue #192
  • Added elevated process (sudo) support. Issue #190

Bug Fixes

Issue #197: Fixes race condition while shutting down Process Compose. Thanks @dcarley 🔥
Issue #191: Fix the remote logs' channel race condition for noisy processes.

Changelog

  • 042b8bb Added memory monitoring
  • 0737a02 GoReleaser announce to Discord
  • 07947a7 Gracefully shutdown HTTP server
  • 6a1645a Issue #189: Allow readiness dependencies to wait through process restarts
  • b7ede9c Issue #190: Added sudo support
  • bd0da22 Issue #191: Fix logs channel race condition
  • bfcec4c Issue #192: Added an argument to disable .env loading
  • 598c41e Pass errors down from ProjectRunner
  • 8382b85 bump nix to v1.9.0
  • f5d9f06 feat #205: updated default.nix vendorHash

v1.6.1

17 May 21:20
Compare
Choose a tag to compare

What Changed

  • Added ability to escape or entirely disable auto env variables expansion. Issue #120
  • Added ability to specify TUI refresh rate as Go duration. Huge thanks to @diamondburned
  • Dependencies update

Bug Fixes

  • Issue #186: Fix tview border click crash. Thanks @srid

Changelog

  • a8aa8d3 Added gh wf to make
  • aa251ae Allow specifying duration for --ref-rate/-r flag
  • 3cd252d Bump nix to v1.6.1
  • f6607fc Dependencies update
  • dda6ac7 Issue #120: Add configuration to disable env auto expansion
  • 8877e7f Issue #186: Fix tview border click crash