v1.35.0.RC

This commit is contained in:
click33 2023-06-23 19:41:26 +08:00
parent 1251cd19c5
commit d1ef107662
60 changed files with 142 additions and 64 deletions

View File

@ -1,7 +1,7 @@
<p align="center">
<img alt="logo" src="https://sa-token.cc/logo.png" width="150" height="150">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.34.1</h1>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.35.0.RC</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

@ -10,11 +10,8 @@ cd sa-token-demo-alone-redis-cluster & call mvn clean & cd ..
cd sa-token-demo-case & call mvn clean & cd ..
cd sa-token-demo-grpc & call mvn clean & cd ..
cd sa-token-demo-jwt & call mvn clean & cd ..
cd sa-token-demo-oauth2-client & call mvn clean & cd ..
cd sa-token-demo-oauth2-server & call mvn clean & cd ..
cd sa-token-demo-quick-login & call mvn clean & cd ..
cd sa-token-demo-solon & call mvn clean & cd ..
cd sa-token-demo-case & call mvn clean & cd ..
cd sa-token-demo-springboot & call mvn clean & cd ..
cd sa-token-demo-springboot3-redis & call mvn clean & cd ..
cd sa-token-demo-springboot-redis & call mvn clean & cd ..
@ -60,7 +57,7 @@ cd sa-token-demo-dubbo3-provider & call mvn clean & cd ..
cd ..
cd sa-token-demo-remember-me
cd server_project & call mvn clean & cd ..
cd sa-token-demo-remember-me-server & call mvn clean & cd ..
cd ..

View File

@ -37,7 +37,7 @@
<!-- 一些属性 -->
<properties>
<revision>1.34.1</revision>
<revision>1.35.0.RC</revision>
<jdk.version>1.8</jdk.version>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>

View File

@ -10,9 +10,10 @@
<packaging>pom</packaging>
<name>sa-token-bom</name>
<description>Sa-Token Bom</description>
<url>https://github.com/dromara/sa-token</url>
<properties>
<revision>1.34.1</revision>
<revision>1.35.0.RC</revision>
</properties>
<dependencyManagement>
@ -168,4 +169,84 @@
</dependencies>
</dependencyManagement>
<!-- 父仓库 -->
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
<relativePath/>
</parent>
<!-- 项目构建 -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 统一版本号管理 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.2.7</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.0.0,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

View File

@ -26,7 +26,7 @@ import java.lang.annotation.Target;
* <p> 可标注在方法类上效果等同于标注在此类的所有方法上
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })

View File

