pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lua-penlight (devel/lua-penlight) Updated 1.5.4 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd2b7c71f97b
branches:  trunk
changeset: 423303:dd2b7c71f97b
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Feb 15 05:50:37 2020 +0000

description:
(devel/lua-penlight) Updated 1.5.4 to 1.7.0

## 1.7.0 (2019-10-14)
### New features

  - `utils.quote_arg` will now optionally take an array of arguments and escape
    them all into a single string.
  - `app.parse_args` now accepts a 3rd parameter with a list of valid flags and aliasses
  - `app.script_name` returns the name of the current script (previously a private function)

### Changes

  - Documentation updates
  - `utils.quit`: exit message is no longer required, and closes the Lua state (on 5.2+).
  - `utils.assert_arg` and `utils.assert_string`: now return the validated value
  - `pl.compat`: now exports the `jit` and `jit52` flags
  - `pretty.write`: now sorts the output for easier diffs [#293](https://github.com/Tieske/Penlight/pull/293)

### Fixes

  - `utils.raise` changed the global `on_error`-level when passing in bad arguments
  - `utils.writefile` now checks and returns errors when writing
  - `compat.execute` now handles the Windows exitcode -1 properly
  - `types.is_empty` would return true on spaces always, indepedent of the parameter
  - `types.to_bool` will now compare case-insensitive for the extra passed strings
  - `app.require_here` will now properly handle an absolute base path
  - `stringx.split` will no longer append an empty match if the number of requested
    elements has already been reached [#295](https://github.com/Tieske/Penlight/pull/295)
  - `path.common_prefix` and `path.relpath` return the result in the original casing
    (only impacted Windows) [#297](https://github.com/Tieske/Penlight/pull/297)
  - `dir.copyfile`, `dir.movefile`, and `dir.makepath` create the new file/path with
    the requested casing, and no longer force lowercase (only impacted Windows)
    [#297](https://github.com/Tieske/Penlight/pull/297)
  - added a missing assertion on `path.getmtime` [#291](https://github.com/Tieske/Penlight/pull/291)
  - `stringx.rpartition` returned bad results on a not-found [#299](https://github.com/Tieske/Penlight/pull/299)

## 1.6.0 (2018-11-23)
### New features

  - `pl.compat` now provides `unpack` as `table.unpack` on Lua 5.1

### Changes

  - `utils.unpack` is now documented and respects `.n` field of its argument.
  - `tablex.deepcopy` and `tablex.deepcompare` are now cycle aware (#262)
  - Installing through LuaRocks will now include the full rendered documentation

### Fixes

  - Fixed `seq.last` returning `nil` instead of an empty list when given an empty iterator (#253).
  - `pl.template` now applies `tostring` when substituting values in templates, avoiding errors when they are not strings or numbers (#256).
  - Fixed `pl.import_into` not importing some Penlight modules (#268).
  - Fixed version number stuck at 1.5.2 (#260).
  - Fixed `types.is_empty` returning `true` on tables containing `false` key (#267).
  - Fixed `test.assertraise` throwing an error when passed an array with a function to call plus its arguments (#272).
  - Fixed `test.assertraise` not throwing an error when given function does not error but instead returns a string matching given error pattern.
  - Fixed placeholder expressions being evaluated with wrong precedence of binary and unary negation.
  - Fixed placeholder expressions being evaluated assuming wrong binary operator associativity (e.g. `_1-(_2+_3)` was evaluated as `(_1-_2)+_3`.
  - Fixed placeholder expressions being evaluated as if unary operators take precedence over power operator (e.g. `(-_1)^_2`) was evaluated as `-(_1^2)`).
  - Fixed vulnerable backtracking pattern in `pl.stringx.strip` (#275)

diffstat:

 devel/lua-penlight/Makefile |   4 ++--
 devel/lua-penlight/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r 4d481b314fdb -r dd2b7c71f97b devel/lua-penlight/Makefile
--- a/devel/lua-penlight/Makefile       Sat Feb 15 05:45:53 2020 +0000
+++ b/devel/lua-penlight/Makefile       Sat Feb 15 05:50:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2020/01/18 23:30:33 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2020/02/15 05:50:37 mef Exp $
 #
 
 DISTNAME=      penlight-${PL_VERSION}
@@ -13,7 +13,7 @@
 COMMENT=       Lua libraries for functional programming, OS path management, etc
 LICENSE=       mit
 
-PL_VERSION=    1.5.4
+PL_VERSION=    1.7.0
 DIST_SUBDIR=   lua-penlight
 
 NO_BUILD=      yes
diff -r 4d481b314fdb -r dd2b7c71f97b devel/lua-penlight/distinfo
--- a/devel/lua-penlight/distinfo       Sat Feb 15 05:45:53 2020 +0000
+++ b/devel/lua-penlight/distinfo       Sat Feb 15 05:50:37 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2017/09/10 15:25:14 alnsn Exp $
+$NetBSD: distinfo,v 1.11 2020/02/15 05:50:37 mef Exp $
 
-SHA1 (lua-penlight/penlight-1.5.4.tar.gz) = 39f825c5e98b10f60a2722eb20b1de68125fa898
-RMD160 (lua-penlight/penlight-1.5.4.tar.gz) = aa2240706c7b4d80ff842d7dcc55bf9ae50af3a8
-SHA512 (lua-penlight/penlight-1.5.4.tar.gz) = c46e7875410a90390bfbf010a53f1d536475e2094668722618d03951caad0fcb0674c9bc7119a0753e4ed3df9e4d70fef828ba4c6c24e8ada4036948d2432519
-Size (lua-penlight/penlight-1.5.4.tar.gz) = 213938 bytes
+SHA1 (lua-penlight/penlight-1.7.0.tar.gz) = c9b1d1cdba4911438657dbc2a94c0bf08751bdd7
+RMD160 (lua-penlight/penlight-1.7.0.tar.gz) = 5950e563a47a91ed81ccfe9224f1b09ec207e1d5
+SHA512 (lua-penlight/penlight-1.7.0.tar.gz) = edeb09307c9feb5da6bccd82216a6ad71db988c433245d72d28abb6c555004f77eebba556928b0912937b29ef93e065ad491368041e17730610813de8e595d7d
+Size (lua-penlight/penlight-1.7.0.tar.gz) = 384917 bytes



Home | Main Index | Thread Index | Old Index