connected-spaces-platform.web 4.17.0 → 4.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Built from changelist ID f4c7a95b2c55668b5f39d7ca737986dfe7bff147
1
+ # Built from changelist ID 8b94eb8d4af160ad5a400d3e39e64316ec23f0e0
2
2
 
3
3
  <br>
4
4
 
@@ -7,55 +7,51 @@
7
7
 
8
8
  ### 🔥 ❗ Breaking Changes
9
9
 
10
- - Add xerrorcodes to webservice (#270) *(7b8b992)* [**OF-1195**]
11
- - Remove allowreductions (#275) *(da3697d)* [**OF-1194**]
10
+ - Rename `loginwithtoken` *(27016b9)* [**OF-1047**]
11
+ - Expose multiplayer errors *(0e1a844)* [**OB-3069**]
12
12
 
13
13
 
14
14
  ### 🍰 🙌 New Features
15
15
 
16
- - Add `resendverificationemail` *(a7cad12)* [**OF-864**]
17
- - Dependencies auto-install on osx (#253) *(0193137)* [**No Ticket**]
18
- - Parse emailnotconfirmed failure *(bf8e610)* [**OF-865**]
19
- - Add stripe endpoints (#277) *(c0e8232)* [**OF-1198**]
16
+ - Add avatar info settings *(485b064)* [**OF-793**]
17
+ - Wrap `[[deprecated]]` in wrappers *(7e8b589)* [**OF-665**]
20
18
 
21
19
 
22
20
  ### 🐛 🔨 Bug Fixes
23
21
 
24
- - Fix package readme generation (#239) *(fead4fe)* [**OF-1148**]
25
- - Fix optional bool regression *(c1a7f29)* [**OB-3027**]
26
- - Fixed issue with logging macros (#247) *(a464c3b)* [**No Ticket**]
27
- - Replaced space delete endpoint (#250) *(6696589)* [**OF-1023**]
28
- - Resolving a quotasystem c# crash (#251) *(1b35e6f)* [**OB-3040**]
29
- - Quota queries for non-basic tiers (#252) *(def4996)* [**OB-3042**]
30
- - Fixed call to createspace in basic web example and updated examples to csp 4.15.1 (#261) *(b9843f3)* [**No Ticket**]
31
- - Csp crashing on m1 macs (#258) *(2c981cb)* [**OB-2323**]
32
- - Fix optional enum regression (#262) *(25f9f87)* [**OB-3057**]
33
- - Added invalid enum val (#269) *(a52866b)* [**OF-1192**]
34
- - Release notes on web (#259) *(b3f3e5a)* [**OF-1148**]
35
- - Example environment set to ostage (#278) *(b3ef9e0)* [**OB-2917**]
22
+ - Add getuniquestring (#288) *(3272e6a)* [**OF-1066**]
23
+ - Update unity examples (#293) *(00a231e)* [**OSB-10**]
24
+ - Remove c style casting (#295) *(bb0f889)* [**OF-1196**]
25
+ - Fix .clangformat for latest clang ver *(704cb1f)* [**No Ticket**]
26
+ - Python preq installation *(40004a7)* [**No Ticket**]
27
+ - More interface implementations *(ebe4ab1)* [**No Ticket**]
28
+ - Update module dependencies (#315) *(beb8fa8)* [**No Ticket**]
36
29
 
37
30
 
38
31
 
39
32
  ### 💫 💥 Code Refactors
40
33
 
41
- - Ensure platform define always set *(2462063)* [**No Ticket**]
42
- - Remove public systems namespace *(2b2d33b)* [**OF-1067**]
34
+ - Update c++ basicframework example to 4.17.1 (#292) *(d098dc3)* [**OF-1205**]
35
+ - Update web examples to 4.17.1 (#291) *(6a182cf)* [**OW-1567**]
36
+ - Remove generatereadme (#294) *(c5b155f)* [**OF-1189**]
37
+ - Optimise header transform *(d152116)* [**OF-1166**]
38
+ - Removing `entitysystemversion` (#301) *(60dffa1)* [**OF-955**]
39
+ - Component update documentation (#303) *(b6c9055)* [**OF-1185**]
40
+ - Implement transform interfaces *(31bf625)* [**OF-1214**]
41
+ - Export all `logsystem` functions *(cdaf2cd)* [**OF-1155**]
43
42
 
44
43
 
45
44
  ### 🙈 🙉 🙊 Test Changes
46
45
 
47
- - Cancellation token tests (#254) *(3bebc6d)* [**OF-1094**]
46
+ - Coverage of usersystem (#290) *(86aa2b9)* [**OF-1083**]
47
+ - Add tests for apiresponsebase (#300) *(320bcb3)* [**OF-1086**]
48
48
 
49
49
 
50
50
  ### 📖 ✍ Documentation Changes
51
51
 
52
- - Update return type *(621391a)* [**No Ticket**]
52
+ - Documenting our approach to updating the examples (#287) *(49f2614)* [**No Ticket**]
53
53
 
54
54
 
55
- ### 🧩 Miscellaneous Changes
56
-
57
- - Create new quota system (#240) *(41806a4)* [**OF-1180**]
58
-
59
55
 
60
56
  <br>
61
57
 
@@ -63,26 +59,27 @@
63
59
 
64
60
  | Change ID | Author | Description |
65
61
  | --------- | ------ | ----------- |
66
- | fead4fe | Michael K | [OF-1148] fix: fix package readme generation (#239) |
67
- | a7cad12 | Michael K | [OF-864] feat: add `ResendVerificationEmail` |
68
- | c1a7f29 | Michael K | [OB-3027] fix: fix optional bool regression |
69
- | 41806a4 | Mag-JB | OF-1180 Create New Quota System (#240)<br>&bull; [OB-2824] fix: web test updates<br>fixed issues with web test urls and parameters<br>&bull; [OB-2824] fix: web request retries<br>&bull; [OB-2824] refac: removed lingering comments<br>&bull; [OF-815] test: (wrapper gen) unit test async functions<br>&bull; [NT-0] refac: formatting changes in unit test gen<br>Formats Python files using Black and JS/JSON using Prettier-ESLint.<br>&bull; [OF-815] test: wrapper gen csp_async_result tests<br>&bull; [OB-2823] fix: add checks for codes to retries (#227)<br>&bull; [OB-2823] fix: add checks for codes to retries<br>Currently allowed codes for retry:<br>429<br>408<br>5xx<br>&bull; [OB-3018] fix: Replace is_integer with is_float (#230)<br>&bull; [OF-1148] fix: Parse breaking changes (#226)<br>&bull; [OF-1148] fix: Parse breaking changes<br>&bull; move breaking changes to top of release notes<br>&bull; fix bug causing all tickets to be no tickets<br>&bull; stop merges from being added to misc changes<br>&bull; [OF-1148] fix: Add suqash merge commits<br>&bull; [SOL-320] Add Unity multiplayer example project (#228)<br>&bull; [SOL-320] Add Unity multiplayer example project<br>&bull; [SOL-320] Fix mentions of foundation to CSP<br>&bull; [SOL-320] Add create avatar fix to basic framework example<br>&bull; [SOL-320] replace mentions of foundation to CSP and gard against failure to get space<br>&bull; OB-2924 Add support for Premake on xcode 14.3+ (#231)<br>&bull; [OB-2924] fix: Add support for xcode 14.3+<br>&bull; [OB-2924] fix: replace wget with Curl<br>&bull; create file path<br>&bull; [OB-3012] fix: generate meta file for README.md (#233)<br>&bull; [OB-2975] fix: foundation Shutdown process (#232)<br>&bull; [OB-2975] fix: foundation Shutdown process<br>&bull; added initialisation check in tick to prevent tick operating when<br>uninitialised (such as when shutting down)<br>&bull; added function to deregister all listeners to prevent events being<br>fired after shutdown is called<br>&bull; [OF-1180] feat: Inital Commit for QuotaSystem<br>&bull; [OF-1180] fix: Remove uneeded DTOArray<br>&bull; Update enum values<br>&bull; [OF-1180] fix: Add TrackingServiceURI<br>&bull; [OF-1180] fix: replace strings with enums<br>&bull; Add Async flags<br>&bull; Check docs for capilizations<br>&bull; [PF-1180] fix: Update AssetSystem for chs<br>&bull; [OF-1180] doc: fix doc sentence<br>&bull; [OF-1180] fix: update enum values<br>&bull; [OF-1180] fix: Memory error from ref<br>&bull; Update chs<br>&bull; [OF-1180] test: inital tests<br>&bull; [OF-1180] test: Add QuotaSystem tests<br>&bull; [OF-1180] fix: remove free reference<br>&bull; [OF-1180] test: fix default values<br>&bull; [OF-1180] fix: set unlimited as -1<br>&bull; [OF-1180] test: update tests<br>&bull; [OF-1180] doc: update brief<br>&bull; [OF-1180] doc: Added more detail to the docs<br>&bull; [OF-1180] doc: Update callbacks docs<br>---------<br>Co-authored-by: MAG-AW <99488940+MAG-AW@users.noreply.github.com><br>Co-authored-by: Michael K <99647234+MAG-MichaelK@users.noreply.github.com><br>Co-authored-by: Michelle Shyr <100816976+mag-michelleshyr@users.noreply.github.com> |
70
- | a464c3b | AdamThorn | [NT-0] fix: Fixed issue with logging macros (#247)<br>Updated use of the logging macro to fix issues. Resolved warnings<br>related to initialisation order. |
71
- | 6696589 | MAG-AW | [OF-1023] fix: replaced space delete endpoint (#250) |
72
- | 2462063 | Michael K | [NT-0] refac: ensure platform define always set |
73
- | 1b35e6f | Sam Birley | [OB-3040] fix: Resolving a QuotaSystem C# crash (#251)<br>A bug in the CSP wrapper generator means that reference-to-enum<br>parameters will be considered to be int pointers at the C# wrapper<br>level.<br>These int pointers are then passed to the generated C wrapper which<br>will dereference them before passing them to CSP's C++ API.<br>Those dereferences were the cause of the crash.<br>The fix here is to alter the signature of the QuotaSystem API such that<br>it passes enum params by value rather than reference.<br>A separate issue for the wrapper generator bug will be raised and<br>tracked. |
74
- | def4996 | Sam Birley | [OB-3042] fix: quota queries for non-basic tiers (#252)<br>&bull; [OB-3042] fix: quota queries for non-basic tiers<br>We had a typo in the strings we created to form URL GET requests,<br>where we were creating tier strings that began with an uppercase.<br>The convention here is for tier strings to be all lowercase.<br>The impact was that services could return 200 responses to the<br>incorrectly formatted GET requests but with the wrong information.<br>And the fix is to ensure tier string parsing is consistently treating<br>the tier names as all lower-case. |
75
- | 0193137 | Sam Birley | [NT-0] feat: Dependencies auto-install on OSX (#253)<br>In the same way we automatically install python dependencies at the<br>start of the project generation process on Windows, we now also<br>invoke the equivalent pip command at the start of OSX project<br>generation. |
76
- | b9843f3 | Thomas Greenhalgh | [NT-0] fix: Fixed call to createSpace in basic web example and updated examples to CSP 4.15.1 (#261)<br>&bull; [NT-0] fix: Update web example createSpace call<br>&bull; [NO-0] refac: Update web examples to CSP 4.15.1 |
77
- | 2c981cb | Sam Birley | [OB-2323] fix: CSP crashing on M1 macs (#258)<br>[OB-2323] fix: CSP crashing on M1 macs<br>Similar to recent crashes that have been fixed for<br>Quest & Android, mimalloc crashes when CSP is<br>initialized within an application running on an M1 Mac. Disabling mimalloc on osx addresses the issue. |
78
- | 3bebc6d | Sam Birley | [OF-1094] test: Cancellation token tests (#254)<br>[OF-1094] test: coverage for CancellationToken<br>&bull; Validating cancellation tokens don't support copy & move operators.<br>&bull; Validating repeated cancellation.<br>&bull; Validating cancellation state post-construction. |
79
- | 25f9f87 | Michael K | [OB-3057] fix: fix optional enum regression (#262) |
80
- | bf8e610 | Michael K | [OF-865] feat: parse EmailNotConfirmed failure |
81
- | a52866b | MAG-AW | [OF-1192] fix: Added invalid enum val (#269)<br>Added invalid enum values to the quota system to<br>allow testing of invalid values, and returning of invalid values. |
82
- | b3f3e5a | MAG-AW | [OF-1148] fix: release notes on web (#259)<br>&bull; [OF-1148] fix: release notes on web<br>&bull; [OF-1148] fix: removed meta file handling<br>&bull; [OF-1148] refac: fixed comment<br>&bull; [NT-0] fix: readme notes formatting badly<br>&bull; Fixed readme formatting badly when encountering 'bad' commits<br>&bull; [OF-1148] refac: bullet point rendering in tables<br>&bull; [OF-1148] refac: addressing PR feedback - format |
83
- | 7b8b992 | Mag-JB | [OF-1195] feat!: Add XErrorCodes to WebService (#270)<br>&bull; [OF-1195] feat!: Add XErrorCodes to WebService<br>&bull; [OF-1195] fix!: Remove LoginState ErrorCodes<br>&bull; [OF-1195] fix: Add error message to ParseErrorCode<br>&bull; [OF-1195] fix: remove virtual declaration<br>&bull; [OF-1195] fix: add priv XErrorCodeToFailureReason<br>&bull; [OF-1195] fix!: Remove XErrorCode from Asset<br>&bull; [OF-1195] fix: Move XErrorCodeToFailureReason<br>&bull; [OF-1195] test: Update tests<br>&bull; [OF-1195] fix: Convert Stringformat to String<br>&bull; [OF-1195] fix: fix map key case |
84
- | da3697d | Mag-JB | [OF-1194] fix!: Remove AllowReductions (#275) |
85
- | 2b2d33b | AdamThorn | [OF-1067] refac: Remove public systems namespace |
86
- | b3ef9e0 | MAG-AW | [OB-2917] fix: Example environment set to oStage (#278)<br>Changed header environment in examples to be oStage instead of oDev |
87
- | c0e8232 | Mag-JB | [OF-1198] feat: Add Stripe endpoints (#277)<br>&bull; [OF-1198] feat: Add Stripe endpoints<br>&bull; Add Customer Session Test<br>&bull; Add Customer Portal Endpoint<br>&bull; [OF-1161] fix!: Add EmailUrlLink<br>&bull; [OF-1198] fix: update csp-service<br>&bull; [OF-1198] test: update c# tests<br>&bull; [OF-1198] test: update c++ tests<br>&bull; [OF-1198] test: fix forgotpassword<br>&bull; [OF-1198] doc: fix typo<br>&bull; [OF-1198] test: disable GetCustomerPortalUrlTest<br>&bull; [OF-1198] fix: update test to system |
88
- | 621391a | Mag-JB | [NT-0] doc: update return type |
62
+ | 49f2614 | Sam Birley | [NT-0] doc: Documenting our approach to updating the examples (#287)<br>Updating the readme to call out that the examples are guaranteed to be updated with each major version update of CSP. |
63
+ | 3272e6a | Mag-JB | [OF-1066] fix: Add GetUniqueString (#288)<br>&bull; [OF-1066] fix: Add GetUniqueString<br>&bull; [OF-1066] fix: Add alphanumeric func |
64
+ | d098dc3 | AdamThorn | [OF-1205] refac: Update C++ BasicFramework example to 4.17.1 (#292)<br>Updated the C++ BasicFramework example to use CSP 4.17.1. |
65
+ | 6a182cf | Thomas Greenhalgh | [OW-1567] refac: Update web examples to 4.17.1 (#291) |
66
+ | 00a231e | Mag-JB | [OSB-10] fix: update unity examples (#293) |
67
+ | c5b155f | Mag-JB | [OF-1189] refac: remove GenerateReadMe (#294) |
68
+ | bb0f889 | Mag-JB | [OF-1196] fix: Remove C style casting (#295) |
69
+ | 86aa2b9 | MAG-AW | [OF-1083] test: coverage of UserSystem (#290)<br>&bull; [OF-1083] test: coverage of UserSystem<br>&bull; [OF-1083] test: fixed invalid test case<br>&bull; [OF-1083] test: Changed test name |
70
+ | 27016b9 | Michael K | [OF-1047] refac!: rename `LoginWithToken`<br>BREAKING CHANGE: `UserSystem::LoginWithToken` has been renamed to<br>`UserSystem::RefreshSession`. Parameter types have not changed. |
71
+ | 704cb1f | Michael K | [NT-0] fix: fix .clangformat for latest clang ver |
72
+ | 0e1a844 | Michael K | [OB-3069] refac!: Expose multiplayer errors<br>This change addresses a lack of error handling in our multiplayer code.<br>A lot of calls return values were being ignored, which resulted in<br>internal errors that weren't properly handled. It also exposes a way<br>for the user to handle errors.<br>BREAKING CHANGE: This changes a lot of `MultiplayerConnection`<br>endpoints to take an `ErrorCodeCallbackHandler` instead of a<br>`CallbackHandler`. This callback type gets an `ErrorCode` instead of a<br>`bool` passed as the only parameter. This value should be compared to<br>`ErrorCode::None` to ensure the call succeeded. |
73
+ | d152116 | Michael K | [OF-1166] refac: optimise header transform<br>This change removes an extra allocation in the code that transforms<br>header keys and values to lower-case in `EmscriptenWebClient`. To<br>support this, a new `String::ToLower` function was added which returns<br>a copy of the string converted to lower-case. |
74
+ | 60dffa1 | Sam Birley | [OF-955] refac: removing `EntitySystemVersion` (#301)<br>This API variable still exists from an old versioning pass which has<br>been removed.<br>While we do want to do this versioning style in future,<br>we are removing this from the code base now to prevent<br>confusion down the line. |
75
+ | 40004a7 | Sam Birley | [NT-0] fix: python preq installation<br>On windows, the python prerequisites installed during at the start of solution generation now invokes the same python commands as on OSX. |
76
+ | 320bcb3 | MAG-AW | [OF-1086] test: Add tests for APIResponseBase (#300) |
77
+ | b6c9055 | MAG-AW | [OF-1185] refac: Component Update documentation (#303)<br>&bull; [OF-1185] refac: Component Update documentation<br>- Improved comments for Component Update flow<br>- Removed redundant property info class which is unused.<br>- Removed commented references to it also.<br>&bull; [OF-1185] refac: removed unneeded template |
78
+ | 485b064 | Michael K | [OF-793] feat: add Avatar info settings<br>This change adds `SettingsSystem::SetAvatarInfo()` and<br>`SettingsSystem::GetAvatarInfo()` to allow clients to set persistent<br>Avatar values that can be retrieved outside of the Multiplayer system. |
79
+ | ebe4ab1 | Michael K | [NT-0] fix: more interface implementations<br>This change implements `ITransformComponent` for `ImageSpaceComponent`<br>and `IPositionComponent` for `AudioSpaceComponent`. |
80
+ | 31bf625 | Michael K | [OF-1214] refac: implement transform interfaces |
81
+ | 7e8b589 | Michael K | [OF-665] feat: wrap `[[deprecated]]` in wrappers |
82
+ | b5fdb28 | Kuang-Hsin Liu | [OPE-1504] Update examples to Unity 2022 LTS<br>&bull; updated Unity example Initialising Foundation to Unity 2022.3.16f1<br>&bull; updated Unity example Basic Framework to Unity 2022.3.16f1<br>&bull; updated Unity example Multiplayer to Unity 2022.3.16f1<br>&bull; updated the Unity version info in README files |
83
+ | cdaf2cd | Michael K | [OF-1155] refac: export all `LogSystem` functions<br>NOTE: Tests are not needed for this as we currently already test<br>`LogSystem` in our C++ tests, and wrapper-related tests are handled by<br>our wrapper generator unit tests. |
84
+ | beb8fa8 | AdamThorn | [NT-0] fix: Update module dependencies (#315)<br>Updated requirements.txt to include the distutils<br>module dependency. |
85
+ | 1da5a66 | AdamThorn | Staging 4.18.0 (#322) (#323)<br>[NT-0] fix: Remove distutils dependency<br>The build agents have been updated to Python 3.12<br>and support distutils has been removed with that release.<br>Updating the script to use shutil.copy_tree instead. |