Skip to content

v2.0.0-beta.5

Pre-release
Pre-release

Choose a tag to compare

@markus-wa markus-wa released this 12 Apr 16:18
· 182 commits to v2 since this release
f9a5eeb

Doc Links

The new docs are hosted on the fabulous new go.dev page.

Package docs: https://pkg.go.dev/mod/github.com/markus-wa/demoinfocs-golang/[email protected]
API docs: https://pkg.go.dev/github.com/markus-wa/demoinfocs-golang/[email protected]/pkg/demoinfocs?tab=doc

Go Get

Watch out, there's a new module path for go get and import!

go get -u github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs

Breaking Changes

  • See v2.0.0-beta.4 for more breaking changes since v1.x
  • Made NewParserWithConfig return Parser interface instead of private struct
  • Removed redundant funcs common.EquipmentElementNames() and common.GamePhaseNames()
    EquipmentType.String() and GamePhase.String() will achieve the same result.
  • Removed obsolete func ItemPickup.WeaponTraceable()
    ItemPickup.Weapon should now be identical (see #119)
  • Changed type of Item{Pickup,Drop,Equip}.Weapon from Equipment struct to pointer of the same type
  • Removed Item{Pickup,Drop,Equip}.WeaponPtr