Integrations and Deprecations 2026.2.x #
This topic includes integrations and deprecations for Pragma Version 2026.2.0.
Per-game social configuration files #
Social configuration has moved from shared values in pragma-cli-common.ini to per-game social config files (pragma-cli-<game>-social.ini). The mvn_version_prefix has also moved from common config into each game config.
Dependency updates #
We have updated many of the third party libraries used by the engine. Intellij project may need to be refreshed to pick up the changes.
Integration steps: #
Run the update migration script #
The 2026-2 update command does the following:
- Creates
pragma-cli-<game>-social.inifor each game project, populated with social values frompragma-cli-common.ini - Sets
social_mvn_version_prefixin each social config from the corresponding game’smvn_version_prefix - Moves
mvn_version_prefixfrom common config to any game config missing it - Removes migrated social values from common config
- Copies the default game’s social config to
pragma-cli-social.ini
- Run the automated migration:
./pragma update 2026-2 - Then switch to your current project to make sure
pragma-cli.iniis up to date. See theprojectfield inpragma-cli.iniif you are unsure what to use for<TARGET>:./pragma project switch <TARGET> - Note the new
pragma-cli-<game>-social.inifile, populated with the fields moved fromcommon-cli.ini - Regenerate POMs:
./pragma project regenerate-poms - Review changed
pom.xmlfiles and re-add any modifications or custom dependencies.- Since these files are generated by the pragma cli but then maintained by the studio, consider adding “modified start/end” comments to pom changes to help the process of merging future updates.
- Verify the build:
./pragma build all
New GameInstanceDaoConfig #
- Update your deployed shard configurations or update the
common.ymlconfig with new dao config.
Game Config
game:
serviceConfigs:
GameInstanceDaoConfig:
databaseConfig:
identifierSchemas:
1:
identifier: "defaultIdentifier"
schema: "game_gameInstance"
Will address:
* ConfigValueInvalid(path: PragmaConfig.serviceConfigs["GameInstanceDaoConfig"].databaseConfig.username, details: username must be set directly or by a generated database config via an identifier.)
Intellij Updates #
- Install the latest version of Intellij (2026.1.X at time of release) and follow the engine README for increasing Intellij’s compiler memory.
- Close Intellij and run
./pragma build allbefore launching the updated IDE to help Intellij pick up the latest changes. - Higan protobuff plugin is no longer required, users can revert back to the Intelij built-in protobuf plugin.
Jackson JsonProperty annotation update #
If com.fasterxml.jackson.annotation.JsonProperty is being used for any data classes the annotations will need to be updated to: @param:JsonProperty
Loadsimulator - Getters removed from SocialRpcClient and GameRpcClient #
playerId, socialId, displayName, getters were removed from SocialRpcClient and GameRpcClient but can be referenced directly from the ClientWrapper.
before:
val player: ClientWrapper = players.first()
println(player.game.playerId)
after:
val player: ClientWrapper = players.first()
println(player.playerId)