diff --git a/NEWS.md b/NEWS.md index 6a0c3464cd93c..e02dde3b12a10 100644 --- a/NEWS.md +++ b/NEWS.md @@ -33,6 +33,7 @@ New library functions * `takewhile` and `dropwhile` have been added to the Iterators submodule ([#33437]). * `accumulate` has been added to the Iterators submodule ([#34033]). * There is a now an `evalpoly` function meant to take the role of the `@evalpoly` macro. The function is just as efficient as the macro while giving added flexibility, so it should be preferred over `@evalpoly`. `evalpoly` takes a list of coefficients as a tuple, so where one might write `@evalpoly(x, p1, p2, p3)` one would instead write `evalpoly(x, (p1, p2, p3))` ([#32753]). +* `pkgdir(ModuleName)` now provides a simpler way to return the package root directory of a module (or submodule) than the typically used `dirname(dirname(pathof(ModuleName)))` ([#33128]). New library features -------------------- @@ -99,6 +100,7 @@ Standard library changes [#32448]: https://github.com/JuliaLang/julia/issues/32448 [#32739]: https://github.com/JuliaLang/julia/issues/32739 [#32753]: https://github.com/JuliaLang/julia/issues/32753 +[#33128]: https://github.com/JuliaLang/julia/issues/33128 [#32968]: https://github.com/JuliaLang/julia/issues/32968 [#33012]: https://github.com/JuliaLang/julia/issues/33012 [#33040]: https://github.com/JuliaLang/julia/issues/33040