tag:github.com,2008:https://github.com/MidasLamb/non-empty-string/releases Release notes from non-empty-string 2025-04-09T18:03:17Z tag:github.com,2008:Repository/410239892/v0.2.6 2025-04-09T18:03:18Z v0.2.6 <h3>Added</h3> <ul> <li><code>non_empty_string!()</code> macro to create a <code>NonEmptyString</code> at compile time , thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patskovn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patskovn">@patskovn</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2856324257" data-permission-text="Title is private" data-url="https://github.com/MidasLamb/non-empty-string/issues/19" data-hovercard-type="pull_request" data-hovercard-url="/MidasLamb/non-empty-string/pull/19/hovercard" href="https://github.com/MidasLamb/non-empty-string/pull/19">#19</a> (requires <code>macros</code> feature flag)</li> </ul> github-actions[bot] tag:github.com,2008:Repository/410239892/v0.2.5 2024-10-15T18:49:38Z v0.2.5 <h3>Added</h3> <ul> <li><code>new_unchecked</code> (Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Rudxain/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Rudxain">@Rudxain</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2580613571" data-permission-text="Title is private" data-url="https://github.com/MidasLamb/non-empty-string/issues/17" data-hovercard-type="pull_request" data-hovercard-url="/MidasLamb/non-empty-string/pull/17/hovercard" href="https://github.com/MidasLamb/non-empty-string/pull/17">#17</a> )</li> </ul> github-actions[bot] tag:github.com,2008:Repository/410239892/v0.2.4 2023-10-03T19:41:47Z v0.2.4 <h3>Added</h3> <ul> <li>impl Hash trait</li> <li>impl Into trait</li> <li>FromStr implementation</li> <li>add Deref impl</li> </ul> <h3>Other</h3> <ul> <li>Add release plz</li> <li>Remove excessive error file</li> <li>Add more traits that <code>String</code> also has</li> <li>Add cargo-semver-checks to CI</li> <li>error::EmptyString is now public</li> <li>Merge branch 'MidasLamb:master' into constructors</li> <li>cover parse() in tests::from_str_works</li> <li>fix example description about constructor</li> <li>clear unnecessary paths</li> <li>Release version v0.2.3</li> </ul> <h3>Added</h3> <ul> <li>More traits from <code>String</code> implemented on <code>NonEmptyString</code> <ul> <li>Index</li> <li>Add</li> <li>AddAssign</li> <li>Extend</li> <li>Write</li> <li>PartialEq with <code>str</code> &amp; <code>String</code></li> </ul> </li> </ul> <h3>Changed</h3> <h3>Removed</h3> github-actions[bot] tag:github.com,2008:Repository/410239892/v0.2.3 2022-11-28T09:23:35Z v0.2.3 <h3>Added</h3> <ul> <li>Add <code>Display</code> implementation (<a href="https://github.com/MidasLamb/non-empty-string/pull/8" data-hovercard-type="pull_request" data-hovercard-url="/MidasLamb/non-empty-string/pull/8/hovercard">#8</a>, thanks to <a href="https://github.com/jonhteper">@jonhteper</a>)</li> <li>Align errors in <code>TryFrom</code> implementations (<a href="https://github.com/MidasLamb/non-empty-string/pull/8" data-hovercard-type="pull_request" data-hovercard-url="/MidasLamb/non-empty-string/pull/8/hovercard">#8</a>, thanks to <a href="https://github.com/jonhteper">@jonhteper</a>)</li> </ul> MidasLamb tag:github.com,2008:Repository/410239892/v0.2.2 2022-09-18T16:09:30Z v0.2.2 <h3>Added</h3> <ul> <li>Add &amp; delegate all non-length-reducing methods of <code>std::string::String</code> to the inner <code>String</code>.</li> </ul> <h3>Changed</h3> <ul> <li>README has some more examples and explanations. It is also no longer included in the doc (except for doctests).</li> </ul> MidasLamb tag:github.com,2008:Repository/410239892/v0.2.1 2022-09-14T15:41:27Z v0.2.1 <h3>Added</h3> <h3>Changed</h3> <ul> <li>The error message when using <code>serde</code> now indicates that the empty string could not be deserialized.</li> <li>Bumped rust edition to <code>2021</code></li> </ul> <h3>Removed</h3> MidasLamb tag:github.com,2008:Repository/410239892/v0.2.0 2022-09-10T13:36:31Z v0.2.0 <h3>Added</h3> <ul> <li><code>serde</code> support behind the <code>serde</code> feature flag.</li> <li><code>Eq, PartialEq, Ord, PartialOrd</code> are now implemented for <code>NonEmptyString</code>.</li> <li><code>get</code> to retrieve a reference to the inner value.</li> </ul> <h3>Changed</h3> <ul> <li><code>new</code> constructor now returns a <code>Result</code> rather than an <code>Option</code>, which contains the original string</li> </ul> <h3>Removed</h3> MidasLamb tag:github.com,2008:Repository/410239892/v0.1.0 2022-09-10T13:13:28Z v0.1.0 <p>The initial release</p> MidasLamb