Releases: markus-wa/demoinfocs-golang
Releases · markus-wa/demoinfocs-golang
v5.1.2 - Fix High Memory Usage after CS2 Update of 22nd Jan 2026
Go Get
go get -u github.com/markus-wa/demoinfocs-golang/v5/pkg/demoinfocs@v5.1.2
Changes
- Updated protobufs to latest game version - thanks @akiver
Fixes
- Fixed high memory usage due to incorrect decoding of
ResourceId_t- thanks @akiver - Fixed possible nil deref panic in
Player.IsSpottedBy()- thanks @akiver - Fixed debugging via
go run -tags debugdemoinfocs
Discussions / Chat / Announcements
v5.1.0
Go Get
go get -u github.com/markus-wa/demoinfocs-golang/v5/pkg/demoinfocs@v5.1.0
New Features
- Added an event
PlayerButtonsStateUpdatetriggered when a player pressed a button (jump, attack...) and a functionplayer#IsPressingButtonto check if a player is pressing a specific button. See the example for usage - thanks @akiver
Fixes
- Fixed potential panic in
player.EquipmentValueCurrent()- thanks @akiver
Discussions / Chat / Announcements
v4.5.1
v4.5.0
New Features
- (CS2 only!) Added an event
PlayerButtonsStateUpdatetriggered when a player pressed a button (jump, attack...) and a functionplayer#IsPressingButtonto check if a player is pressing a specific button. See the example for usage - (CS:GO only, use the new event
PlayerButtonsStateUpdatefor CS2!) Added an eventPlayerInspectingWeapontriggered when a player started to inspect his weapon
Changes
- fix: possible panic on player connection
v5.0.5
v5.0.4 - Fix "nil pointer dereference"
Fixes
- Fixed potential "nil pointer dereference" error on
Player.PlayerPawnEntity()- ab871b0
v5.0.3 - Fix for CS2 Update
v4.4.0
v5.0.2
Fixes compilation issue with v5.0.0 + v5.0.1
Go Get
go get -u github.com/markus-wa/demoinfocs-golang/v5/pkg/demoinfocs@v5.0.2
New Features
- Added support for CSTV Broadcast parsing, enabling live match analysis - see example
Breaking Changes
- Upgraded version from v4 to v5, changing import paths from
github.com/markus-wa/demoinfocs-golang/v4/...togithub.com/markus-wa/demoinfocs-golang/v5/...sed -i 's/demoinfocs-golang\/v4/demoinfocs-golang\/v5/' **/*.gomay be useful to upgrade, use at your own risk
- Removed CS:GO demo support, use
v3for CS:GO (this can be used alongside v5 in the same project without conflict - Removed
Parser.ParseHeader&common.DemoHeader- usemsg.CDemoFileHeader&msg.CSVCMsg_ServerInfoinstead - Removed code marked as deprecated in v4 and code related to CS:GO
Discussions / Chat / Announcements
v5.0.1
Fixes compilation issue with v5.0.0
Go Get
go get -u github.com/markus-wa/demoinfocs-golang/v5/pkg/demoinfocs@v5.0.1
New Features
- Added support for CSTV Broadcast parsing, enabling live match analysis - see example
Breaking Changes
- Upgraded version from v4 to v5, changing import paths from
github.com/markus-wa/demoinfocs-golang/v4/...togithub.com/markus-wa/demoinfocs-golang/v5/...sed -i 's/demoinfocs-golang\/v4/demoinfocs-golang\/v5/' **/*.gomay be useful to upgrade, use at your own risk
- Removed CS:GO demo support, use
v3for CS:GO (this can be used alongside v5 in the same project without conflict - Removed
Parser.ParseHeader&common.DemoHeader- usemsg.CDemoFileHeader&msg.CSVCMsg_ServerInfoinstead - Removed code marked as deprecated in v4 and code related to CS:GO