v1.29.0更新

This commit is contained in:
click33 2022-02-10 01:35:09 +08:00
parent 163053d6fa
commit a333355b46
45 changed files with 78 additions and 50 deletions

View File

@ -1,7 +1,7 @@
<p align="center">
<img alt="logo" src="https://gitee.com/dromara/sa-token/raw/master/sa-token-doc/doc/logo.png" width="150" height="150">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.28.0</h1>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.29.0</h1>
<h4 align="center">一个轻量级 Java 权限认证框架,让鉴权变得简单、优雅!</h4>
<p align="center">
<a href="https://gitee.com/dromara/sa-token/stargazers"><img src="https://gitee.com/dromara/sa-token/badge/star.svg?theme=gvp"></a>

View File

@ -75,12 +75,17 @@ call mvn clean
cd ..
cd ..
:: test clean
cd sa-token-test
call mvn clean
cd ..
:: 最后打印
echo;
echo;

View File

@ -8,7 +8,7 @@
<groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId>
<packaging>pom</packaging>
<version>1.28.0</version>
<version>1.29.0</version>
<!-- 项目介绍 -->
<name>sa-token</name>
@ -37,7 +37,7 @@
<!-- 一些属性 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
<jdk.version>1.8</jdk.version>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -13,7 +13,7 @@ public class SaTokenConsts {
/**
* Sa-Token 当前版本号
*/
public static final String VERSION_NO = "v1.28.0";
public static final String VERSION_NO = "v1.29.0";
/**
* Sa-Token 开源地址

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<!-- 定义sa-token版本号 -->
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<!-- 定义sa-token版本号 -->
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -15,7 +15,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -9,7 +9,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义sa-token版本号 -->
<properties>
<sa-token-version>1.28.0</sa-token-version>
<sa-token-version>1.29.0</sa-token-version>
</properties>
<dependencies>

View File

@ -1,7 +1,7 @@
<p align="center">
<img alt="logo" src="https://gitee.com/dromara/sa-token/raw/master/sa-token-doc/doc/logo.png" width="150" height="150">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.28.0</h1>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.29.0</h1>
<h5 align="center">一个轻量级 Java 权限认证框架,让鉴权变得简单、优雅!</h5>
<p align="center" class="badge-box">
<a href="https://gitee.com/dromara/sa-token/stargazers"><img src="https://gitee.com/dromara/sa-token/badge/star.svg?theme=gvp"></a>

View File

@ -19,7 +19,7 @@
<div class="logo-box">
<img src="logo.png" title="logo" />
<h1 class="logo-text">Sa-Token</h1>
<sub>v1.28.0</sub>
<sub>v1.29.0</sub>
</div>
</a>
</div>
@ -29,6 +29,7 @@
</div>
<select class="p-none" onchange="location.href=this.value">
<option value="http://sa-token.dev33.cn/doc/index.html">最新版</option>
<option value="http://sa-token.dev33.cn/v/v1.28.0/doc/index.html">v1.28.0</option>
<option value="http://sa-token.dev33.cn/v/v1.27.0/doc/index.html">v1.27.0</option>
<option value="http://sa-token.dev33.cn/v/v1.26.0/doc/index.html">v1.26.0</option>
<option value="http://sa-token.dev33.cn/v/v1.25.0/doc/index.html">v1.25.0</option>
@ -109,7 +110,7 @@
<!-- -->
<script src="./lib/docsify-plugin.js"></script>
<script>
var saTokenTopVersion = '1.28.0'; // Sa-Token最新版本
var saTokenTopVersion = '1.29.0'; // Sa-Token最新版本
var name = '<img style="width: 60px; height: 60px; vertical-align: middle;" src="logo.png" alt="logo" /> ';
name += '<b style="font-size: 28px; vertical-align: middle;">Sa-Token</b> <sub>v' + saTokenTopVersion + '</sub>';
window.$docsify = {

View File

@ -1,5 +1,26 @@
# 更新日志
### 2022-02-10 @v1.29.0
- 升级sa-token-jwt插件可在登录时添加额外数据。
- 重构优化Dubbo调用时向下传递Token的规则可避免在项目启动时由于Context无效引发的bug。
- 重构OAuth2 授权模式开放由全局配置和Client单独配置共同设定。
- 重构OAuth2 模块部分属性支持每个 Client 单独配置。
- 重构OAuth2 模块部分方法名修复单词拼写错误converXxx -> convertXxx。
- 重构:修复 OAuth2 模块 `deleteAccessTokenIndex` 回收 token 不彻底的bug。
- 新增OAuth2 模块新增 `pastClientTokenTimeout`,用于指定 PastClientToken 默认有效期。
- 文档:常见报错章节增加目录树,方便查阅。
- 文档:优化文档样式。
- 新增:新增 BCrypt 加密。
- 修复修复StpUtil.getLoginIdByToken(token) 在部分场景下返回出错的bug。
- 重构优化OAuth2模块密码式校验步骤。
- 新增新增Jackson定制版Session避免timeout属性的序列化。
- 新增SaLoginModel新增setToken方法用于预定本次登录产生的Token。
- 新增:新增 StpUtil.createLoginSession() 方法用于无Token注入的方式创建登录会话。
- 新增OAuth2 与 StpUtil 登录会话数据互通。
- 新增:新增 `StpUtil.renewTimeout(100);` 方法,用于 Token 的 Timeout 值续期。
- 修复修复默认dao实现类中 `updateObject` 无效的bug
- 完善:完善单元测试。
### 2021-11-5 @v1.28.0
- 新增:新增 `sa-token-jwt` 插件用于与jwt的整合 **[重要]**

View File

@ -23,7 +23,7 @@
<img src="./doc/logo.png" title="logo" />
<span class="logo-text">Sa-Token</span>
<!-- <h1 class="logo-text">Sa-Token</h1> -->
<!-- <sub>v1.28.0</sub> -->
<!-- <sub>v1.29.0</sub> -->
</div>
</a>
</div>
@ -68,7 +68,7 @@
<div class="main-box">
<div class="content-box">
<div class="fenge"></div>
<h1>Sa-Token<small>v1.28.0</small></h1>
<h1>Sa-Token<small>v1.29.0</small></h1>
<div class="sub-title">一个轻量级 java 权限认证框架,让鉴权变得简单、优雅!</div>
<div class="btn-box">
<a href="https://github.com/dromara/sa-token" target="_blank">GitHub</a>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>pom</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>pom</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-starter</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-parent</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>pom</packaging>
@ -22,6 +22,7 @@
<module>sa-token-core-test</module>
<module>sa-token-springboot-test</module>
<module>sa-token-springboot-integrate-test</module>
<module>sa-token-jwt-test</module>
</modules>
<dependencies>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>

View File

@ -7,7 +7,7 @@
<parent>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-test</artifactId>
<version>1.28.0</version>
<version>1.29.0</version>
</parent>
<packaging>jar</packaging>