Stabilize `VersionedMigration` (#1503)
`VersionedMigration` has become somewhat widely used for handling version bumps in migrations the last few months. It is currently behind the `experimental` feature flag, requiring every pallet that writes a new migration with version bumps to set up the `experimental` flag in their own Cargo.tomls, and also for every runtime using these pallets to explicitly enable the `experimental` flag for each pallet. This is becoming quite verbose, and I can only see the number of pallets requiring the experimental flag increasing for no other reason than using what has become a commonly used feature. Additionally, I'm writing migration docs and would like to avoid stepping through how to use the `experimental` feature to get `VersionedMigration` working. Since the feature has been used in production for some time now without any reported issues, is becoming commonly used and ready to advertise in docs, I feel this is a good time to make it non-experimental.
Showing
- polkadot/runtime/common/Cargo.toml 0 additions, 1 deletionpolkadot/runtime/common/Cargo.toml
- polkadot/runtime/common/src/assigned_slots/migration.rs 0 additions, 1 deletionpolkadot/runtime/common/src/assigned_slots/migration.rs
- polkadot/runtime/common/src/paras_registrar/migration.rs 0 additions, 1 deletionpolkadot/runtime/common/src/paras_registrar/migration.rs
- polkadot/runtime/kusama/Cargo.toml 2 additions, 2 deletionspolkadot/runtime/kusama/Cargo.toml
- polkadot/runtime/polkadot/Cargo.toml 2 additions, 2 deletionspolkadot/runtime/polkadot/Cargo.toml
- polkadot/runtime/rococo/Cargo.toml 3 additions, 3 deletionspolkadot/runtime/rococo/Cargo.toml
- polkadot/runtime/westend/Cargo.toml 2 additions, 2 deletionspolkadot/runtime/westend/Cargo.toml
- polkadot/xcm/pallet-xcm/Cargo.toml 0 additions, 2 deletionspolkadot/xcm/pallet-xcm/Cargo.toml
- polkadot/xcm/pallet-xcm/src/migration.rs 0 additions, 1 deletionpolkadot/xcm/pallet-xcm/src/migration.rs
- substrate/frame/society/Cargo.toml 0 additions, 2 deletionssubstrate/frame/society/Cargo.toml
- substrate/frame/society/src/migrations.rs 0 additions, 1 deletionsubstrate/frame/society/src/migrations.rs
- substrate/frame/support/src/migrations.rs 1 addition, 6 deletionssubstrate/frame/support/src/migrations.rs
- substrate/frame/support/test/tests/versioned_migration.rs 1 addition, 1 deletionsubstrate/frame/support/test/tests/versioned_migration.rs
Please register or sign in to comment