Skip to content

Version 1.1.0 Alpha 2

Pre-release
Pre-release

Choose a tag to compare

@allejo allejo released this 15 Jun 07:15
· 42 commits to master since this release
51fb4d9

Changes since v1.1.0-alpha.1

⚠️ BC Breaking Changes

Because the 1.1.x series of this project is still in development, BC-breaking changes can and will happen. Here they are:

  • Removed WorldDatabase::getDatabase() method, no one should have access to the raw world database buffer
  • Renamed GroupDefinition::getGroups() to getGroupInstances()
  • Renamed ReplayHeader::getWorld() to ReplayHeader::getWorldDatabase()
  • GroupDefinition::setObstaclesByType can no longer accept null for the $type argument and can no longer do full replacements of all object types; the new GroupDefinition::setObstacles() method was introduced for this purpose

New

  • Added new WorldDatabase::getWorldHash() method
  • Added support for unpacking group instances in the new GroupInstance class
  • Added new GroupDefinitionManager::getGroupDefinition() method
  • Obstacles can now be replaced in non-frozen GroupDefinition instances
  • Added new GroupDefinition::getObstacles() and GroupDefinition::setObstacles()

Changes

  • Our GroupDefinitionManager now stores group definitions by name instead of an arbitrary index
  • All world obstacles now have access to the World Database it belongs to

Fixes

  • Fixed incorrect unpacking of MeshTransform names
  • Fixed incorrect unpacking and JSON serialization of Mesh objects