Skip to content

Apollo v0.9.0 Release

Compare
Choose a tag to compare
@nobodyiam nobodyiam released this 16 Oct 03:53
· 1366 commits to master since this 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

Apollo Config Service

  • Add config cache support #719
    • To enable this feature, config-service.cache.enabled should be set to true in ApolloConfigDB.ServerConfig.

Apollo Client

  • Add rate limit control for no config warning #674
  • Optimize load config on error retry strategy #688

How to upgrade from v0.8.0 to v0.9.0

  1. Apply apolloportaldb-v080-v090.sql to ApolloPortalDB
  2. Deploy v0.9.0 executables with the following sequences:
    1. apollo-configservice
    2. apollo-adminservice
    3. 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:

  1. Table users was renamed to Users
  2. Table authorities was renamed to Authorities
  3. A new field Email was added to table Users
  4. The default admin user was changed back to apollo

Here are some tips on how to upgrade the schema:

  1. 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 and authorities to Users and Authorities
    • Deploy v0.9.0 executables with the sequences mentioned above
  2. If your database is table name case insensitive (lower-case-table-names=1 or 2)

    • Add Email field to table Users manually according to apolloportaldb-v080-v090.sql
    • Create default admin user apollo if necessary
    • Deploy v0.9.0 executables with the sequences mentioned above