tag:github.com,2008:https://github.com/caltechlibrary/datatools/releasesRelease notes from datatools2026-02-12T19:55:46Ztag:github.com,2008:Repository/81131065/v1.3.52026-02-12T21:30:37Zv1.3.5<p>Added urlencode, urldecode and reldocpath cli.</p>
<h2>What's Changed</h2>
<ul>
<li>README: Fix typos and broken link to INSTALL by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bact/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bact">@bact</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3822332748" data-permission-text="Title is private" data-url="https://github.com/caltechlibrary/datatools/issues/25" data-hovercard-type="pull_request" data-hovercard-url="/caltechlibrary/datatools/pull/25/hovercard" href="https://github.com/caltechlibrary/datatools/pull/25">#25</a></li>
<li>Add @ prefix note for codemeta2cff by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bact/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bact">@bact</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3836112561" data-permission-text="Title is private" data-url="https://github.com/caltechlibrary/datatools/issues/27" data-hovercard-type="pull_request" data-hovercard-url="/caltechlibrary/datatools/pull/27/hovercard" href="https://github.com/caltechlibrary/datatools/pull/27">#27</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bact/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bact">@bact</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3822332748" data-permission-text="Title is private" data-url="https://github.com/caltechlibrary/datatools/issues/25" data-hovercard-type="pull_request" data-hovercard-url="/caltechlibrary/datatools/pull/25/hovercard" href="https://github.com/caltechlibrary/datatools/pull/25">#25</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.3.4...v1.3.5"><tt>v1.3.4...v1.3.5</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.3.42025-05-15T22:12:55Zv1.3.4<p>Added json2jsonl. It will render a JSON array document as JSON lines. A <code>-as-dataset</code> option is included. If<br>
an top level attribute name is provided and matches the object it will render the result as a dataset load<br>
componatible object. Of the top level attribute name is not found then that object is skipped with a message<br>
written to standard error.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.3.3...v1.3.4"><tt>v1.3.3...v1.3.4</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.3.32025-05-14T17:50:04Zv1.3.3<p>Added option, <code>-for-dataset</code> to csv2jsonl. This renders JSON lines output suitable for loading into a dataset collectiojn.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.3.2...v1.3.3"><tt>v1.3.2...v1.3.3</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.3.22025-05-13T19:35:18Zv1.3.2<p>Added cli, csv2jsonl, that will convert a CSV document into a JSON lines list of objects.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.3.1...v1.3.2"><tt>v1.3.1...v1.3.2</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.3.12025-04-29T20:52:26Zv1.3.1<p>Removed DEBUG statement from output in csv.go.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.3.0...v1.3.1"><tt>v1.3.0...v1.3.1</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.3.02025-01-31T18:28:40ZImproved CRLF (EOL) handling for Windows<p>Added CRLF option on CSV write to better support Windows, see issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2821275585" data-permission-text="Title is private" data-url="https://github.com/caltechlibrary/datatools/issues/24" data-hovercard-type="issue" data-hovercard-url="/caltechlibrary/datatools/issues/24/hovercard" href="https://github.com/caltechlibrary/datatools/issues/24">#24</a>. This is a minor release bump. The prior behavior of CSV writes was to default to LF regardless of operating system. Now by default the use of CRLF is set to return for Windows and false for everyone else. It can be explicitly set using the <code>-crlf</code> command line option for programs that output CSV content.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.2.12...v1.3.0"><tt>v1.2.12...v1.3.0</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.2.122024-11-15T00:53:20Zfixed issue #22<p>fix issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2636582400" data-permission-text="Title is private" data-url="https://github.com/caltechlibrary/datatools/issues/22" data-hovercard-type="issue" data-hovercard-url="/caltechlibrary/datatools/issues/22/hovercard" href="https://github.com/caltechlibrary/datatools/issues/22">#22</a>, codemeta2cff will now correctly identifying DOI without <a href="https://doi.org" rel="nofollow">https://doi.org</a> prefix.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.2.11...v1.2.12"><tt>v1.2.11...v1.2.12</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.2.112024-10-24T16:38:57ZBug fix issue #21<p>This release addresses issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2610004884" data-permission-text="Title is private" data-url="https://github.com/caltechlibrary/datatools/issues/21" data-hovercard-type="issue" data-hovercard-url="/caltechlibrary/datatools/issues/21/hovercard" href="https://github.com/caltechlibrary/datatools/issues/21">#21</a> changing the CopyrightYear (copyrightYear in JSON) to an int.</p>rsdoieltag:github.com,2008:Repository/81131065/v1.2.102024-08-26T17:16:42ZMinor bug fix<p>The reldate cli was exiting with a panic after error message. The error message is now displayed followed by a call of <code>os.Exit(1)</code> called to avoid the panic.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/caltechlibrary/datatools/compare/v1.2.9...v1.2.10"><tt>v1.2.9...v1.2.10</tt></a></p>rsdoieltag:github.com,2008:Repository/81131065/v1.2.92024-03-06T22:30:09ZIntroducing jsonobjects2csv<p>This release features a new tool, jsonobjects2csv, which will convert JSON expressing a list of objects into a CSV file. If the objects contain complex attributes (lists and objects) those get converted into YAML (might change representation in the future).</p>rsdoiel