Hello all,

Here's the PDL 2.087 release announcement as well as a bonus summary of
changes over the past year.

Crossposted from 
<https://www.reddit.com/r/perl/comments/1by46uj/pdl_2087_released_and_a_summary_of_a_year_of_pdl/>
and <https://www.perlmonks.org/?node_id=11158731> (formatted HTML
available at both).

Cheers,
- Zaki Mughal

---

A [new release of PDL](https://metacpan.org/release/ETJ/PDL-2.087) is out! It's
been about a year since I last posted on here about a PDL release (last was PDL 
2.083).

A selection of changes since PDL 2.083:

  - Diab Jerius 
[reported](https://github.com/PDLPorters/pdl/issues/330#issuecomment-1908972935)
    that a previous change to `[xyz]vals` to return at least a double had a
    regression for code that requests an explicit type smaller than that.
    Fixed in 2.085.

    Diab Jerius also reported several other edge cases:
    [1](https://github.com/PDLPorters/pdl/issues/445),
    [2](https://github.com/PDLPorters/pdl/issues/448),
    [3](https://github.com/PDLPorters/pdl/issues/466)
    including a [fix for `vsearch`](https://github.com/PDLPorters/pdl/pull/454).

    Also, Diab Jerius [modularised the primitive ops
    tests](https://github.com/PDLPorters/pdl/pull/453) which allows for faster
    parallel testing.

  - Harald Jörg [reported](https://github.com/PDLPorters/pdl/issues/436) that
    large arrays would cause `PDL::FFT` to crash. Fixed by switching from the
    stack VLAs to heap allocation. Fixed in 2.085.

    While it is recommended to use `PDL::FFTW3` instead, `PDL::FFT` is bundled
    with `PDL` for the cases where `PDL::FFTW3` can not be easily installed.

  - Bas Couwenberg [reported](https://github.com/PDLPorters/pdl/issues/439) and
    fixed a previously deprecated API in HDF4 which has now been removed and
    replaced. Fixed in 2.085.

    As part of the Debian release process, Bas Couwenberg
    [reported](https://github.com/PDLPorters/pdl/issues/469) a failure on i386.
    Fixed in 2.087.

  - Shawn Laffan [provided](https://github.com/PDLPorters/pdl/pull/456) an
    improvement to `PDL::GIS::Proj` so that it would load correctly on Windows
    via `Alien::proj`.

  - Po-Chuan Hsieh [provided](https://github.com/PDLPorters/pdl/pull/443) a
    build fix for FreeBSD on `amd64`. I also happened to talk to James E Keenan
    around the same time about PDL builds on FreeBSD so this was followed up
    by adding [CI testing for 
FreeBSD](https://github.com/PDLPorters/pdl/pull/446).
    Fixed in 2.085.

  - Ryan Egesdahl [provided](https://github.com/PDLPorters/pdl/pull/444) a fix
    for macOS Ventura which changed the location of GLUT headers. Fixed in 
2.085.

  - Eli Schwartz [reported](https://github.com/PDLPorters/pdl/issues/468) an
    upstream Gentoo bug when building with LTO that uncovered 64-bit issues in
    Minuit and Slatec Fortran code. Fixed in 2.086.

  - `@vadim-160102` reported several issues with stringification:
    [1](https://github.com/PDLPorters/pdl/issues/458),
    [2](https://github.com/PDLPorters/pdl/issues/459); one of which uncovered a
    bug in conversion of ulonglong to Perl scalar.

  - Karl Glazebrook, `@vadim-160102`, and users from PerlMonks provided
    valuable reports in tracking down issues with dataflow
    <https://github.com/PDLPorters/pdl/issues/461>. Fix available in 2.086.

  - Jörg Sommrey contributed [improved typemap 
handling](https://github.com/PDLPorters/pdl/pull/464)
    which allows for using the typemap definitions that are available in Perl's
    default typemap. Available in 2.086.

  - Ed has added many improvements to the PP code generator and internal API as
    well as several new functions. Please see the
    
[Changes](https://metacpan.org/release/ETJ/PDL-2.087/diff/ETJ%2FPDL-2.083#Changes)
    file for details!

    Of note are several speed improvements that are inspired by Eric Wheeler's 
[note about
    the speed of `sequence()`](https://github.com/PDLPorters/pdl/issues/451).

A full list of closed issues and PRs is 
[here](https://github.com/issues?q=org%3APDLPorters+closed%3A2023-05-01..2024-04-07).
Thanks to all the contributors!

There are also some things to report from the wider World of PDL:

  - Jörg Sommrey has released a PDL interface to GLPK (GNU Linear Programming
    Kit) for mathematical optimization: 
<https://metacpan.org/pod/PDL::Opt::GLPK>.

  - The `PGPLOT` distribution now incorporates `PDL::Graphics::PGPLOT` module
    that was in the `PDL` distribution. The dependencies remain the same.

  - `PDL::Graphics::Simple` had some small updates to the drivers. This
    is preparation for splitting the backend engines to their
    respective backend distributions (not yet released) and defining an API
    version that the engines conform to.


_______________________________________________
pdl-general mailing list
pdl-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to