Apollo v0.9.0 Release
This release includes several enhancements and bug fixes.
General
- Add docker quick start demo and docker file #776 #658
- Add build.bat #691
- Optimize startup script to check whether pid is alive #697
- Add ConditionalOnProfile and ConditionalOnMissingProfile annotations #733
Apollo Portal
- Add simple spring security authentication support #732 #738 #754 #757
- Please refer Portal-实现用户登录功能 for more information.
Apollo Config Service
- Add config cache support #719
- To enable this feature,
config-service.cache.enabled
should be set totrue
in ApolloConfigDB.ServerConfig.
- To enable this feature,
Apollo Client
How to upgrade from v0.8.0 to v0.9.0
- Apply apolloportaldb-v080-v090.sql to ApolloPortalDB
- Deploy v0.9.0 executables with the following sequences:
- apollo-configservice
- apollo-adminservice
- apollo-portal
How to upgrade from spring-security-auth branch to v0.9.0
Some users may be using the spring-security-auth branch (which is based on v0.8.0) previously, here are some tips for those users if wishing to upgrade to v0.9.0.
Main part of the spring security authentication logic was migrated to v0.9.0, however, there are some schema changes:
- Table
users
was renamed toUsers
- Table
authorities
was renamed toAuthorities
- A new field
Email
was added to tableUsers
- The default admin user was changed back to
apollo
Here are some tips on how to upgrade the schema:
-
If your database is table name case sensitive (lower-case-table-names=0)
- Apply apolloportaldb-v080-v090.sql to ApolloPortalDB
- Migrate existing data from
users
andauthorities
toUsers
andAuthorities
- Deploy v0.9.0 executables with the sequences mentioned above
-
If your database is table name case insensitive (lower-case-table-names=1 or 2)
- Add
Email
field to tableUsers
manually according to apolloportaldb-v080-v090.sql - Create default admin user
apollo
if necessary - Deploy v0.9.0 executables with the sequences mentioned above
- Add