Skip to content

v1.0.0-beta.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@markus-wa markus-wa released this 28 Nov 08:55
· 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() from GameState to IGameState (#66)
  • Changed return type of GameState.Participants() from Participants to IParticipants (#66)
  • Moved type TeamState to package common (#55)
  • Removed ParserConfig.AdditionalEventEmitters and package fuzzy 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 moved TeamState to package common (#55)
  • Added events TeamSideSwitch, GameHalfEnd, GamePhaseChanged (#62)
  • Added GameState.IsWarmupPeriod(), GameState.MatchStarted() and events IsWarmupPeriodChanged & 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 to true 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