Skip to content

Releases: spring-projects-experimental/spring-boot-migrator

v0.15.1

09 Oct 20:42
Compare
Choose a tag to compare

Nothing new

v0.15.0

05 Aug 22:25
Compare
Choose a tag to compare

⭐ New Features

  • Finish #803 #860
  • Use CI to create documentation #764
  • Provide a Maven pom cache for local Maven repository #759

🐞 Bug Fixes

  • Bugfix/852 static import family #853
  • Apply initialize-spring-boot-migration on a Boot application might downgrade Boot version #453

🔨 Dependency Upgrades

  • build(deps): bump maven-failsafe-plugin from 2.22.2 to 3.1.2 #824

❤️ Contributors

Thank you to all the contributors who worked on this release:

@bottemav

v0.14.0

18 Jun 10:54
Compare
Choose a tag to compare

⭐ New Features

  • Apply recipes by number #817, #818, #819
  • fix: Markers are kept after search #809
  • Reusable Execution Context #792
  • feat: Added DependencyVersionHelper for finding the latest release ve… #780
  • update issue template #778
  • fix: Removed dependency to Junit4 #777
  • Remove dependency to Junit4 #775
  • Support static imports when replacing JAX/RS MediaType #755
  • update sbu30-remove-construtor-binding.yaml description #754
  • JSON B in web ui #749
  • Spring migration fix and Mule Changes #747
  • Avoid NullPointerException in OpenRewriteMethod #739
  • Add Jakarta migration to spring-boot-upgrade project #724
  • Use provided (if any) port in URL to report printed on console #717
  • Fix calculation of base package #706
  • Enable ProjectContextInitializerTest again #697
  • Enable ProjectContextInitializerTest #696
  • Add generated report sections #690
  • Migrate JAX-RS default value annotation #604
  • Remove spring managed dependency with version consideration #602
  • Support reusing Conditions for Helper in Spring Boot 3 Upgrade Report YAML #592
  • Remove standard maven-compiler plugin for applications with boot parent - gh-428 #508
  • Project version defined as ${revision} cannot be resolved via maven.config #413

🐞 Bug Fixes

  • Fix applicable recipe list holder #822
  • fix: Replaced programmatic with injected JavaParser #808
  • fix: Deleted colliding package that was left over #805
  • Commented Out and added TODO for now #802
  • fix: Adding a managed Maven dependency throws exception if it exists in same or higher version #779
  • fix: Removed Nullpointer exception when a class is extended and the type is unresolved #773
  • Make migrate-annotated-servlets-recipe only applicable for classes annotated with @WebServlet #770
  • Test verifies pom with empty properties section can be parsed #769
  • fix: Bump version to latest to fix BootUpgrade\_27\_30\_IntegrationTest #768
  • test: Test that verifies #54 is fixed #766
  • Disable UpgradeDependencyVersionTest #765
  • Fix issue 739 null pointer exception #750
  • doc: Fix download link #732
  • fix: Test fixed by bumping boot version #730
  • Fixes build failure, caused by commit dc45550 #725
  • Couldn't Download the JAR #720
  • fix: Remove outdated recipe #711
  • The recipe sql-access-in-java-ee-apps references a broken link #707
  • spring-boot-upgrade does not use correct port when it asks to open the report #693

📔 Documentation

  • doc: Add FIXME #811
  • Fix link to releas in user-documentation.adoc #787
  • Update README.adoc :: Explain the difference between spring-boot-upgrade.jar & spring-boot-migrator.jar #719
  • Docs fix and test #608

🔨 Dependency Upgrades

  • build(deps): bump rewrite-migrate-java from 1.13.0 to 1.17.0 #726
  • build(deps-dev): bump htmlunit from 2.67.0 to 2.70.0 #708
  • Bump jackson-dataformat-xml from 2.14.0 to 2.14.1 #599
  • Bump jcl-over-slf4j from 2.0.5 to 2.0.6 #593
  • Bump spring-shell-dependencies from 2.1.2 to 2.1.4 #588
  • Upgrade openrewrite 7.35.0 #728

❤️ Contributors

Thank you to all the contributors who worked on this release:

@JoeCqupt, @ahmedmq, @bottemav, @bsmahi, @pkpivot, @ranma2913, @ravig-kant, @sanagaraj-pivotal, @simontb, @soumyaPrakashB, and @szymonsadowski3

v0.13.0

02 Dec 13:09
Compare
Choose a tag to compare

