Releases: line/centraldogma
Releases · line/centraldogma
centraldogma-0.38.0
New features
- Server
Performance
- Server
- The initial comparison of two Git trees, which is performed on
wathFile()
andwatchRepository()
operation, is now faster thanks to the various optimizations such as caching. #371 #372 #374 #375 - A client request which has timed out already will be cancelled so that the server recovers faster from thundering herds. #373
- The initial comparison of two Git trees, which is performed on
Bug fixes
- Server
Dependencies
- Armeria 0.82.0 -> 0.83.0
centraldogma-0.37.0
New features
- Client
- You can now specify an access token when building a Thrift Java client using
LegacyCentralDogmaBuilder
.CentralDogma dogma = new LegacyCentralDogmaBuilder() .host("dogma.example.com") .accessToken("appToken-********") .build();
- You can now specify an access token when building a Thrift Java client using
Bug fixes
- Client
- Spring Boot integration no longer ignores the
centraldogma.access-token
property.
- Spring Boot integration no longer ignores the
- Server
- The server no longer rejects a commit without a conflict when the commit's base revision is
-1
. Previously, you sometimes got a409 Conflict
error.
- The server no longer rejects a commit without a conflict when the commit's base revision is
Dependencies
- Armeria 0.81.0 -> 0.82.0
- jGit 5.2.1 -> 5.3.0
- No longer depends on JNR
centraldogma-0.36.0
New features
- Client
- Added a new Java client implementation that uses HTTP instead of Thrift. #350
- See Specifying an access token for more information.
- Use
ArmeriaCentralDogmaBuilder
instead ofLegacyCentralDogmaBuilder
. - Note that you must specify an access token if your server has authentication/authorization enabled.
import com.linecorp.centraldogma.client.CentralDogma; import com.linecorp.centraldogma.client.armeria.ArmeriaCentralDogmaBuilder; final CentralDogma dogma = new ArmeriaCentralDogmaBuilder() .host("replica1.example.com") .host("replica2.example.com") .accessToken("appToken-cffed349-d573-457f-8f74-4727ad9341ce") .build();
- Spring Boot integration now uses the new HTTP-based client and has its own configuration section in
application.yml
. #356- See Spring Boot integration for more information.
centraldogma: hosts: - replica1.example.com - replica2.example.com access-token: appToken-cffed349-d573-457f-8f74-4727ad9341ce
- See Spring Boot integration for more information.
- Added a new Java client implementation that uses HTTP instead of Thrift. #350
- Server
- Added a new configuration property
webAppTitle
which will be shown in the header section of the web UI. You might find this useful when you want to show certain information such asDEV
orPROD
. #349 #352 - Implemented the preview-diff operation in the HTTP API. This is the first release where the HTTP API has the same level of operations as in the Thrift API. #120 #350
- Docker image is now based on OpenJDK 11. #348
- Added a new configuration property
Bug fixes
- Server
- Fixed an
Unexpected exception during authorization
error which occurs when a user sends an invalid or unexpected authorization header. #346
- Fixed an
Deprecations
- Client
LegacyCentralDogmaBuilder
has been deprecated in favor ofArmeriaCentralDogmaBuilder
. #350
Breaking changes
- Client
- Spring Boot integration will require an access token if your Central Server has authentication enabled. #350
Dependencies
- Removed the dependency to
commons-daemon
which prevented us from upgrading from Java 8 to 11. #348 - Armeria 0.80.0 -> 0.81.0
- Caffeine 2.6.2 -> 2.7.0
- Curator 4.0.1 -> 4.2.0
- Guava 27.0.1 -> 27.1
centraldogma-0.35.1
Dependencies
- Armeria 0.79.0 -> 0.80.0
- Hibernate Validator 6.0.14 -> 6.0.15
- SLF4J 1.7.25 -> 1.7.26
- Spring Boot 2.1.2 -> 2.1.3, 1.5.18 -> 1.5.19
centraldogma-0.35.0
Dependencies
- Armeria 0.78.1 -> 0.79.0
- hibernate-validator 6.0.13.Final -> 6.0.14.Final
- jackson-datatype-jsr310 2.9.7 -> 2.9.8
- Spring Boot 2.1.1.RELEASE -> 2.1.2.RELEASE
centraldogma-0.34.0
New features
- Added an API which can get a merged JSON file. #293
- Client-side health check interval is now configurable. #335
Improvements
- Redirected to the first requested URL after SAML SSO is performed. #328
- Logged when HTTP API returns 500 Internal Server Error. #330
- ZooKeeper has now only 3 snapshots to reduce disk usage. #332
Bug fixes
- Fixed a bug where watch timeout is not reset when it is greater than the request timeout. #325
- Fixed a bug where a JSON file is not updated when the property name contains
~
and/
. #338 - Fixed a bug where
IndexOutOfBoundsException
is raised when watching. #334
Breaking change
- Removed all fields other than
revision
andentry
fromWatchResultDto
.
Dependencies
- Armeria 0.76.2 -> 0.78.1
- Jackson 2.9.7 -> 2.9.8
- Javassist 3.24.0 -> 3.24.1
- Spring Boot 2.1.0 -> 2.1.1, 1.5.17 -> 1.5.18
centraldogma-0.33.0
New features
- Server
- We have revamped our authentication layer to add SAML-based single sign-on. #279 #313
- See the Authentication and Access Control section for more information.
- We have revamped our authentication layer to add SAML-based single sign-on. #279 #313
Bug fixes
- Server
Breaking changes
- From this release on, we distribute shaded JARs only. If you were using shaded JARs, you have to remove the
-shaded
suffix from all Central Dogma artifact IDs. You should not see any differences besides that because all Central Dogma artifacts are now distributed as shaded JARs by default. - Since we removed unnecessary dependencies from
centraldogma-bom
, your build might fail to resolve some of your dependencies if you relied oncentraldogma-bom
for the version numbers of non-Central Dogma dependencies. - Server
- Authentication configuration format has been changed completely. #279 #313
- See the Authentication and Access Control section for more information.
- Authentication configuration format has been changed completely. #279 #313
Dependencies
centraldogma-0.32.1
Dependencies
- Downgraded JCommander from 1.74 to 1.72 because it turned out to be unavailable in Maven Central.
centraldogma-0.32.0
New features
- Embedded ZooKeeper for replicated setup so that an administrator does not have to set up a ZooKeeper cluster just for Central Dogma anymore. #278
- Replicating is now possible even when in read-only mode #285
- A user is able to add custom profiles on top of the official
centraldogma-profiles.json
profiles. #296
Bug fix
- Fixed frontend-side route conflicts so that a user can create and access whose name is
new
,files
,projects
, etc from the web UI. #272
Improvement
- Go client has a standard Go layout now. #284
Breaking changes
replicaId
is not auto-generated. #278- Changed the type of
replicaId
fromString
toint
. This is for using thereplicaId
asserverId
in ZooKeeper. #278 - Go client has a new import path:
go.linecorp.com/centraldogma
- Go client now has its own repository: https://github.com/line/centraldogma-go #284
Dependencies
- Armeria 0.69.0 -> 0.75.0
- jGit 5.0.2 -> 5.1.1
- Go 1.11.1 -> 1.11.2
- Spring Boot 1.5.14 -> 1.5.16
centraldogma-0.31.0
Dependencies
- Armeria 0.68.1 -> 0.69.0
- jGit 5.0.1 -> 5.0.2