Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit bf7978a

Browse files
authored
0.2.0 release pre-validation (#851)
* Completed all pre-validation steps * Update Changelog
1 parent c9d9081 commit bf7978a

File tree

10 files changed

+41
-38
lines changed

10 files changed

+41
-38
lines changed

CHANGELOG.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
## Unreleased
44

5+
## `0.2.0` - 2019-03-18
6+
57
### Breaking Changes
68

79
- Changed the format of the BuildConfiguration asset. Please recreate, or copy it from `workers/unity/Playground/Assets/Config/BuildConfiguration.asset`.
8-
- Command request and responses are no longer constructed from that static methods `CreateRequest` and `CreateResponse`. Instead they are have constructors that take the same arguments.
10+
- Command request and responses are no longer constructed from static methods `CreateRequest` and `CreateResponse`. Instead, they are constructors that take the same arguments.
911
- The `Require` attribute has moved from the `Improbable.Gdk.GameObjectRepresentation` namespace to the `Improbable.Gdk.Subscriptions` namespace.
1012
- The generated Readers have been renamed from `{COMPONENT_NAME}.Requirable.Reader` to `{COMPONENT_NAME}Reader`.
1113
- The Reader callback events' names have changed.
@@ -15,17 +17,17 @@
1517
- The Writer send method names have changed.
1618
- `Send{EVENT_NAME}` is now `Send{EVENT_NAME}Event`.
1719
- `Send` is now `SendUpdate`.
18-
- The generated command senders in Monobehaviours have also changed.
19-
- `{COMPONENT_NAME}.Requirable.CommandRequestSender` and `{COMPONENT_NAME}.Requirable.CommandResponseHandler` have been combined and is now called `{COMPONENT_NAME}CommandSender`.
20+
- The generated command senders in MonoBehaviours have also changed.
21+
- `{COMPONENT_NAME}.Requirable.CommandRequestSender` and `{COMPONENT_NAME}.Requirable.CommandResponseHandler` have been combined and are now called `{COMPONENT_NAME}CommandSender`.
2022
- `{COMPONENT_NAME}.Requirable.CommandRequestHandler` is now called `{COMPONENT_NAME}CommandReceiver`.
21-
- When creating game objects, the `IEntityGameObjectCreator.OnEntityCreated` signature has changed from `GameObject OnEntityCreated(SpatialOSEntity entity)` to `void OnEntityCreated(SpatialOSEntity entity, EntityGameObjectLinker linker)`.
23+
- When creating GameObjects, the `IEntityGameObjectCreator.OnEntityCreated` signature has changed from `GameObject OnEntityCreated(SpatialOSEntity entity)` to `void OnEntityCreated(SpatialOSEntity entity, EntityGameObjectLinker linker)`.
2224
- The signature of `IEntityGameObjectCreator.OnEntityCreated` has changed from `void OnEntityRemoved(EntityId entityId, GameObject linkedGameObject)` to `void OnEntityRemoved(EntityId entityId)`.
23-
- All linked `GameObject` instances will still be unlinked before this is called, however it is now the user's responsibility to track if a `GameObject` was created when the entity was added.
24-
- You should now call `linker.LinkGameObjectToSpatialOSEntity()` to link the `GameObject` to the SpatiaOS entity.
25-
- You should also pass in a list of `ComponentType` to `LinkGameObjectToSpatialOSEntity` which you wish to be copied from the `GameObject` to the ECS entity associated with the `GameObject`.
26-
- Note that for the Transform Synchronization feature module to work correctly, there must be a linked `Transform` `GameObject` component. `Rigidbody` should also be added if one is present on the `GameObject`.
27-
- There is no limit on the number of `GameObject` instances that can be linked to a SpatialOS entity. However the same component type can not be added more than once.
28-
- Deleting a linked `GameObject` will unlink it from the SpatialOS entity automatically.
25+
- All linked `GameObject` instances are still unlinked before this is called, however it is now your responsibility to track if a `GameObject` was created when the entity was added.
26+
- You should now call `linker.LinkGameObjectToSpatialOSEntity()` to link the `GameObject` to the SpatialOS entity.
27+
- You should also pass-in a list of `ComponentType` to `LinkGameObjectToSpatialOSEntity` which you wish to be copied from the `GameObject` to the ECS entity associated with the `GameObject`.
28+
- Note that for the Transform Synchronization feature module to work correctly, you need to set up a linked Transform Component on your GameObject. You also need to link any Rigidbody Component on your GameObject.
29+
- There is no limit on the number of GameObject instances that you can link to a SpatialOS entity. However, you cannot add a component type to a linked GameObject instance more than once.
30+
- Deleting a linked GameObject unlinks it from the SpatialOS entity automatically.
2931
- `SpatialOSComponent` has been renamed to `LinkedEntityComponent`.
3032
- The field `SpatialEntityId` on the `LinkedEntityComponent` has been renamed to `EntityId`.
3133
- The field `Entity` has been removed.
@@ -37,9 +39,9 @@
3739
- Note that generated types that implement `ISpatialComponentData` are not marked as `Serializable`.
3840
- Added the `DynamicConverter` class for converting a `ISpatialComponentSnapshot` to an `ISpatialComponentUpdate`.
3941
- Added a generated ECS shared component called `{COMPONENT_NAME}.ComponentAuthority` for each SpatialOS component.
40-
- This component contains a single bool which denotes whether you have authority over that component.
41-
- It will not tell you about soft-handover (`AuthorityLossImminent`).
42-
- You may now `[Require]` `EntityId`, `Entity`, `World`, `ILogDispatcher`, and `WorldCommandSender` in Monobehaviours.
42+
- This component contains a single boolean which denotes whether a server-worker instance has write access authority over that component.
43+
- The component does not tell you about soft-handover (`AuthorityLossImminent`).
44+
- You may now `[Require]` an `EntityId`, `Entity`, `World`, `ILogDispatcher`, and `WorldCommandSender` in MonoBehaviours.
4345
- Added constructors for all generated component snapshot types.
4446
- Added the ability to send arbitrary serialized data in a player creation request.
4547
- Replaced `Vector3f` position in `CreatePlayerRequestType` with a `bytes` field for sending arbitrary serialized data.
@@ -51,16 +53,16 @@
5153

5254
- Upgraded the Worker SDK version to `13.6.2`.
5355
- Improved the UX of the BuildConfiguration inspector.
54-
- Improved the UX of the GDK Tools Configuration window.
55-
- Deleting a `GameObject` now automatically unlinks it from its ECS entity. Note that the ECS entity and the SpatialOS entity are _not_ also deleted.
56+
- Improved the UX of the GDK’s Tools Configuration window.
57+
- Deleting a GameObject now automatically unlinks it from its ECS entity. Note that the ECS entity and the SpatialOS entity are _not_ also deleted.
5658
- Changed the format of the BuildConfiguration asset. Please recreate, or copy it from `workers/unity/Playground/Assets/Config/BuildConfiguration.asset`.
5759
- Building workers will not change the active build target anymore. The build target will be set back to whatever was set before starting the build process.
5860

5961
### Fixed
6062

61-
- Fixed a bug where running `SpatialOS -> Generate code` would always regenerate code, even if no files had changed.
62-
- Fixed a bug where building all workers in our sample projects would fail, if you have Android build support installed, but didn't set the path to the Android SDK.
63-
- Fixed a bug where some prefabs would not be processed correctly, causing NullReferenceExceptions in OnEnable.
63+
- Fixed a bug where, from the SpatialOS menu in the Unity Editor, running **SpatialOS ** > **Generate code** would always regenerate code, even if no files had changed.
64+
- Fixed a bug where building all workers in our sample projects would fail if you have Android build support installed but didn't set the path to the Android SDK.
65+
- Fixed a bug where some prefabs would not be processed correctly, causing `NullReferenceExceptions` in `OnEnable`.
6466

6567
### Internal
6668

@@ -69,14 +71,15 @@
6971
- Exposed annotations in the code generator model.
7072
- Added a `MockConnectionHandler` implementation for testing code which requires the world to be populated with SpatialOS entities.
7173
- Added tests for `StandardSubscriptionManagers` and `AggregateSubscription`.
72-
- Re-added tests for Reader/Writer injection criteria and Monobehaviour enabling.
74+
- Re-added tests for Reader/Writer injection criteria and MonoBehaviour enabling.
7375
- Reactive components have been isolated and can be disabled.
7476
- Subscriptions API has been added, this allows you to subscribe anything for which a manager has been defined.
75-
- This now backs the `Require` API in Monobehaviours
76-
- Low level APIs have been changed significantly.
77+
- This now backs the `Require` API in MonoBehaviours.
78+
- Low-level APIs have been changed significantly.
7779
- Added a View separate from the Unity ECS.
7880
- Removed unnecessary `KcpNetworkParameters` overrides in `MobileWorkerConnector` where it matched the default values.
7981

82+
8083
## `0.1.5` - 2019-02-18
8184

8285
### Changed

packer.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"package_name": "gdk-for-unity",
3-
"version": "0.1.5",
3+
"version": "0.2.0",
44
"git_packages": [
55
{
66
"clone_url": "[email protected]:spatialos/gdk-for-unity.git",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.improbable.gdk.buildsystem",
33
"displayName": "SpatialOS GDK Build System",
4-
"version": "0.1.5",
4+
"version": "0.2.0",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Build System Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core": "0.1.5"
9+
"com.improbable.gdk.core": "0.2.0"
1010
}
1111
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "com.improbable.gdk.core",
33
"displayName": "SpatialOS GDK Core",
4-
"version": "0.1.5",
4+
"version": "0.2.0",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Core Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.tools": "0.1.5",
9+
"com.improbable.gdk.tools": "0.2.0",
1010
"com.unity.entities": "0.0.12-preview.21"
1111
}
1212
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.improbable.gdk.gameobjectcreation",
33
"displayName": "SpatialOS GDK GameObject Creation",
4-
"version": "0.1.5",
4+
"version": "0.2.0",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK GameObject Creation Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core":"0.1.5"
9+
"com.improbable.gdk.core":"0.2.0"
1010
}
1111
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.improbable.gdk.mobile",
33
"displayName": "SpatialOS GDK Mobile Support",
4-
"version": "0.0.3",
4+
"version": "0.0.4",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Mobile Support Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core":"0.1.5"
9+
"com.improbable.gdk.core":"0.2.0"
1010
}
1111
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "com.improbable.gdk.playerlifecycle",
33
"displayName": "SpatialOS GDK Player Lifecycle",
4-
"version": "0.1.5",
4+
"version": "0.2.0",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Player Lifecycle Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core":"0.1.5",
10-
"com.improbable.gdk.tools":"0.1.5"
9+
"com.improbable.gdk.core":"0.2.0",
10+
"com.improbable.gdk.tools":"0.2.0"
1111
}
1212
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.improbable.gdk.testutils",
33
"displayName": "SpatialOS GDK Test Utils",
4-
"version": "0.1.5",
4+
"version": "0.2.0",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Test Utils. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core": "0.1.5"
9+
"com.improbable.gdk.core": "0.2.0"
1010
}
1111
}

workers/unity/Packages/com.improbable.gdk.tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.improbable.gdk.tools",
33
"displayName": "SpatialOS GDK Tools",
4-
"version": "0.1.5",
4+
"version": "0.2.0",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Support Tools. Made by Improbable.",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.improbable.gdk.transformsynchronization",
33
"displayName": "SpatialOS GDK Transform Synchronization",
4-
"version": "0.1.5",
4+
"version": "0.2.0",
55
"unity": "2018.3",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Transform Synchronization Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core":"0.1.5"
9+
"com.improbable.gdk.core":"0.2.0"
1010
}
1111
}

0 commit comments

Comments
 (0)