@ -25,7 +25,7 @@ import java.util.function.Consumer;
* <p> 返回 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCheckElementAnnotationFunction extends Consumer<AnnotatedElement> {

View File

@ -25,7 +25,7 @@ import java.util.function.Consumer;
* <p> 返回 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCheckMethodAnnotationFunction extends Consumer<Method> {

View File

@ -26,7 +26,7 @@ import java.util.function.Consumer;
* <p> 返回 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCheckOrAnnotationFunction extends Consumer<SaCheckOr> {

View File

@ -26,7 +26,7 @@ import java.util.function.Function;
* <p> 返回SaSession对象 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCreateSessionFunction extends Function<String, SaSession> {

View File

@ -26,7 +26,7 @@ import java.util.function.Function;
* <p> 返回创建好的 StpLogic 对象 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCreateStpLogicFunction extends Function<String, StpLogic> {

View File

@ -24,7 +24,7 @@ import java.util.function.BiFunction;
* <p> 返回token </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaCreateTokenFunction extends BiFunction<Object, String, String> {

View File

@ -25,7 +25,7 @@ import java.util.function.Supplier;
* <p> 返回生成的token </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaGenerateUniqueTokenFunction {

View File

@ -26,7 +26,7 @@ import java.util.function.BiFunction;
* <p> 返回注解对象 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaGetAnnotationFunction extends BiFunction<AnnotatedElement, Class<? extends Annotation> , Annotation> {

View File

@ -25,7 +25,7 @@ import java.util.function.BiFunction;
* <p> 返回是否包含 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaHasElementFunction extends BiFunction<List<String>, String, Boolean> {

View File

@ -26,7 +26,7 @@ import java.util.function.BiFunction;
* <p> 返回是否包含 </p>
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
@FunctionalInterface
public interface SaIsAnnotationPresentFunction extends BiFunction<Method, Class<? extends Annotation>, Boolean> {

View File

@ -36,7 +36,7 @@ public class SaTokenConsts {
/**
* Sa-Token 当前版本号
*/
public static final String VERSION_NO = "v1.34.1";
public static final String VERSION_NO = "v1.35.0.RC";
/**
* Sa-Token 开源地址 Gitee

View File

@ -20,7 +20,7 @@ package cn.dev33.satoken.util;
* 封装两个值的容器方便取值写值等操作value1 value2 用逗号隔开形如123,abc
*
* @author click33
* @since 1.35.0
* @since 1.35.0.RC
*/
public class SaValue2Box {

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0</sa-token.version>
</properties>
<dependencies>
@ -73,7 +73,7 @@
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-bom</artifactId>
<version>1.34.1</version>
<version>1.35.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<java.run.main.class>com.pj.SaTokenCrossCookieApplication</java.run.main.class>
</properties>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<java.run.main.class>com.pj.SaTokenCrossHeaderApplication</java.run.main.class>
</properties>

View File

@ -17,7 +17,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<dubbo.version>2.7.21</dubbo.version>
<nacos.version>1.4.2</nacos.version>
</properties>

View File

@ -17,7 +17,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<dubbo.version>2.7.21</dubbo.version>
<nacos.version>1.4.2</nacos.version>
</properties>

View File

@ -17,7 +17,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<dubbo.version>3.2.2</dubbo.version>
<nacos.version>2.2.2</nacos.version>
</properties>

View File

@ -17,7 +17,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<dubbo.version>3.2.2</dubbo.version>
<nacos.version>2.2.2</nacos.version>
</properties>

View File

@ -27,7 +27,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<lombok.version>1.18.10</lombok.version>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</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.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</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.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>cn.dev33</groupId>
<artifactId>remember_me</artifactId>
<artifactId>sa-token-demo-remember-me-server</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- SpringBoot -->
@ -17,7 +17,7 @@
</parent>
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<solon.version>2.2.3</solon.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<solon.version>2.2.3</solon.version>
</properties>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
<java.run.main.class>com.pj.SaTokenApplication</java.run.main.class>
</properties>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.34.1</sa-token.version>
<sa-token.version>1.35.0.RC</sa-token.version>
</properties>
<dependencies>

View File

@ -12,7 +12,7 @@
<description>Sa-Token Dependencies</description>
<properties>
<revision>1.34.1</revision>
<revision>1.35.0.RC</revision>
<!-- 统一定义依赖版本号 -->
<springboot.version>2.5.15</springboot.version>

View File

@ -1,7 +1,7 @@
<p align="center">
<img alt="logo" src="https://sa-token.cc/logo.png" width="150" height="150">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.34.1</h1>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.35.0.RC</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

@ -18,7 +18,7 @@
<div class="logo-box">
<img src="logo.png" title="logo" />
<h1 class="logo-text">Sa-Token</h1>
<sub>v1.34.1</sub>
<sub>v1.35.0.RC</sub>
</div>
</a>
</div>
@ -101,7 +101,7 @@
<!-- <a class="p-none wzi" href="#/more/blog">博客</a> -->
<a class="p-none wzi" href="#/more/join-group">加入讨论群</a>
<a class="p-none wzi" href="#/more/sa-token-donate">赞助</a>
<a class="p-none wzi" href="#/sso/sso-pro">🔥 SSO商业版</a>
<a class="p-none wzi" href="#/sso/sso-pro">?? SSO商业版</a>
<div class="zk-box">
<a class="wzi" href="javascript:;">
<span>相关资源 </span>
@ -152,7 +152,7 @@
<!-- -->
<script src="./static/docsify-plugin.js"></script>
<script>
var saTokenTopVersion = '1.34.1'; // Sa-Token最新版本
var saTokenTopVersion = '1.35.0.RC'; // 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

@ -103,7 +103,7 @@
<div class="main-box">
<div class="content-box">
<!-- <div class="fenge"></div> -->
<h1>Sa-Token<small>v1.34.1</small></h1>
<h1>Sa-Token<small>v1.35.0.RC</small></h1>
<div class="sub-title">一个轻量级 java 权限认证框架,让鉴权变得简单、优雅!</div>
<div class="btn-box">
<a class="abtn" href="https://github.com/dromara/sa-token" target="_blank">GitHub</a>

View File

@ -251,7 +251,7 @@ Maven依赖一直无法加载成功[参考解决方案](https://sa-token.cc/d
├── sa-token-demo-dubbo3-provider // [示例] Sa-Token 集成 dubbo3 鉴权,生产端(被调用端)
├── sa-token-demo-remember-me // [示例] Sa-Token 实现 [ 记住我 ] 模式
├── page_project // [示例] Sa-Token 实现 [ 记住我 ] 模式、前端页面
├── server_project // [示例] Sa-Token 实现 [ 记住我 ] 模式、后端接口
├── sa-token-demo-remember-me-server // [示例] Sa-Token 实现 [ 记住我 ] 模式、后端接口
├── sa-token-demo-grpc // [示例] Sa-Token 集成 grpc 鉴权
├── client // [示例] Sa-Token 集成 grpc 鉴权client 端
├── server // [示例] Sa-Token 集成 grpc 鉴权server 端