Releases: markus-wa/demoinfocs-golang
Releases · markus-wa/demoinfocs-golang
v0.5.0
API Breaking Changes
- Removed
warnHandler
parameter fromNewParser()
, replaced the old warning system withParserWarnEvent
- Replaced
NewParserWithBufferSize()
withNewParserWithConfig()
to allow for changes in the future without breaking the API
New Features
- Added
events.GenericGameEvent
which is fired for all currently unhandled events. - Parsing and handling of all net-messages via
Parser.RegisterNetMessageHandler()
. Currently unparsed net-messages can be parsed by adding an entry toParserConfig.AdditionalNetMessageCreators
. 1 - Added
ParserConfig.AdditionalEventEmitters
which can be used to enable fuzzy logic from thefuzzy
package. 1
Currently there is only oneEventEmitter
implementation which emitsfuzzy.TeamSwitchEvent
s for Valve MM demos. More will be added if this feature proves to be of use.
- Beta feature - this feature is subject to change / replacement without warning.
v0.4.0
This release has some breaking changes with the goal of cleaning up the API.
API Breaking Changes
- Moved game-state relevant info into
Parser.GameState()
(i.e. players, team states / scores etc.) - Moved
Parser.{FrameRate(),FrameTime()}
toDemoHeader.*
(Accessible viaParser.Header()
)
Changes
- Exposed access to DataTables (a.k.a. SendTables) via
Parser.SendTableParser()
1 - Added
StringTableCreatedEvent
1 - Print out demo-commands when debugging
Fixes
- Fixed
UpdateStringTable
messages not being handled correctly - Fixed
unassigned
players becoming CTs (Players who haven't chosen a side yet / some spectators)
- Beta feature - this feature is subject to change / replacement without warning.
v0.3.0
API Breaking Changes
- Changed bomb-events attribute
Site
to be of typebombsite
(eitherevents.BombsiteA
orevents.BombsiteB
) instead ofrune
- Changed name of field
BombBeginDefuseEvent.Defuser
toPlayer
so as to be in line with the other bomb-events
Changes
- Added build tag
debugdemoinfocs
for debugging game events etc. - Vendoring with
dep
- Bitread v0.2.1 (
BitReader.Skip()
)
Fixes
- Fixed
BombBeginDefuseEvent
not being handled byBombEventIf
handlers
Vendoring
We are using a separate repository for dependencies (https://github.com/markus-wa/demoinfocs-golang-vendor). The reason behind that is to avoid cluttering the repo and avoid search results on github returning irrelevant results.
v0.2.0
v0.1.1
v0.1.0
Finally, the first (pre-)release (This should have been done a while ago).
The API is fairly stable and most things should work pretty well at this point.
There are still some bugs and improvements to be made until I feel good about putting a v1.0.0 out there.