Skip to content

Commit

Permalink
Merge for 2.28.2-rc1 release (#249)
Browse files Browse the repository at this point in the history
## Usage and product changes
We merge development into master for 2.28.0-rc0 release.
  • Loading branch information
typedb-bot authored May 21, 2024
2 parents 489f80b + 7f1d511 commit a7db8e4
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 41 deletions.
15 changes: 7 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ executors:
xcode: "13.4.1"
working_directory: ~/typedb-console

win-x86_64:
resource_class: windows.xlarge
machine:
image: windows-server-2022-gui:2024.01.1
shell: cmd.exe

commands:
install-bazel-yum:
Expand Down Expand Up @@ -113,10 +118,7 @@ jobs:
bazel run --define version=$(git rev-parse HEAD) //:deploy-mac-arm64-zip -- snapshot
deploy-artifact-snapshot-windows-x86_64:
executor:
name: win/default
shell: cmd.exe
size: large
executor: win-x86_64
working_directory: ~/typedb-driver
steps:
- checkout
Expand Down Expand Up @@ -166,10 +168,7 @@ jobs:
bazel run --define version=$(cat VERSION) //:deploy-mac-arm64-zip --compilation_mode=opt -- release
deploy-artifact-release-windows-x86_64:
executor:
name: win/default
shell: cmd.exe
size: large
executor: win-x86_64
working_directory: ~/typedb-driver
steps:
- checkout
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![Factory](https://factory.vaticle.com/api/status/vaticle/typedb-console/badge.svg)](https://factory.vaticle.com/vaticle/typedb-console)
[![GitHub release](https://img.shields.io/github/release/vaticle/typedb-console.svg)](https://github.com/vaticle/typedb-console/releases/latest)
[![Discord](https://img.shields.io/discord/665254494820368395?color=7389D8&label=chat&logo=discord&logoColor=ffffff)](https://vaticle.com/discord)
[![Discussion Forum](https://img.shields.io/discourse/https/forum.vaticle.com/topics.svg)](https://forum.vaticle.com)
[![Discord](https://img.shields.io/discord/665254494820368395?color=7389D8&label=chat&logo=discord&logoColor=ffffff)](https://typedb.com/discord)
[![Discussion Forum](https://img.shields.io/discourse/https/forum.typedb.com/topics.svg)](https://forum.typedb.com)
[![Stack Overflow](https://img.shields.io/badge/stackoverflow-typedb-796de3.svg)](https://stackoverflow.com/questions/tagged/typedb)
[![Stack Overflow](https://img.shields.io/badge/stackoverflow-typeql-3dce8c.svg)](https://stackoverflow.com/questions/tagged/typeql)

Expand Down
31 changes: 6 additions & 25 deletions RELEASE_NOTES_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,10 @@
## Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.28.0
Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.28.2-rc1


## New Features
- **Cloud address translation**

We allow connection to the cloud servers using an address translation mapping (cf. https://github.com/vaticle/typedb-driver/pull/624). This is useful when the route from the user to the servers differs from the route the servers are configured with (e.g. connection to public-facing servers from an internal network).

Example usage:
```bash
console \
--cloud=typedb1.domain.com:1729=typedb.local:11729,typedb2.domain.com:1729=typedb.local:21729 \
--username=<user> --password=<password>
```
or:
```bash
console \
--cloud=typedb1.domain.com:1729=typedb.local:11729 \
--cloud=typedb2.domain.com:1729=typedb.local:21729 \
--username=<user> --password=<password>
```

Note: we currently require that the user provides translation for the addresses of _all_ nodes in the Cloud deployment.




## Bugs Fixed

Expand All @@ -33,7 +13,8 @@ Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/pub


## Other Improvements
- **Fix git patch for Windows build**

We update the git patch used for workspace path shortening in Windows CI builds.
- **Turn off statistics reporting in CI**
We turn off the `--diagnostics.reporting.statistics` in our CI builds not to send non-real diagnostics data.

In version 2.28 and earlier, this flag purely prevents `TypeDB` from sending any diagnostics data.
In the upcoming version 2.28.1, this flag still allows `TypeDB` to send a single diagnostics snapshot with the information of when the diagnostics data has been turned off, but it happens only after the server runs for 1 hour, so we expect the CI builds not to reach this point and not to send any diagnostics data as well.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.28.0
2.28.2-rc1
6 changes: 3 additions & 3 deletions dependencies/maven/artifacts.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
@maven//:com_googlecode_java_diff_utils_diffutils_1_3_0
@maven//:com_squareup_okhttp_okhttp_2_7_5
@maven//:com_squareup_okio_okio_1_17_5
@maven//:com_vaticle_typedb_typedb_cloud_runner_0_0_0_81def47a63eacbd51934e63ba842b06116643c15
@maven//:com_vaticle_typedb_typedb_runner_0_0_0_fee8e9c5a8c17a58b4639b91e23458e715e0d3a3
@maven//:com_vaticle_typedb_typedb_cloud_runner_2_28_0
@maven//:com_vaticle_typedb_typedb_runner_2_28_0
@maven//:com_vdurmont_semver4j_3_1_0
@maven//:commons_codec_commons_codec_1_13
@maven//:commons_io_commons_io_2_3
Expand Down Expand Up @@ -125,5 +125,5 @@
@maven//:org_slf4j_log4j_over_slf4j_2_0_0
@maven//:org_slf4j_slf4j_api_2_0_0
@maven//:org_slf4j_slf4j_simple_2_0_0
@maven//:org_yaml_snakeyaml_1_25
@maven//:org_yaml_snakeyaml_2_2
@maven//:org_zeroturnaround_zt_exec_1_10
4 changes: 2 additions & 2 deletions dependencies/vaticle/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ def vaticle_dependencies():
git_repository(
name = "vaticle_dependencies",
remote = "https://github.com/vaticle/dependencies",
commit = "0a54a3551ef149346832d65a9c844429fff76f12", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies
commit = "729d960a92e145e03794395bbe59e02f122f1aee", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies
)

def vaticle_typedb_driver():
git_repository(
name = "vaticle_typedb_driver",
remote = "https://github.com/vaticle/typedb-driver",
tag = "2.28.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_driver
tag = "2.28.2-rc1", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_driver
)
1 change: 1 addition & 0 deletions test/assembly/AssemblyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public void test_console_command() throws IOException, InterruptedException, Tim
TypeDBConsoleRunner consoleRunner = new TypeDBConsoleRunner();
Map<String, String> coreOptions = new HashMap<>();
coreOptions.put("--diagnostics.reporting.errors", "false");
coreOptions.put("--diagnostics.reporting.statistics", "false");
coreOptions.put("--diagnostics.monitoring.enable", "false");
TypeDBCoreRunner coreRunner = new TypeDBCoreRunner(coreOptions);
try {
Expand Down

0 comments on commit a7db8e4

Please sign in to comment.