ulisesbocchio / jasypt-spring-boot

Jasypt integration for Spring boot
MIT License
2.91k stars 521 forks source link

Support for SpringBoot 3.0.X #342

Closed tomazj closed 1 year ago

tomazj commented 1 year ago

Hi,

Is there a plan to make a new release of this library, which supports integration with Spring Boot 3.0.X?

sickan90 commented 1 year ago

There is a PR for this https://github.com/ulisesbocchio/jasypt-spring-boot/pull/341. Just need to wait until it is merged and released.

And as I did not want to wait I imported the AutoConfiguration file manually instead:

import com.ulisesbocchio.jasyptspringbootstarter.JasyptSpringBootAutoConfiguration;

@SpringBootApplication
@ImportAutoConfiguration(classes = JasyptSpringBootAutoConfiguration.class) // Remove when Jasypt is released for spring boot 3 (or at least 2.7)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
tomazj commented 1 year ago

@sickan90 : Thank you for the workaround. Hopefully the MR will be merged and new release available soon.

ulisesbocchio commented 1 year ago

thank you guys! all merged and released on 3.0.5