⭐ New Features

  • All report sections in upgrade report shown for Boot 2.7 and 3.0 #587
  • Maven settings.xml get evaluated #581
  • Report section for Actuator Endpoints Sanitization #570
  • Use correct boot version in new report #569
  • 3.0 Upgrade Recipe: Remove Image Banner from default location #558
  • Fixing PagingAndSortingHelperTest conforming to new finder #556
  • Report sections get removed when migration recipe was applied #551
  • Deprecation of CommonsMultipartResolver gets reported #549
  • Highlight files in PagingAndSorting Report section #539
  • Move paging and sorting report to new Boot Upgrade Report #537
  • New web application for Boot Upgrade report #536
  • Merge scopes when adding a dependency that exists but with different scope #533
  • Test for getDependency variations #520
  • Constructor binding report generation for spring 2.7 to 3.0 project #515
  • SpringBootUpgradeReportTestSupport allows asserting a section gets not rendered #504
  • Add removal of Image Banner to report #499
  • Fix some trivial issues learned on real project #492
  • Rework Upgrade Report support #483
  • Rework report generation #482
  • Moved upgrade WireMock dependency to new report #481
  • Upgrade spring cloud dependency recipe #479
  • adding the jmx endpoint exposure related files . #473
  • wiremock-jre8 needs to be changed to wiremock-jre8-standalone #472
  • 3.0.0: Update Spring Cloud when upgrading to Spring Boot 3 #470
  • Refactor #461 - Remove addDefaultPropertiesFileToTopModules flag #469
  • Support for .mvn/maven.config #468
  • Support for .mvn/maven.config #462
  • Merge scopes when adding a dependency that exists but with different scope #455
  • Use unified IsSpringBootProject condition #454
  • 3.0.0-M5: Actuator Endpoints Sanitization #445
  • 3.0.0-M5: JMX Endpoint Exposure #444
  • 3.0.0-M5: Cassandra Properties #442
  • 3.0.0-M5: Changes to Data properties #441
  • Log and proceed when resources under test have syntax errors #399
  • 3.0.0-M3 Support for Apache Solr Removed #371

