Deprecations
Language
Syntax
Deprecated syntax elements are listed below:
Syntax element |
Substitute |
Deprecated since |
Planned removal |
currentState |
activeState() |
2021.1.46 |
2025.1.0 |
states |
R.States.variants() |
2021.1.46 |
2025.1.0 |
allStates() |
R.States.variants() |
2024.1.0 |
2025.1.0 |
with copy-constructor on struct |
copy() copy-constructor on struct |
2024.1.0 |
2025.1.0 |
filledList |
listOfSize |
2021.1.87 |
2025.1.0 |
amountOf |
use the symbol constructor |
- |
2025.1.0 |
declaration without var |
always use var |
2021.1.0 |
2025.1.0 |
omitting return in an the body of an anonymous function |
do not omit return |
2021.1.63 |
2025.1.0 |
guard |
require |
2024.1.1 |
2025.1.0 |
Engine
Environment variables
Environment variable |
Substitute |
Deprecated since |
Planned removal |
ENGINE_POSTGRAPHILE_DB_USER |
ENGINE_DB_READ_MODEL_USER |
2024.2.0 |
2025.2.0 |
ENGINE_DB_UPSHIFT_SCHEMA |
none, the default schema will be used |
2024.2.4 |
2025.2.0 |
Migration Utilities
Deprecated utilities are listed below:
Utility |
Substitute |
Deprecated since |
Planned removal |
createAmount |
createSymbolValue |
2021.1.138 |
2025.1.0 |
InconsistentMigrationException |
InconsistentProtocolMigrationException |
2023.2.65 |
2025.1.0 |
InstantiationException |
ProtocolInstantiationException |
2023.2.65 |
2025.1.0 |
Configuration |
MigrationInMemoryTestConfiguration |
2024.1.7 |
2025.1.0 |
History
Environment variables
There are no deprecated environment variables.
Read model (previously "PostGraphile")
Environment variables
Deprecated environment variables are listed below:
Environment variable |
Substitute |
Deprecated since |
Planned removal |
POSTGRAPHILE_PORT |
READ_MODEL_PORT |
2024.2.0 |
2025.2.0 |
POSTGRAPHILE_DB_URL |
READ_MODEL_DB_URL |
2024.2.0 |
2025.2.0 |
POSTGRAPHILE_DB_SCHEMA |
READ_MODEL_DB_SCHEMA |
2024.2.0 |
2025.2.0 |
POSTGRAPHILE_DB_USER |
READ_MODEL_DB_USER |
2024.2.0 |
2025.2.0 |
POSTGRAPHILE_ALLOWED_ISSUERS |
READ_MODEL_ALLOWED_ISSUERS |
2024.2.0 |
2025.2.0 |
POSTGRAPHILE_ISSUER_OVERRIDE |
READ_MODEL_ISSUER_OVERRIDE |
2024.2.0 |
2025.2.0 |
POSTGRAPHILE_ENGINE_HEALTH_ENDPOINT |
READ_MODEL_ENGINE_HEALTH_ENDPOINT |
2024.2.0 |
2025.2.0 |
POSTGRAPHILE_ENGINE_HEALTH_TIMEOUT_SECONDS |
READ_MODEL_ENGINE_HEALTH_TIMEOUT_SECONDS |
2024.2.0 |
2025.2.0 |
Public Kotlin APIs
Deprecated |
Substitute |
Deprecated since |
Planned removal |
ClientGuardOrigin |
ClientRequireOrigin |
2024.1.1 |
2025.1.0 |
Guard |
Require |
2024.1.3 |
2025.1.0 |