Files
hyperf-saml/CHANGELOG.md

201 lines
18 KiB
Markdown
Raw Normal View History

2023-02-03 10:31:07 +00:00
# 版本更新日志
2023-12-04 09:50:01 +00:00
## [1.0.0-alpha.4](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2023-12-04)
### 📦‍ Build System | 打包构建
* **composer:** 迁移到 hyperf3.1 ([a53164a](http://124.126.16.154:8888/singularity/hyperf-saml/commit/a53164a4059abdc21bf38c94ce6ba36a112ff118))
2023-10-30 08:58:47 +00:00
## [1.0.0-alpha.3](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2023-10-30)
### 📦‍ Build System | 打包构建
* **composer:** 更新依赖 ([2c1d61e](http://124.126.16.154:8888/singularity/hyperf-saml/commit/2c1d61e664a4c09b3c16ae2374552f7ccc7976be))
2023-10-23 12:56:16 +00:00
## [1.0.0-alpha.2](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2023-10-23)
### 👷 Continuous Integration | CI 配置
* 修复内容为空的问题 ([18d3bff](http://124.126.16.154:8888/singularity/hyperf-saml/commit/18d3bff2b7b2daece8295437dde058a8c62f9a92))
2023-10-23 12:06:09 +00:00
## [1.0.0-alpha.1](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v1.0.0-alpha.0...v1.0.0-alpha.1) (2023-10-23)
### 👷 Continuous Integration | CI 配置
* **gitea:** 引入 actions ([e2210e5](http://124.126.16.154:8888/singularity/hyperf-saml/commit/e2210e5a557f8e8e17160077f64b6ebb42127bdf))
### 📦‍ Build System | 打包构建
* 引入 gitea 仓库 ([e742538](http://124.126.16.154:8888/singularity/hyperf-saml/commit/e742538c6499438e1f149ade25fb99549f4beb79))
* **composer:** 更新依赖 ([deb80b5](http://124.126.16.154:8888/singularity/hyperf-saml/commit/deb80b5b6115c1c4caa6e6c1e9594057f310eb4a))
* **release:** 增加预发布版本的后缀 ([da35cf8](http://124.126.16.154:8888/singularity/hyperf-saml/commit/da35cf84421fefb133db11e21c6840fcd4c17a70))
2023-07-25 07:04:36 +00:00
## [1.0.0-alpha.0](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v0.2.3...v1.0.0-alpha.0) (2023-07-25)
### 📦‍ Build System | 打包构建
* **composer:** 更新依赖到 hdk 1.0 ([9dde7b1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/9dde7b118761d935007d161f21c99ffa3827d281))
2023-03-21 05:44:32 +00:00
### [0.2.3](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v0.2.2...v0.2.3) (2023-03-21)
### 📦‍ Build System | 打包构建
* **composer:** 迁移到腾讯源,并更新依赖 ([d994292](http://124.126.16.154:8888/singularity/hyperf-saml/commit/d994292d41aab83a1e295e6b1fd3c96a075589d3))
2023-03-21 03:12:05 +00:00
### [0.2.2](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v0.2.1...v0.2.2) (2023-03-21)
### 📦‍ Build System | 打包构建
* **composer:** 更新依赖 ([3765460](http://124.126.16.154:8888/singularity/hyperf-saml/commit/37654602d935518473a7c275afc54fd39c9e9ef1))
2023-03-15 02:20:59 +00:00
### [0.2.1](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v0.2.0...v0.2.1) (2023-03-15)
### 📦‍ Build System | 打包构建
* **composer:** 将依赖的 hdk 改为了稳定版 ([ee2ca93](http://124.126.16.154:8888/singularity/hyperf-saml/commit/ee2ca93349d86fc7b0edf0c94ffdc68d5ab90710))
2023-03-15 02:02:59 +00:00
## [0.2.0](http://124.126.16.154:8888/singularity/hyperf-saml/compare/v0.1.1...v0.2.0) (2023-03-15)
### 🐛 Bug Fixes | Bug 修复
* 尝试修复无法登录的问题 ([9c8a5c7](http://124.126.16.154:8888/singularity/hyperf-saml/commit/9c8a5c7cbdfa07a0020191ad53511b3523e75854))
### 📦‍ Build System | 打包构建
* **composer:** 更新依赖 ([39f6e7a](http://124.126.16.154:8888/singularity/hyperf-saml/commit/39f6e7a8e145a2bcd6b0d6b234e95efe5e7a97ef))
* **composer:** 设置hdk版本 ([f030bd0](http://124.126.16.154:8888/singularity/hyperf-saml/commit/f030bd0e5d2678508d8f3b3af7391d81103f7227))
* **git:** 将 composer.lock 添加回版本控制 ([14231b1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/14231b1c5faca15aab8813f1f0fdd2a6cbc93599))
* **migrate:** 迁移到 hdk-auth ([de2d3f9](http://124.126.16.154:8888/singularity/hyperf-saml/commit/de2d3f99c15359599ce1d1913d72107a0d23c0bc))
* **semver:** 添加了发版脚本和配置文件 ([de71f7e](http://124.126.16.154:8888/singularity/hyperf-saml/commit/de71f7e5653a66a3be01aa4286d4617c2e51eab1))
* 更新版本到 hyperf3 ([f356e84](http://124.126.16.154:8888/singularity/hyperf-saml/commit/f356e84f78f5502ef09a5c8b539c107a7b2d5ebd))
2023-02-03 10:31:07 +00:00
### 0.1.1 (2023-02-03)
### 🎉 Init | 初始化
* **lib:** 初始化了 SAML 基础库 ([8002a1b](http://124.126.16.154:8888/singularity/hyperf-saml/commit/8002a1b3e6b45a0166cf17936670f4097b1c96df))
* **sp:** 初始化了 sp 的基本库 ([34a1958](http://124.126.16.154:8888/singularity/hyperf-saml/commit/34a1958619b757f22eccf6f78b33f1af294a471d))
* project ([6eda68b](http://124.126.16.154:8888/singularity/hyperf-saml/commit/6eda68bba39804b2e98a46dea5c5b8714496148e))
### 💄 Styles | 风格
* **sp.sso:** 移除了打印语句 ([12b64d8](http://124.126.16.154:8888/singularity/hyperf-saml/commit/12b64d8cb004ceceb055f9c0c74e819f8b757c37))
### ✨ Features | 新功能
* **assertion:** 在退出登录时移除 is_login cookie ([7e62776](http://124.126.16.154:8888/singularity/hyperf-saml/commit/7e62776555f5ae2665549fadf70e74e85ded63dd))
* **assertion:** 对 sso 成功后的 acs添加了创建 cookie 的操作 ([5fe5db0](http://124.126.16.154:8888/singularity/hyperf-saml/commit/5fe5db053b81499b0f1aac26e6068fcc78beb096))
* **config:** 更新了配置文件,和 ConfigProvider ([5b2b3ef](http://124.126.16.154:8888/singularity/hyperf-saml/commit/5b2b3effdec83128cb32f77ef07acf67cdc7f290))
* **constants:** 对枚举类添加了 @Constant 注解 ([3141291](http://124.126.16.154:8888/singularity/hyperf-saml/commit/31412916c2741809ef1d32ed2c871e1501fb47e5))
* **error-code:** 添加了 saml_response 参数校验失败的错误码 ([7e8fdb1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/7e8fdb10a59b61af892e0c51b0d694bf323b7d3e))
* **exception.handler:** 添加了 IDP 的错误捕获 ([de09a4f](http://124.126.16.154:8888/singularity/hyperf-saml/commit/de09a4f311c84d0a55a0689113ea70bcde1a0872))
* **exceptions:** 添加了异常类 ([acd21d5](http://124.126.16.154:8888/singularity/hyperf-saml/commit/acd21d50a89e37b9f45ef7715f4b51691ba80feb))
* **exceptions:** 添加了用于 sp 的错误捕获 ([6501363](http://124.126.16.154:8888/singularity/hyperf-saml/commit/650136309b3cb62b06121b3059a9f34710d2bf83))
* **slo:** 实现了单点退出的回调 ([61e05e2](http://124.126.16.154:8888/singularity/hyperf-saml/commit/61e05e2e3c3858c8ff4ebb12e3b8a3c165c28582))
* **sp:** 完善了退出登录回调的逻辑 ([ae81687](http://124.126.16.154:8888/singularity/hyperf-saml/commit/ae81687b3dd1ba30e044d3fb4079bba22dd8afb4))
* **sp.acs:** 实现了acs所需的服务 ([83634c9](http://124.126.16.154:8888/singularity/hyperf-saml/commit/83634c9637714c96f5e6648a03cdbd5cc701aa0f))
* **sp.acs:** 移除了导致报错的 ArrayShape 注解 ([3e3e25e](http://124.126.16.154:8888/singularity/hyperf-saml/commit/3e3e25ef3526cb913e82a3b854716b52fcb420f5))
* **sp.assertion:** 引入了 UserResource ([b6c5979](http://124.126.16.154:8888/singularity/hyperf-saml/commit/b6c5979530f039f7562e6ff1d77e8506ba569214))
* **sp.assertion:** 更新了acs的返回类型 ([a3918e1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/a3918e1f849056254c458cd5955da45cdc52128c))
* **sp.assertion:** 直接处理 Response 并做出响应 ([7800db7](http://124.126.16.154:8888/singularity/hyperf-saml/commit/7800db78f2a758edd71b550f18c07d4b76a95db2))
* **sp.isLogin:** 实现了获取单点登录状态的服务 ([a8d9c76](http://124.126.16.154:8888/singularity/hyperf-saml/commit/a8d9c764890acfec92f73d3b0639de192f42de47))
* **sp.slo:** 实现了退出单点登录的服务 ([021c4bc](http://124.126.16.154:8888/singularity/hyperf-saml/commit/021c4bc83e2515e7c8e0fd97756aa8a96afc7080))
* **sp.sso:** 实现了跳转单点登录的方法 ([fe0cb49](http://124.126.16.154:8888/singularity/hyperf-saml/commit/fe0cb49effe3176d1ba5090694d02c4c41c08c27))
* **sp.sso:** 添加了默认的语言 ([8e11289](http://124.126.16.154:8888/singularity/hyperf-saml/commit/8e112894d944f3939f9b7e439742bb7f65ac15fb))
### ⚡ Performance Improvements | 性能优化
* **slo:** 优化退出登录的方式 ([d16dbe3](http://124.126.16.154:8888/singularity/hyperf-saml/commit/d16dbe3c8cacd3b5303d8c9e64e9b76e922fac16))
* 添加严格模式声明 ([38de3ce](http://124.126.16.154:8888/singularity/hyperf-saml/commit/38de3ce5b5c3608869ea1d246747da5ca4552c4a))
* **handler:** 对 sp handler 添加 Content-Type 首部 ([2e34b63](http://124.126.16.154:8888/singularity/hyperf-saml/commit/2e34b63bd185e80f564cfa5b902630ab15d9d884))
### ♻️ Code Refactoring | 代码重构
* **assertion:** 适配 hdk 的 UserResource ([4213f1b](http://124.126.16.154:8888/singularity/hyperf-saml/commit/4213f1b8b21735c4a0444ed33ba27e2309f1c7ee))
* **assertion:** 适配 hdk 类名的变化 ([b5b063c](http://124.126.16.154:8888/singularity/hyperf-saml/commit/b5b063ce6b1f44974c3a57ebab1fee4864f6d24f))
* **multi.device.online:** 更新需要单设备登录限制的逻辑 ([fc3d06c](http://124.126.16.154:8888/singularity/hyperf-saml/commit/fc3d06c6892e2eef01e402325ee62137284ee081))
* **Services:** 整理了目录结构 ([0c02d4a](http://124.126.16.154:8888/singularity/hyperf-saml/commit/0c02d4ac5479aab004fd327bed115851b871034f))
### ✏️ Documentation | 文档
* **allow.multi-device:** 添加日志 ([0300311](http://124.126.16.154:8888/singularity/hyperf-saml/commit/0300311b74705c03e49f44ddee522ac4646beff1))
* **readme:** 增加了发布配置文件的命令 ([f667a95](http://124.126.16.154:8888/singularity/hyperf-saml/commit/f667a95502e74556e1e4063df1c19ec5f9ed9fa7))
* **readme:** 对生成签名的脚本添加了文档 ([0b876aa](http://124.126.16.154:8888/singularity/hyperf-saml/commit/0b876aabd7aefc44dc4162c354514d14a0cfad68))
* **readme:** 更新安装方式 ([ff77ba1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/ff77ba1ea3033ebb2691f208963f15b3705f5946))
### 📦‍ Build System | 打包构建
* **composer:** 更新 hdk ([b1405f4](http://124.126.16.154:8888/singularity/hyperf-saml/commit/b1405f485a0b15019e5e264ab89364096f2ab8e3))
* **composer:** 更新 hdk 版本 ([796a3c1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/796a3c168215447691f64a7f16462ae39b0bb71e))
* **composer:** 更新依赖 ([178a15f](http://124.126.16.154:8888/singularity/hyperf-saml/commit/178a15f2e4f21ff8682a5dc0b0a7036fc314d33c))
* **composer:** 添加了 hdk ([4e4a14d](http://124.126.16.154:8888/singularity/hyperf-saml/commit/4e4a14de02fa65a7b8cf0d3625112ba2de741dee))
* **composer:** 添加了 hdk ([f3a9579](http://124.126.16.154:8888/singularity/hyperf-saml/commit/f3a9579bd8314be496e7703e83ce614c072af49d))
* **composer:** 添加了 LightSAML 依赖 ([92728c7](http://124.126.16.154:8888/singularity/hyperf-saml/commit/92728c7335b20d83c5c5e20e1d5f9571158c26f2))
* **composer:** 添加了hdk依赖 ([129924a](http://124.126.16.154:8888/singularity/hyperf-saml/commit/129924ad3da882b2c005ba5c0b278d5b84536902))
* **composer:** 添加了安装了授权的钩子 ([df13596](http://124.126.16.154:8888/singularity/hyperf-saml/commit/df13596b8eaf7ede72477f83f1ed372ab0a748dc))
* **composer:** 添加了生成签名的 bin 脚本 ([74a70b4](http://124.126.16.154:8888/singularity/hyperf-saml/commit/74a70b410e779a6b1c54ac87c7e4177155c8aba6))
* **composer:** 添加了生成签名的 bin 脚本 ([4f71fe3](http://124.126.16.154:8888/singularity/hyperf-saml/commit/4f71fe32c8d5e366f9ac50c05656855371fc1751))
* **composer:** 添加了错误码和对应的语言包 ([05fc367](http://124.126.16.154:8888/singularity/hyperf-saml/commit/05fc36701c0f7b9682a8204099709dc96d94de17))
* **composer:** 设置hdk版本 ([95affb1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/95affb10ac945980ee7039dc447e7df87935717a))
* **composer:** 迁移 lightsaml/lightsaml 到 litesaml/lightsaml ([87f8c38](http://124.126.16.154:8888/singularity/hyperf-saml/commit/87f8c38d74c2507494d524de76db70e6619a9588))
* **composer:** 适配和兼容 hdk 的目录结构调整 ([bedc498](http://124.126.16.154:8888/singularity/hyperf-saml/commit/bedc498dfbc9f68f0bf31c836f40736112d974a1))
* **config:** 增加了配置文件的默认值 ([732195b](http://124.126.16.154:8888/singularity/hyperf-saml/commit/732195b5ffe81216b8a0d7bba4b676c1e8abe26c))
* **ConfigProvider:** 修复了无法发布配置文件的问题 ([dbb152e](http://124.126.16.154:8888/singularity/hyperf-saml/commit/dbb152efb886aa761908bfd4ab83d2e44347a60b))
* **scripts:** 添加了脚本文件 ([dc349d7](http://124.126.16.154:8888/singularity/hyperf-saml/commit/dc349d7f16259c4bb208ff027b2a798ac474cc63))
### 🐛 Bug Fixes | Bug 修复
* **acs:** 修复isLogin每次触发acs时都会更新最后登录用户导致无法踢掉之前用户的问题 ([039052c](http://124.126.16.154:8888/singularity/hyperf-saml/commit/039052c9d47d1c7f1c91f7852083f1c3eb74a809))
* **acs:** 尝试修复无法正确跳转 RelayState 的问题 ([33d0596](http://124.126.16.154:8888/singularity/hyperf-saml/commit/33d0596e73e82f32f5dd8aed233b5c940eb230ca))
* **acs:** 尝试修复无法正确跳转 RelayState 的问题 ([524d23f](http://124.126.16.154:8888/singularity/hyperf-saml/commit/524d23fdb26cd2b0e24497e9f1b2bfca6bdc07d5))
* **assertion:** 对 sso 成功后的 acs修复了创建 cookie 的操作 ([9c03933](http://124.126.16.154:8888/singularity/hyperf-saml/commit/9c039334d9b0060bbb7f86bd99ee8e1b4706cb5c))
* **assertion:** 对 sso 成功后的 acs修复了创建 cookie 的操作 ([7637d90](http://124.126.16.154:8888/singularity/hyperf-saml/commit/7637d90e8808071536e5742588465615ecc6c04a))
* **assertion:** 对 sso 成功后的 acs修复了创建 cookie 的操作 ([5e55396](http://124.126.16.154:8888/singularity/hyperf-saml/commit/5e55396fc6b7ca2e259de599a668f99f9952ae89))
* **assertion:** 尝试修复 cookie 的 domain ([d6fed7e](http://124.126.16.154:8888/singularity/hyperf-saml/commit/d6fed7e24ff0ef9512a1d7f3b312bffb4b45b583))
* **auth:** 修复鉴权 ([4ca2032](http://124.126.16.154:8888/singularity/hyperf-saml/commit/4ca20324debfd68f8332347fc344c892269d55ef))
* **base:** 修复无法获取单点登录回传的参数问题 ([44873ed](http://124.126.16.154:8888/singularity/hyperf-saml/commit/44873edc49312f32659e96498b9af5e34d925441))
* **config:** 修复了样板配置文件中证书文件路径错误的问题 ([02363d1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/02363d1fa1b9329592a41e6faa181b030b87bcf3))
* **error_code:** 修复了错误码的语言包 ([e838c02](http://124.126.16.154:8888/singularity/hyperf-saml/commit/e838c029ed43f7d8ae2c4c6fbd2bb9d089eed0d9))
* **exception:** 修复了参数错误导致的报错 ([d4d7b1f](http://124.126.16.154:8888/singularity/hyperf-saml/commit/d4d7b1f893745f00ba72c220736f78f068b91124))
* **exceptions:** 修复了异常类中的报错 ([ca453d5](http://124.126.16.154:8888/singularity/hyperf-saml/commit/ca453d52b6dc611f8e876452252a1b0f35fd2069))
* **handler:** 尝试修复 sp handler 中的报错 ([1724731](http://124.126.16.154:8888/singularity/hyperf-saml/commit/1724731250c6f7765d25fd07ad5f3bbc1a0b59a5))
* **idp:** 修复了高危报错 ([b639a77](http://124.126.16.154:8888/singularity/hyperf-saml/commit/b639a77216fc42220a9c34bb0ecedb867f4069c0))
* **saml:** 尝试兼容获取 originToken 失败的问题 ([507c14f](http://124.126.16.154:8888/singularity/hyperf-saml/commit/507c14f0de3ed41b824a059c5a34fcbac388f9d4))
* **slo:** 修复slo的RelayState ([bc34681](http://124.126.16.154:8888/singularity/hyperf-saml/commit/bc3468194f054a3360534579ce845c717c0d4726))
* **slo:** 修复退出登录失败的问题 ([bc5b88f](http://124.126.16.154:8888/singularity/hyperf-saml/commit/bc5b88f9727b2024c95b5375eec97a54e1cbe214))
* **slo.callback:** 修复单点登录回调时的报错 ([dd7b61c](http://124.126.16.154:8888/singularity/hyperf-saml/commit/dd7b61ca7b9a5cb26bfc0fe8650004546320998d))
* **sp:** 修复了认证中心登录后,第一次访问其他系统未登录的问题 ([4941b23](http://124.126.16.154:8888/singularity/hyperf-saml/commit/4941b239ab8a1d685ef8658e351fda739f711080))
* **sp.acs:** 更换了 samlRequest 校验失败的异常类 ([63aa5f2](http://124.126.16.154:8888/singularity/hyperf-saml/commit/63aa5f2224a8c337f5ac2de622057167482b4510))
* **sp.assertion:** 修复一处参数错误 ([0f86052](http://124.126.16.154:8888/singularity/hyperf-saml/commit/0f8605205ea8ddd2a24694c9129e5dd24e08b3bd))
* **sp.assertion:** 修复一处语法误用 ([3b8944f](http://124.126.16.154:8888/singularity/hyperf-saml/commit/3b8944f3f2cf2a10c198df97e861777189a0c303))
* **sp.assertion:** 修复了使用 [@note](http://124.126.16.154:8888/note) 导致的报错 ([4cd5b7d](http://124.126.16.154:8888/singularity/hyperf-saml/commit/4cd5b7d975afd8e983f60ac217774dcdb0c2304a))
* **sp.assertion:** 修复缓存用户信息失败的问题 ([d35b758](http://124.126.16.154:8888/singularity/hyperf-saml/commit/d35b758a71bdbc1ef9d4a7c214f1a33004153061))
* **sp.assertion:** 修复错误的验证错误码 ([21b4100](http://124.126.16.154:8888/singularity/hyperf-saml/commit/21b4100bad8057ac7233eb4418a13bf717a838e6))
* **sp.slo:** 修复没有 RelayState 报错的问题 ([d7bbd07](http://124.126.16.154:8888/singularity/hyperf-saml/commit/d7bbd07f50b9f5c089769fb7a5a7de0e970b00a9))
* **sp.sso:** 修复了错误获取 config 的方式 ([c352ed9](http://124.126.16.154:8888/singularity/hyperf-saml/commit/c352ed9276e1ec940f396fb28e89a3b2bd4582b7))
* **sp.sso:** 修复错误的形参声明 ([20d82c7](http://124.126.16.154:8888/singularity/hyperf-saml/commit/20d82c7bcf1d61f7ec239b7eec4597560a74507f))
* **sp.sso:** 对 RelayState 参数加上了默认值 ([a6294d1](http://124.126.16.154:8888/singularity/hyperf-saml/commit/a6294d1edda6f5c474a94e3548636b0a1f4da0da))
* **sso:** User类的使用问题 ([9b96e56](http://124.126.16.154:8888/singularity/hyperf-saml/commit/9b96e565f1a02e8315b86d1efecca6a93833b90b))
* **sso:** User类的使用问题 ([5cc6e69](http://124.126.16.154:8888/singularity/hyperf-saml/commit/5cc6e6965b3a34d81e97bf670384d9c9870d0a8c))
* **sso:** User类的使用问题造成的响应格式错误 ([5fee108](http://124.126.16.154:8888/singularity/hyperf-saml/commit/5fee108c9fbd951f8c0ccd7e31ecbb2b4a8563da))
* **sso:** 修复了登录和isLogin 没有区分的问题 ([aea934c](http://124.126.16.154:8888/singularity/hyperf-saml/commit/aea934c4c2e6fb90d5958193d284a2d65af104ce))
* **sso:** 修复了登录和isLogin 没有区分的问题 ([599ce02](http://124.126.16.154:8888/singularity/hyperf-saml/commit/599ce027b877500249471f6b55b83199ee3fcec6))