Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 7, 2021

This PR contains the following updates:

Package Type Update Change
bytes dependencies major 0.5 -> 1.0

Release Notes

tokio-rs/bytes (bytes)

v1.10.1

Compare Source

Fixed
  • Fix memory leak when using to_vec with Bytes::from_owner (#​773)

v1.10.0

Compare Source

Added
  • Add feature to support platforms without atomic CAS (#​467)
  • try_get_* methods for Buf trait (#​753)
  • Implement Buf::chunks_vectored for Take (#​617)
  • Implement Buf::chunks_vectored for VecDeque<u8> (#​708)
Fixed
  • Remove incorrect guarantee for chunks_vectored (#​754)
  • Ensure that tests pass under panic=abort (#​749)

v1.9.0

Compare Source

Added
  • Add Bytes::from_owner to enable externally-allocated memory (#​742)
Documented
  • Fix typo in Buf::chunk() comment (#​744)
Internal changes
  • Replace BufMut::put with BufMut::put_slice in Writer impl (#​745)
  • Rename hex_impl! to fmt_impl! and reuse it for fmt::Debug (#​743)

v1.8.0

Compare Source

  • Guarantee address in split_off/split_to for empty slices (#​740)

v1.7.2

Compare Source

Fixed
  • Fix default impl of Buf::{get_int, get_int_le} (#​732)
Documented
  • Fix double spaces in comments and doc comments (#​731)
Internal changes
  • Ensure BytesMut::advance reduces capacity (#​728)

v1.7.1

Compare Source

This release reverts the following change due to a regression:

  • Reuse capacity when possible in <BytesMut as Buf>::advance impl (#​698)

The revert can be found at #​726.

v1.7.0

Compare Source

Added
  • Add conversion from Bytes to BytesMut (#​695, #​710)
  • Add reclaim method without additional allocation (#​686)
Documented
  • Clarify how BytesMut::zeroed works (#​714)
  • Clarify the behavior of Buf::chunk (#​717)
Changed
  • Change length condition of BytesMut::truncate
  • Reuse capacity when possible in <BytesMut as Buf>::advance impl (#​698)
  • Improve must_use suggestion of BytesMut::split (#​699)
Internal changes
  • Use ManuallyDrop instead of mem::forget (#​678)
  • Don't set len in BytesMut::reserve (#​682)
  • Optimize Bytes::copy_to_bytes (#​688)
  • Refactor BytesMut::truncate (#​694)
  • Refactor BytesMut::resize (#​696)
  • Reorder assertion in Bytes::split_to, Bytes::split_off (#​689, #​693)
  • Use offset_from in more places (#​705)
  • Correct the wrong usage of IntoIter (#​707)

v1.6.1

Compare Source

This release fixes a bug where Bytes::is_unique returns incorrect values when
the Bytes originates from a shared BytesMut. (#​718)

v1.6.0

Compare Source

Added
Documented
Internal changes
  • Move comment to correct constant (#​629)
  • Various cleanup (#​635)
  • Simplify UninitSlice::as_uninit_slice_mut() logic (#​644)
  • Use self. instead of Self:: (#​642)
  • BytesMut: Assert alignment of Shared (#​652)
  • Remove unnecessary namespace qualifier (#​660)
  • Remove an unnecessary else branch (#​662)
  • Remove unreachable else branch (#​661)
  • make parameter mut in From<Vec> (#​667)
  • Restore commented tests (#​665)
  • Use sub instead of offset (#​668)
  • Calculate original capacity only if necessary (#​666)
  • set_vec_pos does not need a second parameter (#​672)
  • get_vec_pos: use &self instead of &mut self (#​670)
  • Refactor split_at/split_to (#​663)
  • Use Iterator from the prelude (#​673)
  • copy_to_bytes: Add panic section to docs (#​676)
  • Remove redundant reserve call (#​674)
  • Use ManuallyDrop instead of mem::forget (#​675)

v1.5.0

Compare Source

Added
Changed
  • Mark BytesMut::extend_from_slice as inline (#​595)

v1.4.0

Compare Source

Added
  • Make IntoIter constructor public (#​581)
Fixed
  • Avoid large reallocations when freezing BytesMut (#​592)
Documented
  • Document which functions require std (#​591)
  • Fix duplicate "the the" typos (#​585)

v1.3.0

Compare Source

Added
  • Rename and expose BytesMut::spare_capacity_mut (#​572)
  • Implement native-endian get and put functions for Buf and BufMut (#​576)
Fixed
  • Don't have important data in unused capacity when calling reserve (#​563)
Documented
  • Bytes::new etc should return Self not Bytes (#​568)

v1.2.1

Compare Source

Fixed
  • Fix unbounded memory growth when using reserve (#​560)

v1.2.0

Compare Source

Added
  • Add BytesMut::zeroed (#​517)
  • Implement Extend<Bytes> for BytesMut (#​527)
  • Add conversion from BytesMut to Vec<u8> (#​543, #​554)
  • Add conversion from Bytes to Vec<u8> (#​547)
  • Add UninitSlice::as_uninit_slice_mut() (#​548)
  • Add const to Bytes::{len,is_empty} (#​514)
Changed
Fixed
Documented
  • Redraw layout diagram with box drawing characters (#​539)
  • Clarify BytesMut::unsplit docs (#​535)

v1.1.0

Compare Source

Added
  • BufMut::put_bytes(self, val, cnt) (#​487)
  • Implement From<Box<[u8]>> for Bytes (#​504)
Changed
  • Override put_slice for &mut [u8] (#​483)
  • Panic on integer overflow in Chain::remaining (#​482)
  • Add inline tags to UninitSlice methods (#​443)
  • Override copy_to_bytes for Chain and Take (#​481)
  • Keep capacity when unsplit on empty other buf (#​502)
Documented
  • Clarify BufMut allocation guarantees (#​501)
  • Clarify BufMut::put_int behavior (#​486)
  • Clarify actions of clear and truncate. (#​508)

v1.0.1

Compare Source

Changed
  • mark Vec::put_slice with #[inline] (#​459)
Fixed
  • Fix deprecation warning (#​457)
  • use Box::into_raw instead of mem::forget-in-disguise (#​458)

v1.0.0

Compare Source

Changed
  • Rename Buf/BufMut methods bytes() and bytes_mut() to chunk() and chunk_mut() (#​450)
Removed
  • remove unused Buf implementation. (#​449)

v0.6.0

Compare Source

API polish in preparation for a 1.0 release.

Changed
  • BufMut is now an unsafe trait (#​432).
  • BufMut::bytes_mut() returns &mut UninitSlice, a type owned by bytes to
    avoid undefined behavior (#​433).
  • Buf::copy_to_bytes(len) replaces Buf::into_bytes() (#​439).
  • Buf/BufMut utility methods are moved onto the trait and *Ext traits are
    removed (#​431).
Removed
  • BufMut::bytes_vectored_mut() (#​430).
  • new methods on combinator types (#​434).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/bytes-1.x branch 2 times, most recently from 7c3be50 to c0ea16a Compare May 14, 2021 18:32
@renovate renovate bot force-pushed the renovate/bytes-1.x branch from c0ea16a to 8634237 Compare October 18, 2021 16:19
@renovate renovate bot force-pushed the renovate/bytes-1.x branch from 8634237 to f421690 Compare September 25, 2022 13:00
@renovate renovate bot force-pushed the renovate/bytes-1.x branch from f421690 to 74409ee Compare March 23, 2023 21:44
@renovate renovate bot changed the title fix(deps): update rust crate bytes to v1 fix(deps): update rust crate bytes to v1 - autoclosed Mar 24, 2023
@renovate renovate bot closed this Mar 24, 2023
@renovate renovate bot deleted the renovate/bytes-1.x branch March 24, 2023 21:04
@renovate renovate bot changed the title fix(deps): update rust crate bytes to v1 - autoclosed fix(deps): update rust crate bytes to v1 Mar 25, 2023
@renovate renovate bot reopened this Mar 25, 2023
@renovate renovate bot restored the renovate/bytes-1.x branch March 25, 2023 01:15
@renovate renovate bot force-pushed the renovate/bytes-1.x branch from 74409ee to b143474 Compare September 7, 2023 10:53
@renovate renovate bot force-pushed the renovate/bytes-1.x branch from b143474 to dae7c34 Compare March 22, 2024 21:33
@renovate renovate bot force-pushed the renovate/bytes-1.x branch 2 times, most recently from 6cde0ed to c4be99a Compare May 5, 2024 10:52
@renovate renovate bot force-pushed the renovate/bytes-1.x branch from c4be99a to 5487de2 Compare September 11, 2024 07:29
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.

0 participants