Skip to content

Commit b56f6a6

Browse files
committed
Minor release to publish new AST structure. This is a breaking change for code depending on the base classes, even outside of TypeScript.
1 parent d998db7 commit b56f6a6

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

fluent-syntax/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## @fluent/syntax 0.17.0 (April 9, 2021)
4+
5+
- Align AST types with fluent-rs. (#525)
6+
7+
Use Union types instead of inheritance for `Entry`, `PatternElement`, `InlineExpression`, `Expression`, `Literal`, and `Comments`. The union types allow for type narrowing in TypeScript consumers.
8+
9+
- Use concrete argument types for `Visitor` and `Transformer`. (#525)
10+
11+
- Update TypeScript to 4.2 to support type imports and exports.
12+
313
## @fluent/syntax 0.16.1 (September 15, 2020)
414

515
- Fix serialization of multiline patterns starting with special characters. (#512)

fluent-syntax/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fluent-syntax/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@fluent/syntax",
33
"description": "AST and parser for Fluent",
4-
"version": "0.16.1",
4+
"version": "0.17.0",
55
"homepage": "https://projectfluent.org",
66
"author": "Mozilla <[email protected]>",
77
"license": "Apache-2.0",
@@ -45,6 +45,6 @@
4545
"node": ">=10.0.0"
4646
},
4747
"devDependencies": {
48-
"@fluent/dedent": "^0.1.0"
48+
"@fluent/dedent": "^0.3.0"
4949
}
5050
}

0 commit comments

Comments
 (0)