Skip to content

Commit 232d20d

Browse files
authored
Merge for 2.27.0-rc0 release (#239)
## Usage and product changes We merge development into master for 2.27.0-rc0 release.
2 parents 8351fab + 0c79c8a commit 232d20d

File tree

5 files changed

+6
-78
lines changed

5 files changed

+6
-78
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
- checkout
211211
- install-bazel-apt:
212212
arch: amd64
213-
- run:
213+
- run: |
214214
export SYNC_DEPENDENCIES_TOKEN=$REPO_GITHUB_TOKEN
215215
bazel run @vaticle_dependencies//tool/sync:dependencies -- --source ${CIRCLE_PROJECT_REPONAME}@$(cat VERSION)
216216

RELEASE_NOTES_LATEST.md

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,15 @@
11
## Distribution
22

3-
Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.26.6
3+
Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.27.0-rc0
44

55

66
## New Features
7-
- **Allow unicode TypeQL variables**
8-
9-
We update to the latest TypeQL, which supports unicode variables. This means TypeDB Console can now use unicode variables, as well as labels and string attribute values.
10-
11-
For example, we can use Mandarin character sets:
12-
13-
```
14-
test::schema::write> define 人 sub entity;
15-
16-
Concepts have been defined
17-
18-
test::schema::write*> commit
19-
Transaction changes committed
20-
> transaction test data write
21-
test::data::write> insert $人 isa 人;
22-
23-
{ $人 iid 0x826e80017fffffffffffffff isa 人; }
24-
25-
answers: 1, total duration: 102 ms
26-
27-
test::data::write*> commit
28-
Transaction changes committed
29-
> transaction test data read
30-
test::data::read> match $人 isa 人; get;
31-
32-
{ $人 iid 0x826e80018000000000000000 isa 人; }
33-
34-
answers: 1, total duration: 54 ms
35-
```
36-
37-
38-
397

408
## Bugs Fixed
419

4210

4311
## Code Refactors
44-
- **Use typedb-common from typeql/common, only deploy to CloudSmith**
45-
46-
We update Bazel dependencies and target paths following the merging of typedb-common into [vaticle/typeql](https://github.com/vaticle/typeql/) (see https://github.com/vaticle/typeql/pull/313).
47-
48-
We also no longer upload build artifacts to the github releases page. Instead, the artifacts are available from our public cloudsmith repository, linked in the release notes.
49-
50-
51-
- **Bring in launch binary and console runner library from common**
52-
53-
We move the `binary` package and `console-runner` into this repository from typedb-common. `typedb-console-runner` is deployed to maven such that we can safely depend on it from other repos without creating Bazel dependency cycles.
54-
5512

5613
## Other Improvements
57-
- **Explicitly install python tool dependencies**
58-
59-
Since the upgrade to rules-python v0.24 (https://github.com/vaticle/dependencies/pull/460), we are required to explicitly install python dependencies in the WORKSPACE file. The python tools happened to be unused, so these errors were not visible until the sync dependencies tool was restored.
60-
61-
- **Sync dependencies in CI**
62-
63-
We add a sync-dependencies job to be run in CI after successful snapshot and release deployments. The job sends a request to vaticle-bot to update all downstream dependencies.
64-
65-
Note: this PR does _not_ update the `dependencies` repo dependency. It will be updated automatically by the bot during its first pass.
66-
67-
- **Only submit uncaught exceptions to diagnostics**
14+
- **Fix null ptr in diagnostics user-id generation**
6815

69-
- **Set up CI filters for master-development workflow**
70-
71-
- **Make console runner use the same java installation as the calling process**
72-
Makes TypeDB console runner use the same java installation as the calling process, so the system remain hermetic.
73-
74-
- **Fix CI file and disable Core diagnostics in test**
75-
76-
- **Migrate artifact hosting to cloudsmith**
77-
Updates artifact credentials, and deployment & consumption rules to use cloudsmith (repo.typedb.com) instead of the self-hosted sonatype repository (repo.vaticle.com).
78-
79-
- **Remove typedb-console-runner's dependency on typedb-common**
80-
81-
We remove `typedb-console-runner`'s dependency on common in order to reduce deployment complexity and make the maven library self-contained.
82-
83-
- **Force hermitic JDK for builds**
84-
85-
- **Fix install-bazel-apt typo**
86-
87-

TypeDBConsole.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private static String userID() {
182182
byte[] macHash = MessageDigest.getInstance("SHA-256").digest(mac);
183183
byte[] truncatedHash = Arrays.copyOfRange(macHash, 0, 8);
184184
return String.format("%X", ByteBuffer.wrap(truncatedHash).getLong());
185-
} catch (NoSuchAlgorithmException | IOException e) {
185+
} catch (NoSuchAlgorithmException | IOException | NullPointerException e) {
186186
return "";
187187
}
188188
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.26.6
1+
2.27.0-rc0

dependencies/vaticle/repositories.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ def vaticle_typedb_driver():
2828
git_repository(
2929
name = "vaticle_typedb_driver",
3030
remote = "https://github.com/vaticle/typedb-driver",
31-
tag = "2.26.6", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_driver
31+
tag = "2.27.0-rc0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_driver
3232
)

0 commit comments

Comments
 (0)