Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: assertion should not fail if input was empty string#36

Merged
danking merged 1 commit into
developfrom
aduffy/handle-empty-compress
Sep 17, 2024
Merged

fix: assertion should not fail if input was empty string#36
danking merged 1 commit into
developfrom
aduffy/handle-empty-compress

Conversation

@a10y

@a10y a10y commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

The lower-level methods support empty, but this assertion on the wrapper was causing failures when empty plaintext provided

@a10y a10y requested a review from danking September 17, 2024 20:17
@a10y a10y force-pushed the aduffy/handle-empty-compress branch from 08c8395 to 0e0b518 Compare September 17, 2024 20:17

@danking danking left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No bytes is the best amount of bytes.

@danking danking enabled auto-merge (squash) September 17, 2024 20:19
@a10y a10y changed the title Assertion should allow empty compression fix: assertion should not fail if input was empty string Sep 17, 2024
@danking danking merged commit 3b9e804 into develop Sep 17, 2024
@danking danking deleted the aduffy/handle-empty-compress branch September 17, 2024 20:26
@github-actions github-actions Bot mentioned this pull request Sep 17, 2024
a10y pushed a commit that referenced this pull request Sep 17, 2024
## 🤖 New release
* `fsst-rs`: 0.4.1 -> 0.4.2 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.4.2](v0.4.1...v0.4.2) -
2024-09-17

### Fixed

- search for first non-empty chunk
([#35](#35))
- docs first3 ([#33](#33))

### Other

- Assertion should allow empty compression
([#36](#36))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
a1412744807 added a commit to a1412744807/rs-fsst that referenced this pull request Oct 27, 2025
## 🤖 New release
* `fsst-rs`: 0.4.1 -> 0.4.2 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.4.2](spiraldb/fsst@v0.4.1...v0.4.2) -
2024-09-17

### Fixed

- search for first non-empty chunk
([#35](spiraldb/fsst#35))
- docs first3 ([#33](spiraldb/fsst#33))

### Other

- Assertion should allow empty compression
([#36](spiraldb/fsst#36))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Goodbai-1206 added a commit to Goodbai-1206/fsst-rs that referenced this pull request Oct 29, 2025
## 🤖 New release
* `fsst-rs`: 0.4.1 -> 0.4.2 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.4.2](spiraldb/fsst@v0.4.1...v0.4.2) -
2024-09-17

### Fixed

- search for first non-empty chunk
([#35](spiraldb/fsst#35))
- docs first3 ([#33](spiraldb/fsst#33))

### Other

- Assertion should allow empty compression
([#36](spiraldb/fsst#36))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
akkjs887 added a commit to akkjs887/rt-rsst that referenced this pull request Oct 29, 2025
## 🤖 New release
* `fsst-rs`: 0.4.1 -> 0.4.2 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.4.2](spiraldb/fsst@v0.4.1...v0.4.2) -
2024-09-17

### Fixed

- search for first non-empty chunk
([#35](spiraldb/fsst#35))
- docs first3 ([#33](spiraldb/fsst#33))

### Other

- Assertion should allow empty compression
([#36](spiraldb/fsst#36))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
yelirekhmon added a commit to yelirekhmon/fstrs that referenced this pull request Oct 30, 2025
## 🤖 New release
* `fsst-rs`: 0.4.1 -> 0.4.2 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.4.2](spiraldb/fsst@v0.4.1...v0.4.2) -
2024-09-17

### Fixed

- search for first non-empty chunk
([#35](spiraldb/fsst#35))
- docs first3 ([#33](spiraldb/fsst#33))

### Other

- Assertion should allow empty compression
([#36](spiraldb/fsst#36))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants