Revision history for Math-NLopt

0.12      2026-08-05 13:51:17-04:00 America/New_York

  [API BREAKAGE]

    * add_(in)?equality_(m)?constraint function have a different API.
      The breakage is minimal, as they were functionally broken in
      previous releases.

    * the create class mathod was removed; use the class constructor instead.

    * vector contraint functions receive proper 2D Perl arrays, rather than
      a flat 1D array

  [NEW BEHAVIOR]

    * using the Perl object after the NLopt C object has been freed
      will now result in exceptions. (This is possible if the Perl
      object's DESTROY method is called explicitly, which is rather
      uncommon).  Calling the DESTROY method multiple times is a no-op
      after the first call.

  [BUGFIX]

    * algorithm_from_string, algorithm_name, algorithm_to_string: no longer broken
    * user data is now shallow copied rather than used directly
    * set_procond_(min|max)_objective didn't pass the preconditioning function correctly
    * set_max_objective didn't pass the user data
    * vector constraint functions always returned an error when called by NLopt
    * vector constraint functions allocated the incorrect number of elements for the constraint.
    * various memory and object leaks have been plugged.

  [ENHANCEMENTS]

    * more robust test suite
    * more sanity checking of parameters and edge cases
    * more more


0.11      2025-06-17 20:58:48-04:00 America/New_York

  [BUGFIX]

    * previous fix failed to compile on threaded Perls
    * use correct sprintf format for SSize_t

0.10      2025-06-17 10:56:35-04:00 America/New_York

  [BUGFIX]

    * typo in Exception class name. fixes RT#167333, ++cm@??????.????.??

0.09      2025-01-03 22:23:40-05:00 America/New_York

  [ PACKAGING ]

    * production release; no changes from 0.08-TRIAL


0.08      2024-12-25 13:32:31-05:00 America/New_York (TRIAL RELEASE)

  [BUGFIX]

    * fix for threaded Perls

0.07      2024-12-25 08:46:23-05:00 America/New_York (TRIAL RELEASE)

  [TESTS]

    * adjust numerical precision to get tests to pass with Perl
      compiled with -Duselongdouble. ++bingos, cpan tester

0.06      2024-12-24 23:37:08-05:00 America/New_York (TRIAL RELEASE)

  [ENHANCEMENT]

    * throw exception objects instead of strings where
      practical. Fixes RT#158039, ++srezic.

  [TESTS]

    * adjust numerical precision to get tests to pass with Perl
      compiled with -Duselongdouble. RT#158038. ++srezic.


0.05      2024-12-20 11:19:10-05:00 America/New_York

  [DOCUMENTATION]

    * fix incorrect build from repo instructions in CONTRIBUTING

    * fix typos in documentation

0.04      2024-12-19 22:20:41-05:00 America/New_York

  [BUG FIX]

    * $opt->last-optimize_result was incorrect if ->optimize resulted
      in a negative result code

    * the user data structure passed via e.g. set_min_objective, wasn't
      properly tracked, leading to the possibility that it could
      be destroyed before the NLopt objective method was called,
      causing hilarity when the user's object method was invoked.


  [TEST]

    * comparing iteration counts is too noisy; ignore them in tests

0.03      2024-05-01 13:36:25-04:00 America/New_York

  [BUG FIX]

    * didn't compile on threaded Perl

0.02      2024-05-01 12:55:45-04:00 America/New_York

  [DOCUMENTATION]

    * it now exists!

  [BUG FIX]

    * get_xtol_abs wasn't working

0.01      2024-05-01 03:53:06-04:00 America/New_York (TRIAL RELEASE)

* First release upon an unsuspecting world.
