Skip to content

Apollo 2.1.0 Release

Latest
Compare
Choose a tag to compare
@nobodyiam nobodyiam released this 01 Feb 12:06
· 52 commits to master since this release
60bd514

Highlights

Admin Tools Enhancement

User management enhancement
The user management page now has a list view of all users and administrators can easily find a specific user to edit.
image

System configuration enhancement
The system configuration page now has a list view of all configuration items of PortalDB as well as ConfigDB. Administrators can easily find a specific configuration item to edit.

image

image

Open platform authorization management enhancement
The open platform authorization management page now has a list view of third-party apps and administrators can easily find a specific app to grant permission.
image

Basic Types for Item

Users can now config the types of the item and apollo would do a basic type check based on the type.
The types available now are String(default), Number, Boolean, and JSON.
image

Non-properties Namespaces Comparison Feature

The comparison feature for non-properties namespaces is now available.
image

Support Database as the Service Registry for apollo-configservice and apollo-adminservice

Apollo now supports the use of database as the service registry, without relying on a third-party service registry such as eureka.
See database-discovery for more information.

What's Changed

Features

  • Optimize Spring-Security Firewall Deny Request Response 400 by @klboke in #4428
  • Allow users to associate multiple public namespaces at a time by @falser101 in #4437
  • Optimize the UI experience of open platform authorization management by @klboke in #4436
  • Add search key when comparing Configuration items by @falser101 in #4459
  • Add a new API to load items with pagination by @mghio in #4468
  • A user-friendly user management page for apollo portal by @zcy1010 in #4464
  • Switching spring-session serialization mode to json for compatibility with spring-security version updates by @klboke in #4484
  • Sort Namespaces acquired by multiple threads by @klboke in #4500
  • Allow users to delete AppNamespace by @klboke in #4499
  • Add configuration processor for portal developers by @vdisk-group in #4521
  • Add a potential json value check feature by @AbnerHuang2 in #4519
  • Support non-properties-diff by @SunnyBoy-WYH in #4533
  • Add an option to custom oidc userDisplayName by @vdisk-group in #4507
  • Add basic type check for Item value by @furaul in #4542
  • A user-friendly config management page for apollo portal by @webSue in #4592
  • Support use database as a registry by @Anilople in #4595
  • Users can change spring.profiles.active's value without rebuild project by @Anilople in #4616
  • Enable login authentication for eureka by @nobodyiam in #4663
  • Portal-UI adds server config configuration management of ApolloConfigDB by @klboke in #4680

Bug fixes

  • Fix: occur a 400 error request when openapi key's parameter contain "a[0]" by @CalebZYC in #4424
  • Upgrade mysql-connector-java version to fix possible transaction rollback failure issue by @klboke in #4425
  • Fix 'openjdk:8-jre-alpine' potentially causing wrong number of cpu cores by @klboke in #4475
  • Fix overwrite JSON type configuration being empty by @falser101 in #4486
  • Fix deleted at timestamp by @nobodyiam in #4493
  • Fix openapi item with url illegalKey 400 error by @AbnerHuang2 in #4549
  • Fix @Transactional invalid cases by @ksice in #4551
  • Fix the exception occurred when publish/rollback namespaces with grayrelease by @nobodyiam in #4564
  • Fix a json serialization problem during LDAP integration by @klboke in #4556
  • Fix Apollo checks the yaml format interface Response Code = 500 by @klboke in #4567
  • Fix create namespace with single dot 500 error by @AbnerHuang2 in #4568
  • Fix(sec): upgrade fastjson to 1.2.83 by @ren-jq101 in #4587
  • Fix get the openapi interface that contains namespace information for deleted items by @CalebZYC in #4596
  • Disable spring cloud discovery when running test to speed up test process and reduce error log by @wutingjia in #4604
  • Fix Grayscale release Item Value length limit can not be synchronized with its main version by @David-zhang-beep in #4622
  • Fix the problem of deleting blank items appear at the end by @wanggang19 in #4662

Misc

Breaking Changes

As was discussed in #4353, apollo drops the support for the flyway database migration tool.

Installation

Please refer to the Distributed Deployment Guide.

How to upgrade from v2.0.1 to v2.1.0

  • Apply apolloconfigdb-v200-v210.sql to ApolloConfigDB
  • Deploy v2.1.0 executables with the following sequences:
    • apollo-configservice
    • apollo-adminservice
    • apollo-portal
  • Execute the following SQL to clear the spring sessions as spring security sessions are not compatible between versions, see spring-projects/spring-security#9204
use ApolloPortalDB;
delete from `SPRING_SESSION_ATTRIBUTES`;
delete from `SPRING_SESSION`;

New Contributors