v1.0.0-beta.5
Pre-release
Pre-release
·
972 commits
to master
since this release
API Breaking Changes
- Migrated from dep to Go Modules (aka
vgo) as dependency management system (#61) - Changed return type of
Parser.GameState()fromGameStatetoIGameState(#66) - Changed return type of
GameState.Participants()fromParticipantstoIParticipants(#66) - Moved type
TeamStateto packagecommon(#55) - Removed
ParserConfig.AdditionalEventEmittersand packagefuzzysince there are now good team/side-switching events (#21).
New Features / Changes
- Mockable API (#66)
- Automatic parsing of header if not done manually - this means
Parser.ParseHeader()no longer needs to be called if the header is not needed. - Added
Equipment.ZoomLevelfield to indicate how zoomed-in the player is on his weapon (#60) - Added
ScoreUpdatedevent and movedTeamStateto packagecommon(#55) - Added events
TeamSideSwitch,GameHalfEnd,GamePhaseChanged(#62) - Added
GameState.IsWarmupPeriod(),GameState.MatchStarted()and eventsIsWarmupPeriodChanged&MatchStartedChanged(#63 & #64)
Fixes
- Fixed some implementations of
io.Readernot working as demo sources (when the reader returns less than the requested number of bytes before EOF). - Fixed no events being dispatched in some demos when there should be (#56)
- Fixed bad
Inferno.ConvexHull2D()(#58) - Fixed
Inferno.IsBurningnot always being set totruewhen it should be (#59)
Contributors
Thanks to @micvbang for the various contributions to this release.
Roadmap
See https://github.com/markus-wa/demoinfocs-golang/wiki/v1.0.0-Roadmap