All notable changes to this project will be documented in this file.
ATTN: This project uses semantic versioning.
- Added maxCommandLen setting and SetMaxCommandLen function.
v1.4.0 - 2024-11-16
- Minor fixes in packet package.
- Fixed Go Coverage badge.
- Updated Golang to 1.23.3 version.
- Updated golangci linter to 1.62.0 version.
- Added
Open
function asDial
alternative for create RCON connection with an existing net.Conn connection.
v1.3.5 - 2024-02-03
- Updated Golang to 1.21.6 version.
- Updated golangci linter to 1.55.2 version.
v1.3.4 - 2022-11-12
- Minor fixes in packet package.
- Updated Golang version to 1.19.
- Updated golangci linter to 1.50.1 version.
v1.3.3 - 2022-05-16
- Added "response from not rcon server" error on auth request (Re fixed panic: runtime error: makeslice: len out of range in rcon.Dial #5).
v1.3.2 - 2022-05-16
- Fixed panic: runtime error: makeslice: len out of range in rcon.Dial
- Updated golangci linter to 1.42.1 version
v1.3.1 - 2021-01-06
- Updated golangci linter to 1.33 version
- Changed errors handling - added wrapping.
v1.3.0 - 2020-12-02
- Fixed wrong number of bytes written in Packet WriteTo function.
- Added rcontest Server for mocking RCON connections.
v1.2.4 - 2020-11-14
- Added the ability to run tests on a real Project Zomboid server. To do this, set environment variables
TEST_PZ_SERVER=true
,TEST_PZ_SERVER_ADDR
andTEST_PZ_SERVER_PASSWORD
with address and password from Project Zomboid remote console. - Added the ability to run tests on a real Rust server. To do this, set environment variables
TEST_RUST_SERVER=true
,TEST_RUST_SERVER_ADDR
andTEST_RUST_SERVER_PASSWORD
with address and password from Rust remote console. - Added invalid padding test.
- Changed CI workflows and related badges. Integration with Travis-CI was changed to GitHub actions workflow. Golangci-lint job was joined with tests workflow.
v1.2.3 - 2020-10-20
- Fixed read/write deadline. The deadline was started from the moment the connection was established and was not updated after the command was sent.
v1.2.2 - 2020-10-18
- Added one more workaround for Rust server. When sent command "Say" there is no response data from server with packet.ID = SERVERDATA_EXECCOMMAND_ID, only previous console message that command was received with packet.ID = -1, therefore, forcibly set packet.ID to SERVERDATA_EXECCOMMAND_ID.
v1.2.1 - 2020-10-06
- Added authentication failed test.
- Updated Golang version to 1.15.
v1.2.0 - 2020-07-10
- Added options to Dial. It is possible to set timeout and deadline settings.
- Change
SERVERDATA_AUTH_ID
andSERVERDATA_EXECCOMMAND_ID
from 42 to 0. Conan Exiles has a bug because of which it always responds 42 regardless of the value of the request ID. This is no longer relevant, so the values have been changed.
- Renamed
DefaultTimeout
const toDefaultDeadline
- Changed default timeouts from 10 seconds to 5 seconds
v1.1.2 - 2020-05-13
- Added go modules (go 1.13).
- Added golangci.yml linter config. To run linter use
golangci-lint run
command. - Added CHANGELOG.md.
- Added more tests.
- Initial implementation.