Releases
John Blum
September 24, 2019
On behalf of the Spring and Apache Geode communities, it is my pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.2.0.M3.
SBDG 1.2.0.M3 continues to be based on the same bits as the 1.2.0.M2 release: primarily:
Spring Framework 5.2.0.RC2
Spring Boot 2.2.0.M6
Spring Data Moore-RC3
Spring Session Corn-M4
Spring Test for Apache Geode & Pivotal GemFire (STDG) 0.0.8.RELEASE
The SBDG 1.2.0.M3 bits may be acquired from the Spring Milestone Repository as well as Spring Initializer.
What’s New
We now include support for switching between environments with NO CODE or CONFIGURATION changes necessary.
Again, we making and improving on SBDG’s primary directive, which is to:
Switch between Open Source (Apache Geode) and Commercial (Pivotal Cloud Cache (PCC)).
Switch between Non-Managed (Standalone or Externally Managed) to Managed environments (e.g. Pivotal Platform)
With little to no code or configuration changes necessary. It simply just works!
Note
It is also be possible to go back, i.e. from Managed to Non-Managed environments and from Commercial back to Open Source if the need arises. The framework will not lock you in. It is your choice.
This capability is made possible by the new @EnableClusterAware annotation, which can be used on your main @SpringBootApplication class as follows:
Using @EnableClusterAware
@SpringBootApplication
@EnableClusterAware
class MySpringBootApacheGeodeClientCacheApplication { … }
This new annotation comes with even more power. For more details you can read about it in the documentation.
In addition, we have wrote new and dedicated chapters on “Auto-configuration” applied by SBDG as well as what “Declarative Configuration” (or explicit configuration) is still required.
Often times users ask what does SBDG auto-configure and what Apache Geode or PCC features must I configure myself? These chapters answer that question and much more.
Also be sure to check out the section in the “Declarative Configuration” chapter that we are calling the “Productivity” based annotations.
In addition to these 2 new features, we also fixed a bug that left autowiring auto-configured GemfireTemplates into your application components incomplete and broken in some cases.
Thank you Udo Kohlmeyer and Mark Secrist for finding and raising this issue!
For a complete list of changes in 1.2.0.M3, please see the changelog.
What’s Next
This wraps up the feature set for SBDG 1.2. There will be a SBDG 1.2 RC1 release coming up (tentatively) next week, right after Spring Boot 2.2 RC1, which will rebase SBDG 1.2.0.RC1 on Spring Boot 2.2.0.RC1 bits.
In this release we will also take a step backwards and start from the beginning. Meaning, we will focus on the “getting started” experience… using SBDG to create Apache Geode or Pivotal Cloud Cache (PCC) applications with Spring Boot from the ground up.
That experience actually (now) begins at start.spring.io using the Spring Initializer, thanks to the Spring Initializer team!
Thank you Spring Initializer team and special thanks to Stephane Nicole for guiding us through the process. Much appreciated.
Feedback
As always, feedback is highly appreciated and welcomed. Please give the new bits a try and let us know what you think.
Issues | PR | StackOverflow
comments powered by Disqus
translate:
翻译:
此新注释具有更大的功能。有关更多详细信息,请参阅文档。
此外,我们还撰写了有关SBDG应用的“自动配置”以及仍需要什么“声明式配置”(或显式配置)的新的专门章节。
经常,用户会问SBDG自动配置了什么,我必须自己配置哪些Apache Geode或PCC功能?这些章节回答了这个问题,甚至更多。
另外,请务必检查“声明式配置”一章中的部分,我们将其称为基于“生产力”的注释。
除了这两个新功能外,我们还修复了一个错误,该错误使自动配置的GemfireTemplates自动装配到您的应用程序组件中,在某些情况下不完整且损坏。
感谢Udo Kohlmeyer和Mark Secrist找到并提出了这个问题!
有关1.2.0.M3中更改的完整列表,请参阅更改日志。
下一步是什么
总结了SBDG 1.2的功能集。在Spring Boot 2.2 RC1之后,下周将(暂定)发布SBDG 1.2 RC1,它将在Spring Boot 2.2.0.RC1位上重新建立SBDG 1.2.0.RC1的基础。
在此版本中,我们还将向后退一步,并从头开始。这意味着,我们将专注于``入门’'体验…使用SBDG从一开始就通过Spring Boot创建Apache Geode或Pivotal Cloud Cache(PCC)应用程序。
感谢Spring Initializer团队,这种体验实际上(现在)是使用Spring Initializer从start.spring.io开始的!
感谢Spring Initializer团队,特别感谢Stephane Nicole指导我们完成该过程。非常感激。
反馈