🐞 Bug Fixes

  • migrator does not honor Maven settings.xml #573
  • Fixed recipes names #555
  • Fix Upgrade Report generation by unpacking spring-asciidoctor-backends #521
  • Problem with dependency resolution in a multi-module JEE ear project #516
  • Fix NullPointerException in VisitorUtils #509
  • fix: TriggerMesh support flag unset after test #506
  • `MuleToJavaDSLTransactionalTest? fails with GitHub Actions #505
  • Fix: An error "fullyQualified" is null happened when generating boot-2.7-3.0-upgrade-report #480
  • An error "fullyQualified" is null happened when generating boot-2.7-3.0-upgrade-report #478
  • Fix #457 - Enhance initialise spring boot integration test #460
  • Fix api usage #459
  • Git adds files when .git is in parent dir of project #458
  • Dependency not added twice with same scope #452
  • IsMatchingSpringBootVersion fails with pom.xml having only Spring Boot declared in dependencyManagement #423
  • Adding files to git index does not work for projects with .git in some parent dir #397
  • BuildFile.addDependencies(...) should not add existing dependency again #309
  • Version for spring-boot-maven-plugin must be set when Boot dependencies are added by #284
  • org.springframework.sbm.jee.jaxrs.recipes.ReplaceMediaTypeTest throws UnsupportedOperationException #172

📔 Documentation

  • Fix typo in README #466

🔨 Dependency Upgrades

  • Bump asciidoctorj from 2.5.6 to 2.5.7 #497
  • Bump htmlunit from 2.66.0 to 2.67.0 #566
  • Bump jcl-over-slf4j from 2.0.2 to 2.0.5 #451, #565, #575
  • Bump maven-release-plugin from 3.0.0-M6 to 3.0.0-M7 #530
  • Bump org.eclipse.jgit from 6.3.0.202209071007-r to 6.4.0.202211300538-r #583
  • Bump progressbar from 0.9.4 to 0.9.5 #474
  • Bump rewrite-migrate-java from 1.11.0 to 1.13.0 #477, #493
  • Bump spring-boot.version from 2.7.4 to 2.7.5 #496
  • Bump spring-javaformat-maven-plugin from 0.0.34 to 0.0.35 #465
  • Bump spring-shell-dependencies from 2.1.1 to 2.1.2 #464
  • Bump testcontainers from 1.17.3 to 1.17.6 #456, #463, #562

❤️ Contributors

Thank you to all the contributors who worked on this release:

@BenjaminHerbert, @ahmedmq, @ashakirin, @bottemav, @fabapp2, @ishu-thakur, @k...

Read more

v0.12.0

26 Sep 12:11
Compare
Choose a tag to compare

⭐ New Features

  • Supports TriggerMesh for MuleSoft Dataweave Transformations #434
  • Bump spring boot version used in recipes to 2.7.3 #424
  • MigrateJaxRsRecipe adds required=false to all @RequestParam without required #422
  • Upgrade only older explicit versions #421
  • Fixed used JavaParser when adding JavaSources #419
  • Ignore namespaces when unmarshalling web.xml #409
  • ApplicationModules recognizes war and jar as application module #405
  • ApplicationModules should recognize pom. types of jar and war as potential application module #403
  • Adds action to set unitName on PersistenceContext annotation to default #401
  • Add Action to set unitName attribute on @PersistenceContext to 'default' #400
  • Provide API for @RestController Spring Beans #386
  • Add Mule package type to getTopmostApplicationModules #385
  • Provide a list of managed dependencies with version for a given pom #384
  • Make Spring Boot upgrade 3 ConstructorBinding multi-module aware #382
  • Make Spring Boot upgrade 3 Configuration multi-module aware #381
  • Makes ehchache migration multi-module aware for Spring Boot 3 upgrade #374
  • Make Spring Boot upgrade 3 ehcache multi module aware #370
  • Makes CreateAutoConfigurationAction multi-module aware #369
  • Add .sdkmanrc with 17.0.4-tem #368
  • CreateAutoconfigurationAction should be multi module aware #365
  • Provide a method ApplicationModules.findModuleContaining(Path) #362
  • Build pipeline in concourse #341
  • 270 make initialize spring boot migration work with simple multi maven module project #340
  • Map all fields of a PluginRepository #336
  • Provide test helper for section builder tests #332
  • The integration test for Boot 3.0 upgrades should build the migrated project #329
  • Rework condition for JSON-B recipe #328
  • Report for Boot 3.0.0-M1 removals #324
  • #305 Provide SpringBootDefaultPropertiesFinder that returns the default ap… #323
  • Provide search methods for ApplicationModule #319
  • 3.0.0-M3 Logging Date Format #296
  • Improve printout of applied recipes #293
  • Error handling in OpenRewriteRewriteRecipeAdapters #287
  • Make initialize-spring-boot-migration work with simple multi Maven module project #270
  • 3.0.0-M1 Jersey temporarily removed (closes #160) #269
  • Support upgrade of Spring Boot applications not using parent pom #263
  • 3.0.0-M3 Sorting repositories no longer inherit from CRUD repositories. #257
  • Report usage of removed DatabaseDriver.GAE #244
  • 3.0.0-M3 PagingAndSortingRepository does not extend CrudRepository anymore #242
  • Recipe AddRepositoryAction doesn't check condition NoRepositoryExistsCondition #241
  • Integrating Spring boot 3 property refactor into SBM #238
  • 3.0.0-M3 PagingAndSortingRepository does not extend CrudRepository anymore #236
  • Allow MAVEN_HOME or M2_HOME for integration tests #235
  • Make SBM compatible to JDK 17 #213
  • Move SAML2 properties issue into OR and reintegrate in SBM #198
  • Fix MavenProjectParser to parse all resources #190
  • Add support for generating code to send MuleSoft Dataweave Transformations to TriggerMesh #183
  • 2.7: Changes to Auto-configuration #156 #182
  • Rework OpenRewrite recipe integration #181
  • Rework openrewrite integration #180
  • Support for auto handling of SQL Injection in Mule #146
  • Oracle DB Config support #145
  • 140 db insert #144
  • 138 transactional #139
  • Mule: support component in mule #138
  • 130 - Support foreach #136
  • Support mule component #130
  • 118 multiple dwl #127
  • 119 db select support #126
  • #56 Migrate all properties to @Stateless when migrating ejb-jar.xml t… #123

🐞 Bug Fixes

  • Fix requested manually managed dependencies #432
  • Fix root build file selection #429
  • After applying initialize-spring-boot-migration the recipe is still shown as applicable #418
  • 414 fixed not found managed dependency #415
  • 411 fixed version property spring dependencies import #412
  • Conditions HasSpringBootDependencyImport don't recognise version property #411
  • Fix Git commit and deleted resource filter #408
  • Git commit is broken #407
  • No path set to @RequestMapping for JAX-RS method without @Path #404
  • Migrating JAX-RS annotations results in broken annotation when path given on type level [#402](https://github.com/sprin...
Read more

0.11.1

23 May 14:09
Compare
Choose a tag to compare

0.11.1 - 2022-05-23

Adds

Fixes

  • recipesFound null in upgrade-asciidoc.ftl:46 breaks HTML report generation (#124). Thanks, @timtebeek

0.11.0

22 May 12:54
Compare
Choose a tag to compare

0.11.0 - 2022-05-22

Adds

  • Unmarshalling ejb-jar.xml for EJB 2.1 (#62)
  • Demo for Mule to Boot migration (#80)
  • Demo for Spring Boot 2.4 to 2.5 upgrade (#120)
  • New Mule 3.9 components and schemas (#110, #95, #87)
  • Bumped some dependency versions

Fixes

  • Paths and CLI rendering under Windows (#58)
  • Fix SBM when using Windows (#58)
  • Bump some dependency versions, removes CVEs
  • SBM generates Asciidoc report when started as jar
  • 2.4 to 2.5 upgrade does not randomly fail anymore
  • Full Windows support (#91)
  • Builds on Mac M1 (#114)

0.10.0

28 Mar 20:13
Compare
Choose a tag to compare

0.10.0 - 2022-03-28

Adds

  • Support to migrate to Spring Cloud Config Server
  • Support to migrate from Mule to Spring Boot
  • More status information is displayed during scan
  • Precondition check before scan (#15)
  • Upgraded to OpenRewrite 7.16.3