Pragma Engine 0.0.49
January 4th, 2022
- Updated Inventory content validation flow in preparation for upcoming content system changes.
- Renamed player group property to be consistent with other calls.
- Improved variable visibility for PragmaException messages.
- Required integrations:- Unit tests must be updated from runBlockingTest to runTest.
- Calls to content getters will need to be updated to Kotlin property names.
 
Features #
- Updated Inventory content validation flow in preparation for upcoming content system changes.- Description: Inventory content is now validated and loaded on Inventory service startup, instead of on content request. Pragma engine will fail to start if there are any errors related to JSON, proto, or custom validation in shared content files.
 
- Renamed player group property to be consistent with other calls.- Description: CreatePlayerGroupOperatorV1Responseusesgroupinstead ofplayer_groupas the property.
- Postman Path:- Social → RPC Operator → Account → CreatePlayerGroupOperatorV1
 
- Social → RPC Operator → Account → 
- Improved variable visibility for PragmaExceptionmessages.- Description: Added 'around variables to improvePragmaExceptionmessages.
 
- Description: Added 
 
- Description: 
Integration Steps #
- Unit tests must be updated from runBlockingTesttorunTest.- Description: Kotlin and Kotlin coroutine versions have been updated, causing deprecation warnings for tests using runBlockingTest.
- Integration steps:- Change any instances of runBlockingTesttorunTest.
 
- Change any instances of 
 
- Description: Kotlin and Kotlin coroutine versions have been updated, causing deprecation warnings for tests using 
- Calls to content getters will need to be updated to Kotlin property names.- Description: References to content getter methods have been replaced with Kotlin properties.
- Integration steps:- Calls to content getters in InventoryServiceContentwill need to be updated to property names. Full table below.Original Replacement getStackableItemSpecs()stackableItemSpecsgetInstancedItemSpecs()instancedItemSpecsgetCatalogUpdateEntries()catalogUpdateEntriesgetStores()storesgetRewards()rewardsgetRewardsTables()rewardsTablesgetRewardSlots()rewardSlotsgetRewardBags()rewardBagsgetCraftingEntries()craftingEntries
 
- Calls to content getters in 
 
Deprecations #
The following endpoints have been changed:
| Original | Replacement | 
|---|---|
| authenticateOrCreateV1 | authenticateOrCreateV2 | 
| AccountService.getPragmaPlayerIdsForProviderIdsV1 | AccountService.getPragmaPlayerIdsForProviderIdsV2 | 
| InventoryServiceContentgetter methods have been updated | See integration notes above |