Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 1.14.0 #472

Merged
merged 2 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ deprecation policy.

see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) for release instructions

## 1.14.0 (unreleased)
## 1.14.0 (2024-Apr-15)
- fix(path): make `path.expanduser` more sturdy
[#469](https://github.com/lunarmodules/Penlight/pull/469)
- feat(func): extend `compose` to support N functions
Expand All @@ -17,6 +17,8 @@ see [CONTRIBUTING.md](CONTRIBUTING.md#release-instructions-for-a-new-version) fo
[#452](https://github.com/lunarmodules/Penlight/pull/452)
- enhance(template): Preserve line numbers
[#468](https://github.com/lunarmodules/Penlight/pull/468)
- fix(pretty) integers for Lua 5.4
[#456](https://github.com/lunarmodules/Penlight/pull/456)

## 1.13.1 (2022-Jul-22)
- fix: `warn` unquoted argument
Expand Down
2 changes: 1 addition & 1 deletion config.ld
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project = 'Penlight'
description = 'Penlight Lua Libraries 1.13.1'
description = 'Penlight Lua Libraries 1.14.0'
full_description = 'Penlight is a set of pure Lua libraries for making it easier to work with common tasks like iterating over directories, reading configuration files and the like. Provides functional operations on tables and sequences. Visit the <a href="https://github.com/lunarmodules/Penlight">GitHub project</a> to review the code or file issues. Skip to the @{01-introduction.md|introduction}.'
title = 'Penlight Documentation'
dir = 'docs'
Expand Down
50 changes: 25 additions & 25 deletions docs/classes/pl.Date.html
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ <h2><a href="#Functions">Functions</a></h2>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#pl.Date:Date">pl.Date:Date (t, ...)</a></td>
<td class="name" nowrap><a href="#pl.date:Date">pl.date:Date (t, ...)</a></td>
<td class="summary">Date constructor.</td>
</tr>
</table>
Expand All @@ -297,7 +297,7 @@ <h2 class="section-header "><a name="Functions"></a>Functions</h2>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">t</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
seconds since epoch
</li>
</ul>
Expand All @@ -318,7 +318,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">ts</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
seconds ahead of UTC
</li>
</ul>
Expand Down Expand Up @@ -367,7 +367,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">y</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
Four-digit year
</li>
</ul>
Expand All @@ -388,7 +388,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">m</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
month
</li>
</ul>
Expand All @@ -409,7 +409,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">d</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
day
</li>
</ul>
Expand All @@ -430,7 +430,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">h</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
hour
</li>
</ul>
Expand All @@ -451,7 +451,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">min</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
minutes
</li>
</ul>
Expand All @@ -472,7 +472,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">sec</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
seconds
</li>
</ul>
Expand All @@ -493,7 +493,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">yday</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
day of year
</li>
</ul>
Expand All @@ -514,7 +514,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">y</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
Four-digit year
</li>
</ul>
Expand Down Expand Up @@ -619,15 +619,15 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">full</span>
<span class="types"><span class="type">bool</span></span>
<span class="types"><span class="type">boolean</span></span>
abbreviated if true, full otherwise.
</li>
</ul>

<h3>Returns:</h3>
<ol>

<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
name
</ol>

Expand All @@ -646,15 +646,15 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">full</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
abbreviated if true, full otherwise.
</li>
</ul>

<h3>Returns:</h3>
<ol>

<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
name
</ol>

Expand Down Expand Up @@ -852,7 +852,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">t</span>
<span class="types"><span class="type">int</span></span>
<span class="types"><span class="type">integer</span></span>
an interval in seconds
</li>
</ul>
Expand Down Expand Up @@ -887,7 +887,7 @@ <h3>Parameters:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">fmt.</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
A string where the following fields are significant:</p>

<ul>
Expand Down Expand Up @@ -920,7 +920,7 @@ <h3>Parameters:</h3>

<h3>Usage:</h3>
<ul>
<pre class="example">df = Date.Format(<span class="string">"yyyy-mm-dd HH:MM:SS"</span>)</pre>
<pre class="example">df = Date.<span class="function-name">Format</span>(<span class="string">"yyyy-mm-dd HH:MM:SS"</span>)</pre>
</ul>

</dd>
Expand All @@ -935,7 +935,7 @@ <h3>Usage:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">str</span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
<span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span>
a date string
</li>
</ul>
Expand All @@ -961,7 +961,7 @@ <h3>Returns:</h3>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">d</span>
a date object, or a time value as returned by <a href="https://www.lua.org/manual/5.1/manual.html#pdf-os.time">os.time</a>
a date object, or a time value as returned by <a href="https://www.lua.org/manual/5.4/manual.html#pdf-os.time">os.time</a>
</li>
</ul>

Expand Down Expand Up @@ -1002,8 +1002,8 @@ <h2 class="section-header "><a name="Methods"></a>Methods</h2>

<dl class="function">
<dt>
<a name = "pl.Date:Date"></a>
<strong>pl.Date:Date (t, ...)</strong>
<a name = "pl.date:Date"></a>
<strong>pl.date:Date (t, ...)</strong>
</dt>
<dd>
Date constructor.
Expand All @@ -1017,9 +1017,9 @@ <h3>Parameters:</h3>

<ul>
<li><code>nil</code> or empty - use current date and time</li>
<li>number - seconds since epoch (as returned by <a href="https://www.lua.org/manual/5.1/manual.html#pdf-os.time">os.time</a>). Resulting time is UTC</li>
<li>number - seconds since epoch (as returned by <a href="https://www.lua.org/manual/5.4/manual.html#pdf-os.time">os.time</a>). Resulting time is UTC</li>
<li><a href="../classes/pl.Date.html">Date</a> - make a copy of this date</li>
<li>table - table containing year, month, etc as for <a href="https://www.lua.org/manual/5.1/manual.html#pdf-os.time">os.time</a>. You may leave out year, month or day,
<li>table - table containing year, month, etc as for <a href="https://www.lua.org/manual/5.4/manual.html#pdf-os.time">os.time</a>. You may leave out year, month or day,
in which case current values will be used.</li>
<li>year (will be followed by month, day etc)</li>
</ul>
Expand All @@ -1042,7 +1042,7 @@ <h3>Parameters:</h3>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.5.0</a></i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
Loading
Loading