@danielx/civet 0.7.36 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/browser.js +191 -147
- package/dist/civet +45 -25
- package/dist/main.js +191 -147
- package/dist/main.mjs +191 -147
- package/dist/unplugin/unplugin.d.ts +2 -1
- package/dist/unplugin/unplugin.js +23 -8
- package/dist/unplugin/unplugin.mjs +23 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ This changelog is generated automatically by [`build/changelog.civet`](build/cha
|
|
|
4
4
|
For each version of Civet, it lists and links to all incorporated PRs,
|
|
5
5
|
as well as a full diff and commit list.
|
|
6
6
|
|
|
7
|
+
## 0.8.1 (2024-10-13, [diff](https://github.com/DanielXMoore/Civet/compare/v0.8.0...v0.8.1), [commits](https://github.com/DanielXMoore/Civet/commits/v0.8.1))
|
|
8
|
+
* Fix `catch` type annotation by forbidding indented type arguments in `catch` [[#1446](https://github.com/DanielXMoore/Civet/pull/1446)]
|
|
9
|
+
* Require parentheses in complex `&` type annotation [[#1447](https://github.com/DanielXMoore/Civet/pull/1447)]
|
|
10
|
+
* BREAKING CHANGE: `&: number | string` is now treated as `(&: number) | string`, and `&: T ? a : b` is consistently treated as `(&: T) ? a : b`
|
|
11
|
+
* CLI exposes top-level declarations with top-level `await` [[#1448](https://github.com/DanielXMoore/Civet/pull/1448)]
|
|
12
|
+
* `.d.ts` matches output extension in CLI; `declarationExtension` option in unplugin [[#1451](https://github.com/DanielXMoore/Civet/pull/1451)]
|
|
13
|
+
* Fix CLI executing ESM code from stdin or `-e` [[#1454](https://github.com/DanielXMoore/Civet/pull/1454)]
|
|
14
|
+
* CLI REPL supports (strips) TypeScript [[#1453](https://github.com/DanielXMoore/Civet/pull/1453)]
|
|
15
|
+
* Variance annotations (`in`/`out`) in type parameters [[#1459](https://github.com/DanielXMoore/Civet/pull/1459)]
|
|
16
|
+
* Allow pipes etc. in explicit function arguments [[#1460](https://github.com/DanielXMoore/Civet/pull/1460)]
|
|
17
|
+
* Pipeline doesn't unwrap in multi-`&` function shorthand [[#1462](https://github.com/DanielXMoore/Civet/pull/1462)]
|
|
18
|
+
* Add missing parentheses with `++` concat operator [[#1461](https://github.com/DanielXMoore/Civet/pull/1461)]
|
|
19
|
+
|
|
20
|
+
## 0.8.0 (2024-10-10, [diff](https://github.com/DanielXMoore/Civet/compare/v0.7.36...v0.8.0), [commits](https://github.com/DanielXMoore/Civet/commits/v0.8.0))
|
|
21
|
+
* Assigned expressionized statement followed by pipe, grammar cleanup [[#1442](https://github.com/DanielXMoore/Civet/pull/1442)]
|
|
22
|
+
* `yield` in `do` yields in parent in all cases [[#1443](https://github.com/DanielXMoore/Civet/pull/1443)]
|
|
23
|
+
* Nested function arguments support trailing member access/call [[#1444](https://github.com/DanielXMoore/Civet/pull/1444)]
|
|
24
|
+
* BREAKING CHANGE: Nested argument using `.` function shorthand should now use `&.` to avoid being treated as a trailing member access
|
|
25
|
+
|
|
7
26
|
## 0.7.36 (2024-10-09, [diff](https://github.com/DanielXMoore/Civet/compare/v0.7.35...v0.7.36), [commits](https://github.com/DanielXMoore/Civet/commits/v0.7.36))
|
|
8
27
|
* Binary operators continue arguments only if strictly indented [[#1438](https://github.com/DanielXMoore/Civet/pull/1438)]
|
|
9
28
|
* Forbid pipes in non-nested implicit arguments [[#1441](https://github.com/DanielXMoore/Civet/pull/1441)]
|
|
@@ -245,6 +264,7 @@ as well as a full diff and commit list.
|
|
|
245
264
|
|
|
246
265
|
## 0.7.0 (2024-04-20, [diff](https://github.com/DanielXMoore/Civet/compare/v0.6.93...v0.7.0), [commits](https://github.com/DanielXMoore/Civet/commits/v0.7.0))
|
|
247
266
|
* New ampersand proposal (#1070) [[#1159](https://github.com/DanielXMoore/Civet/pull/1159)]
|
|
267
|
+
* BREAKING CHANGE: `&` now represents the identity function, while `(&)` is a two-argument function computing Boolean AND. `&` functions also get wrapped higher than before, allowing for growth on the left instead of just the right.
|
|
248
268
|
|
|
249
269
|
## 0.6.93 (2024-04-19, [diff](https://github.com/DanielXMoore/Civet/compare/v0.6.92...v0.6.93), [commits](https://github.com/DanielXMoore/Civet/commits/v0.6.93))
|
|
250
270
|
* Fix #1155 by consolidating trailing member access [[#1163](https://github.com/DanielXMoore/Civet/pull/1163)]
|
|
@@ -679,6 +699,7 @@ as well as a full diff and commit list.
|
|
|
679
699
|
|
|
680
700
|
## 0.6.19 (2023-08-05, [diff](https://github.com/DanielXMoore/Civet/compare/v0.6.18...v0.6.19), [commits](https://github.com/DanielXMoore/Civet/commits/v0.6.19))
|
|
681
701
|
* Implicit returns of (last) declaration [[#606](https://github.com/DanielXMoore/Civet/pull/606)]
|
|
702
|
+
* BREAKING CHANGE: `x := 5` now implicitly returns `x`
|
|
682
703
|
|
|
683
704
|
## 0.6.18 (2023-08-02, [diff](https://github.com/DanielXMoore/Civet/compare/v0.6.17...v0.6.18), [commits](https://github.com/DanielXMoore/Civet/commits/v0.6.18))
|
|
684
705
|
* TypeScript named tuples [[#604](https://github.com/DanielXMoore/Civet/pull/604)]
|