Skip to content

Commit eae2622

Browse files
authored
Merge pull request #2543 from Kodiologist/release
Release Hy 0.28.0
2 parents 0f52eaa + f002950 commit eae2622

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2023 the authors.
1+
Copyright 2024 the authors.
22
Portions of setup.py, copyright 2016 Jason R Coombs <jaraco@jaraco.com>.
33

44
Permission is hereby granted, free of charge, to any person obtaining a

NEWS.rst

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
.. default-role:: code
22

3-
Unreleased
3+
0.28.0 (released 2024-01-05)
44
=============================
55

66
Removals
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

3938
New 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

4948
Misc. Improvements
5049
------------------------------
@@ -54,21 +53,21 @@ Misc. Improvements
5453

5554
Bug 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

7372
0.27.0 (released 2023-07-06)
7473
=============================
@@ -77,7 +76,7 @@ Removals
7776
------------------------------
7877
* Python 3.7 is no longer supported.
7978

80-
Breaking Changes
79+
Other Breaking Changes
8180
------------------------------
8281
* Reader macros now always read a full identifier after the initial
8382
`#`. Thus, `#*foo` is now parsed as a call to the reader macro named
@@ -124,7 +123,7 @@ Removals
124123
* Coloring error messages and Python representations for models is no
125124
longer supported. (Thus, Hy no longer depends on `colorama`.)
126125

127-
Breaking Changes
126+
Other Breaking Changes
128127
------------------------------
129128
* Various warts have been smoothed over in the syntax of `'`,
130129
\`, `~`, and `~@`:

0 commit comments

Comments
 (0)