2.0.0
本次更新也升级了 EasyAbp.WeChat.Abp 模块到 2.0.0 版本,它包含了多项破坏性改动,如果你对此模块有重写、扩展等,也请参考:https://github.com/EasyAbp/Abp.WeChat/releases/tag/2.0.0
主要改动
- 由于 EasyAbp.WeChat.Abp 模块移除了 Options resolving 机制,本模块之前提供的
ClaimsWeChatMiniProgramOptionsResolveContributor
等设施已移除。如果你是多 appId 场景,相关的 HTTP API 接口现在一定会提供 appId 的入参(入参可能在路由上)。 - WeChatApp 实体的 WeChatComponentId 属性更名为 ComponentWeChatAppId。
- WeChatApp 实体的 AppSecret/Token/EncodingAesKey 属性名称增加 Encrypted 前缀,值由明文存储变更为密文存储。升级模块之前,请备份这些配置,并清空它们在数据表中的值,在升级后重新手动将它们重新设置。
- WeChatAppUser 实体的 SessionKey 属性更名为 EncryptedSessionKey,由明文存储变更为密文存储。升级模块之前,请清空所有 SessionKey 在数据表中的值。
- 引入了新的微信第三方平台管理模块,并提供了相关的回调接口、授权页面、授权管理页面等设施,详见:https://github.com/EasyAbp/Abp.WeChat/releases/tag/2.0.0
What's Changed
- 抛出Code2session产生的错误 by @indexlang in #60
- WeChat third-party platform module by @gdlcf88 in #65
- Upgrade to Abp.WeChat 2.0.0.rc.2 by @gdlcf88 in #66
- Encrypt
AppSecret
andSessionKey
by @gdlcf88 in #67 - Fix tests by @gdlcf88 in #68
- Fix 3rd-party platform APIs by @gdlcf88 in #69
- Upgrade to Abp.WeChat module 2.0.0-rc.5 by @gdlcf88 in #70
- Fix the auth callback api by @gdlcf88 in #71
- Refactor 3rd-party platform auth handling API by @gdlcf88 in #72
- Fix
GetAuthorizerInfoRequest
by @gdlcf88 in #73 - Enhance 3rd-party platform authorization by @gdlcf88 in #74
- Encrypt
Token
andEncodingAesKey
by @gdlcf88 in #75 - Add
ThirdPartyPlatformAuthorizedEto
by @gdlcf88 in #76 - Fix the bad
SetRefreshToken
invoking by @gdlcf88 in #77 - Make options providers fall back to default implement if appid is null by @gdlcf88 in #78
- Refactor controllers to resolve the ABP route warning by @gdlcf88 in #79
- Release 2.0.0 by @gdlcf88 in #81
New Contributors
- @indexlang made their first contribution in #60
Full Changelog: 1.5.0...2.0.0