Releases: markus-wa/demoinfocs-golang
Releases · markus-wa/demoinfocs-golang
v2.11.0
v2.10.1
v2.10.0
v2.9.1
v2.9.0
v2.8.1
v2.8.0
v2.7.1
de_grind crash fix
See #280 for more information, especially if you need to know the bombsite for some of the bomb related events.
Changes
BombEvent.Site
may now be unknown/undefined (meaning neitherBombsiteA
norBombsiteB
), see #280 for more details- Replaced
panic: bomb not planted on bombsite A or B
withParserWarn
event with the same message - Added
ParserWarn.Type
to reliably identify kinds of warnings, currently onlyWarnTypeBombsiteUnknown
exists
v2.7.0
New Features / Changes
- Added
Player.CrosshairCode()
to get players crosshair codes (#274 - thanks @captainswain) - Calling
Parser.Cancel()
will no longer send already-parsed events to event and message handlers, and will instead unregister all existing handlers
Fixes
- Common: fix active
Player.ActiveWeapon()
sometimes being off right after buy - Fixed deadlock caused by calling
Parser.Cancel()
multiple times within the same frame (#276 - thanks @Julien2313) - Upgraded some outdated transitive dependencies flagging up as vulnerable in Snyk (#275)
- note: no known code-path to vulnerable code was found, so this is more of a routine update
v2.6.0
Hostages!
New Features / Changes
- Improved hostage map support (#269 - thanks @akiver)
- Added
GameState.Hostages()
- Added hostage events
HostageRescued
HostageRescuedAll
HostageHurt
HostageKilled
HostageStateChanged
- Added
- Added additional data to
Kill
event (#270 - thanks @akiver)AssistedFlash
AttackerBlind
NoScope
ThroughSmoke
Distance
- Added
GameState.Rules().RoundTime()
- returns the total round time in the current match - Added
GameState.Rules().BombTime()
- returns the total bomb time in the current match - Added
GameState.Rules().FreezeTime()
- returns the total freeze time in the current match - Added
GameState.Rules().ConVars()
- replacesGameState.ConVars()
Deprecations
- Deprecated
GameState.ConVars()
in favour ofGameState.Rules().ConVars()