v1.0.0-beta.5
Pre-release
Pre-release
·
887 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()
fromGameState
toIGameState
(#66) - Changed return type of
GameState.Participants()
fromParticipants
toIParticipants
(#66) - Moved type
TeamState
to packagecommon
(#55) - Removed
ParserConfig.AdditionalEventEmitters
and packagefuzzy
since 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.ZoomLevel
field to indicate how zoomed-in the player is on his weapon (#60) - Added
ScoreUpdated
event and movedTeamState
to packagecommon
(#55) - Added events
TeamSideSwitch
,GameHalfEnd
,GamePhaseChanged
(#62) - Added
GameState.IsWarmupPeriod()
,GameState.MatchStarted()
and eventsIsWarmupPeriodChanged
&MatchStartedChanged
(#63 & #64)
Fixes
- Fixed some implementations of
io.Reader
not 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.IsBurning
not always being set totrue
when 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