Skip to content

Commit

Permalink
Prepare 2.26.6 (#315)
Browse files Browse the repository at this point in the history
## Usage and product changes

Update VERSION for 2.26.6 release and generate release notes.
  • Loading branch information
flyingsilverfin authored Jan 29, 2024
1 parent 600f298 commit 152dfc4
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 35 deletions.
3 changes: 0 additions & 3 deletions .factory/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ release:
owner: vaticle
branch: master
validation:
validate-dependencies:
image: vaticle-ubuntu-22.04
command: bazel test //java:release-validate-deps --test_output=streamed
validate-release-notes:
image: vaticle-ubuntu-22.04
command: |
Expand Down
17 changes: 2 additions & 15 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
**For the title of this PR:** please follow the grammatical rules of a usual publication title, without capitalisation (except for the first letter). Thus, the title should NOT CONTAIN CODE: no dots, no parentheses, no backticks, no brackets, etc. It needs to be distinctive (not detailed) and succinct (not lengthy). Details of this PR will go in the description. **For the description of this PR:** please replace every line in curly brackets ( { like this } ) with an appropriate description following the guidance. Finally, **please remove this paragraph**.
## Usage and product changes

## What is the goal of this PR?

{ In the form of a paragraph (only use bullet points if strictly necessary), please describe the goal of this PR, why they are valuable to achieve, and reference the related GitHub issues. This section will be automatically compiled into the release notes, so please:
- describe the impact of the change in this PR to the _user_ of this repository (e.g. end user, contributor, developer).
- describe the new product behaviour in _present tense_, and the old behaviour and how it's been changed in _past tense_.
- Use the _Royal We_: _"We"_ made changes, not _"I"_ made changes. }

## What are the changes implemented in this PR?

{ Please explain what you implemented, why your changes are the best way to achieve the goal(s) above. Please describe every method, class and package, by explaining:
- its responsibility,
- how it's expected to behave, and
- how it relates to the adjacent methods/classes/packages it interacts with.

This would allow the reviewer to understand your intentions in the code much better. If you're adding new classes, make sure these explanations are also included in the class header comments. Last but not least, please reference the GitHub issues to be automatically closed, such like 'closes #number'. }
## Implementation
52 changes: 36 additions & 16 deletions RELEASE_NOTES_LATEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Available through https://crates.io/crates/typeql.
```
cargo add typeql@2.25.8
cargo add typeql@2.26.6-rc0
```

## TypeQL Grammar and Language Library distributions for Java
Expand All @@ -20,12 +20,12 @@ cargo add [email protected]
<dependency>
<groupId>com.vaticle.typeql</groupId>
<artifactId>typeql-grammar</artifactId>
<version>2.25.8</version>
<version>2.26.6-rc0</version>
</dependency>
<dependency>
<groupId>com.vaticle.typeql</groupId>
<artifactId>typeql-lang</artifactId>
<version>2.25.8</version>
<version>2.26.6-rc0</version>
</dependency>
</dependencies>
```
Expand All @@ -35,33 +35,53 @@ cargo add [email protected]
Available through https://pypi.org

```
pip install typeql-grammar==2.25.8
pip install typeql-grammar==2.26.6-rc0
```


## New Features

- **Implement non-ascii variables in Java and Rust**
We update to TypeQL with Unicode support in both value and concept variables. This makes the following valid TypeQL:
```
match $人 isa person, has name "Liu"; get $人;
```
```
match $אדם isa person, has name "Solomon"; get $אדם;
```

We now require all Labels and Variables are valid unicode identifiers not starting with `_`.

This change is fully backwards compatible. We also validate that Type Labels and Variables created using the TypeQL language builders in both Rust and Java are conforming to our Unicode specification.



## Bugs Fixed

- **Fix snapshot version in test-deployment-maven**

We update the generated snapshot version in test-deployment-maven CI job to correspond to the updated snapshot version format.


## Code Refactors
- **Technical debt: improve error_messages, cleanup**

- **Merge typedb-common repository into typeql**

As part of the effort to reduce the number of vaticle organization repositories, we merge typedb-common into the typeql repo as a subpackage.


## Other Improvements
- **Sync dependencies in CI**

`error_messages!` now accepts struct enum variants, rather than tuple variants. This forces the user to name the fields and to refer to the fields by name in the format strings, reducing user error.
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.

Note: this PR does _not_ update the `dependencies` repo dependency. It will be updated automatically by the bot during its first pass.

- **Set up CI filters for master-development workflow**

## Other Improvements
- **Update README.md**

- **Update readme: fix the forum badge**
- **Migrate artifact hosting to cloudsmith**
Updates artifact deployment & consumption rules to use cloudsmith instead of the self-hosted sonatype repository.


Update the readme file to fix the forum badge.


- **Fixed badges in README.md to refer to TypeQL**




2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.25.8
2.26.6-rc0

0 comments on commit 152dfc4

Please sign in to comment.