11.. default-role :: code
22
3- Unreleased
3+ 0.28.0 (released 2024-01-05)
44=============================
55
66Removals
77------------------------------
8- * `delmacro ` has been removed. Use `(del (get _hy_macros (hy.mangle
9- …))) ` instead.
10- * `hy.reserved ` has been removed. Use `(.keys (builtins._hy_macros)) `
11- or Python's built-in `keyword ` module instead.
128* `doc ` has been removed. Use `(help (get-macro foo)) ` or `(help
139 (get-macro :reader foo)) ` instead.
10+ * `delmacro ` has been removed. Use `(eval-when-compile (del (get
11+ _hy_macros (hy.mangle "foo")))) ` instead.
12+ * `hy.reserved ` has been removed. Use `(.keys (builtins._hy_macros)) `
13+ or Python's built-in `keyword ` module instead.
1414* The environment variables `HY_DEBUG ` and `HY_FILTER_INTERNAL_ERRORS `
1515 have been replaced with `HY_SHOW_INTERNAL_ERRORS `.
1616
17- Breaking Changes
17+ Other Breaking Changes
1818------------------------------
19-
2019* `defmacro ` and `require ` can now define macros locally instead of
2120 only module-wide.
2221* When a macro is `require `\d from another module, that module is no
@@ -38,13 +37,13 @@ Breaking Changes
3837
3938New Features
4039------------------------------
40+ * New syntax `(hy.R.aaa/bbb.m …) ` for calling the macro `m ` from the
41+ module `aaa.bbb ` without bringing `m ` or `aaa.bbb ` into scope.
42+ * `nonlocal ` now also works for globally defined names.
4143* `defn `, `defn/a `, and `defclass ` now support type parameters.
4244* `HyReader ` now has an optional parameter to install existing
4345 reader macros from the calling module.
44- * New syntax `(hy.R.aaa/bbb.m …) ` for calling the macro `m ` from the
45- module `aaa.bbb ` without bringing `m ` or `aaa.bbb ` into scope.
4646* New pragma `warn-on-core-shadow `.
47- * `nonlocal ` now also works for globally defined names.
4847
4948Misc. Improvements
5049------------------------------
@@ -54,21 +53,21 @@ Misc. Improvements
5453
5554Bug Fixes
5655------------------------------
56+ * Implicit returns are now disabled in async generators.
57+ * Fixed parsing of infinite and NaN imaginary literals with an
58+ uppercase "J".
5759* Double quotes inside of bracketed f-strings are now properly handled.
5860* Fixed incomplete recognition of macro calls with a unary dotted
5961 head like `((. defn) f []) `.
6062* `~@ #* ` now produces a syntax error instead of a nonsensical result.
61- * Fixed parsing of infinite and NaN imaginary literals with an
62- uppercase "J".
63- * Fixed `hy.eval ` failing on `defreader ` or `require ` forms that
64- install a new reader.
63+ * `nonlocal ` now works for top-level `let `-bound names.
6564* `require ` now warns when you shadow a core macro, like `defmacro `
6665 already did.
67- * `nonlocal ` now works for top-level `let `-bound names.
68- * `hy -i ` with a filename now skips shebang lines.
69- * Implicit returns are now disabled in async generators.
66+ * Fixed `hy.eval ` failing on `defreader ` or `require ` forms that
67+ install a new reader.
7068* The parameter `result-ok ` that was mistakenly included in the
7169 signature of `hy.macroexpand ` is now gone.
70+ * `hy -i ` with a filename now skips shebang lines.
7271
73720.27.0 (released 2023-07-06)
7473=============================
0 commit comments