From 8940be892b98f367d1f28aa962067405eccf52d8 Mon Sep 17 00:00:00 2001 From: blinkfox Date: Wed, 26 Aug 2020 23:51:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E4=BA=86=20v2.3.6=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- docs/CHANGELOG.md | 5 +++++ docs/_coverpage.md | 2 +- docs/quick-install.md | 8 ++++---- pom.xml | 2 +- .../com/blinkfox/fenix/FenixJpaRepositoriesRegistrar.java | 5 ++++- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6e19cfc..279c591 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
fenix logo
-[![Build Status](https://secure.travis-ci.org/blinkfox/fenix.svg)](https://travis-ci.org/blinkfox/fenix) [![HitCount](http://hits.dwyl.io/blinkfox/fenix.svg)](http://hits.dwyl.io/blinkfox/fenix) [![Javadocs](http://www.javadoc.io/badge/com.blinkfox/fenix.svg)](http://www.javadoc.io/doc/com.blinkfox/fenix) [![GitHub license](https://img.shields.io/github/license/blinkfox/fenix.svg)](https://github.com/blinkfox/fenix/blob/develop/LICENSE) [![fenix](https://img.shields.io/badge/fenix-v2.3.5-blue)](https://search.maven.org/artifact/com.blinkfox/fenix/2.3.5/jar) [![fenix starter](https://img.shields.io/badge/fenix%20spring%20boot%20starter-v2.3.5-blue)](https://search.maven.org/artifact/com.blinkfox/fenix-spring-boot-starter/2.3.5/jar) [![codecov](https://codecov.io/gh/blinkfox/fenix/branch/develop/graph/badge.svg)](https://codecov.io/gh/blinkfox/fenix) +[![Build Status](https://secure.travis-ci.org/blinkfox/fenix.svg)](https://travis-ci.org/blinkfox/fenix) [![HitCount](http://hits.dwyl.io/blinkfox/fenix.svg)](http://hits.dwyl.io/blinkfox/fenix) [![Javadocs](http://www.javadoc.io/badge/com.blinkfox/fenix.svg)](http://www.javadoc.io/doc/com.blinkfox/fenix) [![GitHub license](https://img.shields.io/github/license/blinkfox/fenix.svg)](https://github.com/blinkfox/fenix/blob/develop/LICENSE) [![fenix](https://img.shields.io/badge/fenix-v2.3.6-blue)](https://search.maven.org/artifact/com.blinkfox/fenix/2.3.6/jar) [![fenix starter](https://img.shields.io/badge/fenix%20spring%20boot%20starter-v2.3.6-blue)](https://search.maven.org/artifact/com.blinkfox/fenix-spring-boot-starter/2.3.6/jar) [![codecov](https://codecov.io/gh/blinkfox/fenix/branch/develop/graph/badge.svg)](https://codecov.io/gh/blinkfox/fenix) > [Fenix](https://github.com/blinkfox/fenix)(菲尼克斯)是一个为了解决复杂动态 SQL (`JPQL`) 而生的 `Spring Data JPA` 扩展库,目的是辅助开发者更方便快捷的书写复杂、动态且易于维护的 SQL,支持 `XML`、Java 链式 `API` 和动态条件注解等四种方式来书写动态 SQL。 @@ -38,14 +38,14 @@ com.blinkfox fenix-spring-boot-starter - 2.3.5 + 2.3.6 ``` ### Gradle ```bash -compile 'com.blinkfox:fenix-spring-boot-starter:2.3.5' +compile 'com.blinkfox:fenix-spring-boot-starter:2.3.6' ``` ### 激活 Fenix (@EnableFenix) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 900b399..8590897 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,8 @@ +## v2.3.6 小功能改进版本 (2020-08-27) + +- 新增了 `@EnableFenix` 注解中更多的配置信息,与 `@EnableJpaRepositories` 注解相对应; +- 修改了求 `COUNT` 的 SQL 不支持 `DISTINCT` 的问题; + ## v2.3.5 修复了在老版本 JPA 中某些情况下的 bug (2020-07-31) - 修复了在老版本 JPA 中,某些情况下出现 Javaassist 的 `ClassNotFoundException` 的问题; diff --git a/docs/_coverpage.md b/docs/_coverpage.md index bb5c488..ee5984f 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ ![logo](assets/images/logo.png) -# Fenix 2.3.5 +# Fenix 2.3.6 > 为解决复杂动态 SQL 而生的 Spring Data JPA 扩展库 diff --git a/docs/quick-install.md b/docs/quick-install.md index 8167cdd..81b85bd 100644 --- a/docs/quick-install.md +++ b/docs/quick-install.md @@ -14,14 +14,14 @@ com.blinkfox fenix-spring-boot-starter - 2.3.5 + 2.3.6 ``` ### Gradle ```bash -compile 'com.blinkfox:fenix-spring-boot-starter:2.3.5' +compile 'com.blinkfox:fenix-spring-boot-starter:2.3.6' ``` ### 激活 Fenix (@EnableFenix) @@ -92,14 +92,14 @@ fenix: com.blinkfox fenix - 2.3.5 + 2.3.6 ``` ### Gradle ```bash -compile 'com.blinkfox:fenix:2.3.5' +compile 'com.blinkfox:fenix:2.3.6' ``` ### 激活 Fenix diff --git a/pom.xml b/pom.xml index fd1075a..ec9707d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.blinkfox fenix - 2.3.5 + 2.3.6 jar fenix diff --git a/src/main/java/com/blinkfox/fenix/FenixJpaRepositoriesRegistrar.java b/src/main/java/com/blinkfox/fenix/FenixJpaRepositoriesRegistrar.java index 54f8bcc..8dd4672 100644 --- a/src/main/java/com/blinkfox/fenix/FenixJpaRepositoriesRegistrar.java +++ b/src/main/java/com/blinkfox/fenix/FenixJpaRepositoriesRegistrar.java @@ -7,10 +7,12 @@ /** * {@link EnableFenix} 启用的注册器. + * * @author yangwenpeng - * @since v2.3.5 + * @since v2.3.6 */ public class FenixJpaRepositoriesRegistrar extends RepositoryBeanDefinitionRegistrarSupport { + @Override protected Class getAnnotation() { return EnableFenix.class; @@ -20,4 +22,5 @@ protected Class getAnnotation() { protected RepositoryConfigurationExtension getExtension() { return new JpaRepositoryConfigExtension(); } + }