Skip to content

Releases: WoozyMasta/bercon-cli

Release v0.4.3

10 Dec 11:42
v0.4.3
586a41e

Choose a tag to compare

0.4.3 - 2025-12-10

Changed

  • Fixed issue where Send() would block indefinitely if the connection manager loop crashed or became unresponsive.
  • Fixed race conditions when calling Close() multiple times.
  • Decoupled message handling into a dedicated dispatchLoop.
  • Internal request channels are now buffered to reduce latency during high-load command sending.
  • Improved IsAlive() accuracy. It now tracks the last received packet time and detects dropped connections without extra network overhead.

VirusTotal analysis results

Release v0.4.2

09 Oct 01:20
v0.4.2
7110bd6

Choose a tag to compare

Release v0.4.1

08 Oct 22:08
v0.4.1
757c0eb

Choose a tag to compare

0.4.1 - 2025-10-08

Added

  • RC file support --config (-c) flag to load INI config with [globals] and [profile.*] sections.
  • Profile selection --profile (-n) flag to select a named profile from RC file.
  • Profile listing --list-profiles (-l) flag to show available profiles in a formatted table.
  • Config discovery auto-detected in platform-specific paths:
    • Linux and others: ~/.config/bercon-cli/config.ini, ~/.bercon-cli.ini
    • macOS: ~/Library/Application Support/bercon-cli/config.ini
    • Windows: %APPDATA%\bercon-cli\config.ini
  • --server-cfg (-r) option to auto-load settings from beserver_x64*.cfg. Supports both file and directory paths, automatically picks active or latest config.
  • --example (-e) flag to print an example RC file.

Changed

  • CLI now merges configuration in layered order: CLI > Env > RC file (globals/profile) > beserver_x64*.cfg.
  • Reworked table rendering for Players and Admins:
    • Split combined IP:Port into separate IP and Port columns.
    • Added missing Valid and Lobby columns for consistency.

VirusTotal analysis results

Release v0.4.0

30 Sep 01:02
v0.4.0
90901d4

Choose a tag to compare

0.4.0 - 2025-09-30

Added

  • CLI: new --format flag (table, json, plain, md, html).
  • printer: pretty tables via go-pretty
  • printer: Markdown/HTML rendering
  • beparser: geo enrichment: country, city, lat, lon.
  • bercon: duration-based setters and getters (SetKeepalive, Keepalive, SetDeadline, Deadline, SetMicroSleep, MicroSleep).
  • Makefile (release matrix, winres patch, SBOM)

Changed

  • bercon: rewritten manager/reader loops for robustness
  • bercon: strict multipart assembly
  • bercon: protocol checks
  • bercon: normalized errors
  • bercon: enforced CRC/header validation
  • bercon: max command body limit
  • printer: unified rendering via ParseAndPrintData(w, ...)
  • printer: table captions with totals.

Migration Notes

  • JSON consumers should be aware of new fields city, lat, lon (additive, non-breaking).
  • CLI --json remains supported for backward compatibility; prefer --format=json.

VirusTotal analysis results

Release v0.3.1

28 Jan 15:00
v0.3.1

Choose a tag to compare

0.3.1 - 2025-01-28

Changed

  • listener now uses a waiting group and checks for connectivity in all received
    packets to prevent race conditions when reading from a message channel

VirusTotal analysis results

Release v0.3.0

14 Jan 21:17
v0.3.0

Choose a tag to compare

0.3.0 - 2025-01-14

Refactoring and Simplification

Added

  • new Messages channel in Connection for receiving server messages
    (authorization status, server notifications) sent by the server not
    in response to direct commands
  • 32x32 and 64x64 winres icons for cli
  • .golangci.yml config and fix linting issues
  • more detailed comments in accordance with godoc

Changed

  • cli args parse now with jessevdk/go-flags
  • removed logging from bercon and bercon-cli
  • dependencies related to cli have been moved to internal packages

VirusTotal analysis results

Release v0.2.0

11 Dec 00:11
v0.2.0

Choose a tag to compare

0.2.0 - 2024-12-11

Added

  • Output of short country code based on GeoIP data in plain or JSON response format if path to mmdb GeoIP city database is specified in --geo-db flag, -g or BERCON_GEO_DB variable
  • ParseWithGeo and ParseWithGeoDB functions in beparser for simple use with geo data
  • beprinter package for simple response data printing
  • Bill of materials for cli and binaries
  • CI stage to check the alignment of go structure fields

Changed

  • Aligned fields for all go structures
  • Update dependencies

VirusTotal analysis results

Release v0.1.1

08 Dec 04:36
v0.1.1

Choose a tag to compare

Release v0.1.0

29 Nov 03:21
v0.1.0

Choose a tag to compare

0.1.0 - 2024-11-28

Added

  • First public release