浏览代码

升级 3.0.5

hubin 6 年之前
父节点
当前提交
65b906aed1

+ 18 - 0
CHANGELOG.md

@@ -1,6 +1,24 @@
 # CHANGELOG
 
 
+
+## [v3.0.5] 2018.10.11
+- 移除 ApiAssert 改为 Assert
+- 移除 ApiResult 改为 R
+- SQL 注入器优化
+- 移除 excludeColumns 方法
+- 修复 last 方法的 condition 入参不生效的问题
+- 修复去除1=1 BUG
+- 移除对 spring-devtools 的支持
+- 修复实体属性都为null时Sql拼接出错问题
+- 缓存Class反射信息,提升效率
+- 继承Model类的实体中,现在无需重写pkVal()方法
+- 解决在设置了config-location的情况下报mpe的bug,以及优化初始化逻辑
+- 修复存在 mapper.xml 情况下逻辑删除失效
+- 调整 关于ServiceImpl中的事务问题 gitee issue/IN8T8
+- 修复 DB2分页方言 github issues/526
+
+
 ## [v3.0.4] 2018.09.28
 - 修正全局配置 FieldStrategy 为非默认值
 - 修正批量事务异常问题

+ 1 - 1
build.gradle

@@ -58,7 +58,7 @@ ext {
 
 allprojects {
     group = 'com.baomidou'
-    version = '3.0.5-SNAPSHOT'
+    version = '3.0.5'
 }
 
 description = "Mybatis 增强工具包 - 只做增强不做改变,简化CRUD操作"

+ 1 - 1
mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/MybatisConfiguration.java

@@ -69,7 +69,7 @@ public class MybatisConfiguration extends Configuration {
             System.out.println(" _ _   |_  _ _|_. ___ _ |    _ ");
             System.out.println("| | |\\/|_)(_| | |_\\  |_)||_|_\\ ");
             System.out.println("     /               |         ");
-            System.out.println("                        3.0.5-SNAPSHOT");
+            System.out.println("                        3.0.5 ");
         }
     }
 

+ 0 - 31
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/api/ApiAssert.java

@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2011-2020, hubin (jobob@qq.com).
- * <p>
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.baomidou.mybatisplus.extension.api;
-
-/**
- * <p>
- * REST API 业务断言<br>
- * 参考:org.junit.Assert
- * 简化命名为 com.baomidou.mybatisplus.extension.api.Assert
- * </p>
- *
- * @author hubin
- * @since 2018-06-05
- */
-@Deprecated
-public class ApiAssert extends Assert {
-
-}

+ 0 - 29
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/api/ApiResult.java

@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2011-2020, hubin (jobob@qq.com).
- * <p>
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.baomidou.mybatisplus.extension.api;
-
-/**
- * <p>
- * REST API 返回结果 , 简化为类 com.baomidou.mybatisplus.extension.api.R
- * </p>
- *
- * @author hubin
- * @since 2018-06-05
- */
-@Deprecated
-public class ApiResult<T> extends R<T> {
-
-}