From 900e2d3ccb1ac70763716736496258ec8c6c1d17 Mon Sep 17 00:00:00 2001 From: Peeter Karolin <43540664+tw-peeterkarolin@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:32:30 +0300 Subject: [PATCH] Create BeanPostProcessor beans in static methods (#32) --- CHANGELOG.md | 5 +++++ gradle.properties | 2 +- .../common/spyql/starter/SpyqlAutoConfiguration.java | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec53101..4fa515b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.6.3] - 2024-04-05 + +### Changed +* Use static methods to create BeanPostProcessors. + ## [1.6.2] - 2024-02-22 ### Changed diff --git a/gradle.properties b/gradle.properties index af4708f..2ccaeec 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.6.2 +version=1.6.3 diff --git a/tw-spyql-starter/src/main/java/com/transferwise/common/spyql/starter/SpyqlAutoConfiguration.java b/tw-spyql-starter/src/main/java/com/transferwise/common/spyql/starter/SpyqlAutoConfiguration.java index 146181f..55bddb1 100644 --- a/tw-spyql-starter/src/main/java/com/transferwise/common/spyql/starter/SpyqlAutoConfiguration.java +++ b/tw-spyql-starter/src/main/java/com/transferwise/common/spyql/starter/SpyqlAutoConfiguration.java @@ -9,7 +9,7 @@ public class SpyqlAutoConfiguration { @Bean @ConditionalOnMissingBean - public SpyqlDataSourceBeanProcessor spyqlDataSourceBeanProcessor() { + public static SpyqlDataSourceBeanProcessor spyqlDataSourceBeanProcessor() { return new SpyqlDataSourceBeanProcessor(); } }