Skip to content

Commit 510062c

Browse files
committed
Move changelog to it’s own file
1 parent 41446f6 commit 510062c

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Changelog
2+
3+
### 0.0.5
4+
5+
Cut a safe-haven release for anybody (including myself) using this in production before I move on.
6+
Looking at Git history it looks like refinements include improved PEG grammars, saner namespacing for easier project integration, better use of Penlight classing, and more advanced handling of terms.
7+
Dependencies now include cldr-lua, and tests now use CLDR compatible locales.
8+
Lua 5.4 support was also officially added.
9+
10+
### 0.0.4
11+
12+
Add support for attributes plus access to messages using idiomatic Lua (table properties).
13+
14+
### 0.0.3
15+
16+
Added support for more types including format support for TextElement, StringLiteral, NumberLiteral, and VariableReference. Variable sutstitions can be done by passing a parameters table to `format()`. Internally manipulating nodes in the API is now easier with meta methods. For example merge comments with `Comment + Comment`, attach childred with `Message * Comment`, etc.
17+
18+
### 0.0.2
19+
20+
Massaged the AST returned by the PEG grammar so that about 1/3 of the possible types look like the reference Fluent spec. A basic Lua API is starting to take shape, modeled most closely to the Python implementation. It is possible to load and parse almost any FTL file, and possible to format any messages that are plain strings (no parameters, attributes, functions, or other jazz yet). Note there is no locale handling yet so it's only usable with separate instances per locale. Also `add_messages()` likely only works once, so cram your whole FTL resource in there for now.
21+
22+
### 0.0.1
23+
24+
Completed a PEG grammar based parser for the entire 1.0 Fluent file format spec. All the pieces are there, but it's only partially tested. It at least parses a few basic types of entries. The AST it returns is straight out of *luaebnf* and probably needs massaging to match the reference ones (via capture groups?), then it needs testing against the upstream fixtures.
25+
26+
### 0.0.0
27+
28+
Initialized project with some boiler plate Lua aparatus.

README.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -29,32 +29,9 @@ It is possible to use this for simple string localization with basic parameter s
2929
- [ ] Localize number formatting
3030
- [ ] Functions
3131

32-
### 0.0.5
32+
## Changelog
3333

34-
Cut a safe-haven release for anybody (including myself) using this in production before I move on.
35-
Looking at Git history it looks like refinements include improved PEG grammars, saner namespacing for easier project integration, better use of Penlight classing, and more advanced handling of terms.
36-
Dependencies now include cldr-lua, and tests now use CLDR compatible locales.
37-
Lua 5.4 support was also officially added.
38-
39-
### 0.0.4
40-
41-
Add support for attributes plus access to messages using idiomatic Lua (table properties).
42-
43-
### 0.0.3
44-
45-
Added support for more types including format support for TextElement, StringLiteral, NumberLiteral, and VariableReference. Variable sutstitions can be done by passing a parameters table to `format()`. Internally manipulating nodes in the API is now easier with meta methods. For example merge comments with `Comment + Comment`, attach childred with `Message * Comment`, etc.
46-
47-
### 0.0.2
48-
49-
Massaged the AST returned by the PEG grammar so that about 1/3 of the possible types look like the reference Fluent spec. A basic Lua API is starting to take shape, modeled most closely to the Python implementation. It is possible to load and parse almost any FTL file, and possible to format any messages that are plain strings (no parameters, attributes, functions, or other jazz yet). Note there is no locale handling yet so it's only usable with separate instances per locale. Also `add_messages()` likely only works once, so cram your whole FTL resource in there for now.
50-
51-
### 0.0.1
52-
53-
Completed a PEG grammar based parser for the entire 1.0 Fluent file format spec. All the pieces are there, but it's only partially tested. It at least parses a few basic types of entries. The AST it returns is straight out of *luaebnf* and probably needs massaging to match the reference ones (via capture groups?), then it needs testing against the upstream fixtures.
54-
55-
### 0.0.0
56-
57-
Initialized project with some boiler plate Lua aparatus.
34+
Please see [CHANGELOG.md](./CHANGELOG.md).
5835

5936
## Usage
6037

0 commit comments

Comments
 (0)