-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e9ffa2
commit 10ca8f4
Showing
7 changed files
with
54 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Spoofax 2.5.21 Migration Guide | ||
|
||
## Metaborg Version in metaborg.yaml | ||
Before, the value of `metaborgVersion` in `metaborg.yaml` was hardcoded in Spoofax 2 to be `2.6.0-SNAPSHOT`. From now on, it is no longer hardcoded and must be explicitly specified in the `metaborg.yaml` file of a language project. For example: | ||
|
||
```yaml | ||
--- | ||
id: org.metaborg:mylang:1.0.0 | ||
name: mylang | ||
metaborgVersion: 2.6.0-SNAPSHOT | ||
# ... | ||
``` | ||
|
||
If this is not done, the following error can occur: | ||
|
||
``` | ||
MissingDependencyException: Language for dependency org.metaborg:org.metaborg.meta.lang.spt:2.5.20 does not exist | ||
``` | ||
|
||
## Install Virtualenv | ||
To build Spoofax 2 as a developer, you need to install Python Virtualenv using `python3 -m pip install virtualenv`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,3 @@ | ||
# Spoofax vNext Migration Guide | ||
|
||
This is a stub for the migration guide of the upcoming version of Spoofax. | ||
|
||
## Metaborg Version in metaborg.yaml | ||
Before, the value of `metaborgVersion` in `metaborg.yaml` was hardcoded in Spoofax 2 to be `2.6.0-SNAPSHOT`. From now on, it is no longer hardcoded and must be explicitly specified in the `metaborg.yaml` file of a language project. For example: | ||
|
||
```yaml | ||
--- | ||
id: org.metaborg:mylang:1.0.0 | ||
name: mylang | ||
metaborgVersion: 2.6.0-SNAPSHOT | ||
# ... | ||
``` | ||
|
||
If this is not done, the following error can occur: | ||
|
||
``` | ||
MissingDependencyException: Language for dependency org.metaborg:org.metaborg.meta.lang.spt:2.5.20 does not exist | ||
``` | ||
|
||
|
||
|
||
## Install Virtualenv | ||
To build Spoofax 2 as a developer, you need to install Python Virtualenv using `python3 -m pip install virtualenv`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Spoofax 2.5.20 (23-07-2023) | ||
|
||
Spoofax 2.5.20 updates multiple dependencies, fixes a few bugs, and introduces a new required field in the `metaborg.yaml` file. | ||
|
||
See the corresponding [migration guide](../migrate/2.5.21.md) for migrating from Spoofax 2.5.20 (or below) to Spoofax 2.5.21. | ||
|
||
## Fixes | ||
|
||
### Statix | ||
- `RuleUtil.inline` now inserts equalities for ascribed values | ||
- Rule names are now unique across files | ||
- List origins are now tracked, fixing spurious failure in NaBL2 solver | ||
|
||
## Added | ||
|
||
## Changes | ||
- The value of `metaborgVersion` in `metaborg.yaml` is no longer hardcoded and must be specified explicitly in the `metaborg.yaml` file of a language project. See the migration guide. | ||
|
||
### Dependencies | ||
- Introduced `util-vfs2` and moved the parts of `org.metaborg.util` that depend on `org.apache.commons:commons-vfs2` to there. This makes it possible for parts of Spoofax that do not use vfs2 to not depend on vfs2. | ||
- Loading a parse table and using it to parse a file (example in [`spoofax2-lang-example:java/parse`](https://github.com/MetaBorgCube/spoofax2-lang-example/tree/main/java/parse)) no longer depends on `commons-io:commons-io`. The only third-party dependencies are now `jakarta.annotation:jakarta.annotation-api`, `org.slf4j:slf4j-api` and `io.usethesource:capsule`. | ||
- `com.virtlink.commons:commons-configuration2-jackson1`: 1.3.1 -> 1.3.5 | ||
- `com.fasterxml.jackson.core:jackson-core`: 2.14.0 -> 2.17.1 | ||
- `com.fasterxml.jackson.core:jackson-databind`: 2.14.0 -> 2.17.1 | ||
- `com.fasterxml.jackson.core:jackson-annotations`: 2.14.0 -> 2.17.1 | ||
- `com.fasterxml.jackson.dataformat:jackson-dataformat-yaml`: 2.14.0 -> 2.17.1 | ||
|
||
{% from 'downloads.md' import downloads with context %} | ||
{{ downloads('2.5.21') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters