Upgrade UserIndex canister to 2.0.1986
GitHub commit
https://github.com/open-chat-labs/open-chat/commit/102bb2da9c1682f526a91b3fa5ffa81ebd30d32f
Changelog
Added
- Add
og_previewsfield to messages for handling OpenGraph previews (#9002) - Add
set_openai_api_keyendpoint (#9021)
Changed
- Skip serializing fields with default values when fetching user data (#8847)
- Store
hide_online_statusagainst each user (#8848) - Switch to pushing
OpenChatBotMessageV2events (#9025) - Hack to reduce function complexity back under limit (#9027)
Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
git fetch
git checkout 102bb2da9c1682f526a91b3fa5ffa81ebd30d32f
./scripts/verify-release.sh 2.0.1986 8ddc86e5ab1eca140f6c6845819dad7d7bd0c2e0236679f06085937cc382eb02
Proposal to execute nervous system function:
Nervous system function:
NervousSystemFunction { id: 9000, name: "Upgrade canister", description: Some( "This will instruct the OpenChatInstaller canister to upgrade the specified canister.", ), function_type: Some( GenericNervousSystemFunction( GenericNervousSystemFunction { target_canister_id: Some( jodzs-iqaaa-aaaar-qamqa-cai, ), target_method_name: Some( "upgrade_canister", ), validator_canister_id: Some( jodzs-iqaaa-aaaar-qamqa-cai, ), validator_method_name: Some( "upgrade_canister_validate", ), topic: Some( DappCanisterManagement, ), }, ), ), }
Payload sha256:
ed0653caecc4a991ea25f3cc12b0e587f22c461fead26ee7fb2ad4e6da79365e
Payload:
{ "canister_type": "UserIndex", "version": { "major": 2, "minor": 0, "patch": 1986 }, "wasm_hash": "8ddc86e5ab1eca140f6c6845819dad7d7bd0c2e0236679f06085937cc382eb02", "filter": null }