Skip to content

Bump sled from 0.26.3 to 0.29.1#13

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/sled-0.29.1
Closed

Bump sled from 0.26.3 to 0.29.1#13
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/sled-0.29.1

Conversation

@dependabot-preview
Copy link
Copy Markdown

Bumps sled from 0.26.3 to 0.29.1.

Release notes

Sourced from sled's releases.

Config, Transaction, and Opening Revamp

New Features

  • The Config::open method has been added to give
    Config a similar feel to std's fs::OpenOptions.
    The Config::build and Db::start methods are
    now deprecated in favor of calling Config::open
    directly
  • A checksum method has been added to Tree and Db
    for use in verifying backups and migrations.
  • Transactions may now involve up to 69 different
    tables. Nice.
  • The TransactionError::Abort variant has had
    a generic member added that can be returned
    as a way to return information from a
    manually-aborted transaction. An abort helper
    function has been added to reduce the boiler-
    plate required to return aborted results.

Breaking Changes

  • The ConfigBuilder structure has been removed
    in favor of a simplified Config structure
    with the same functionality.
  • The way that sled versions are detected at
    initialization time is now independent of serde.
  • The cas method is deprecated in favor of the new
    compare_and_swap method which now returns the
    proposed value that failed to be applied.
  • Tree nodes now have constant prefix encoding
    lengths.
  • The io_buf_size configurable renamed to
    segment_size.
  • The io_buf_size configurable method has been
    removed from ConfigBuilder. This can be manually
    set by setting the attribute directly on the
    ConfigBuilder, but this is discouraged.
    Additionally, this must now be a power of 2.
  • The page_consolidation_threshold method has been
    removed from ConfigBuilder, and this is now
    a constant of 10.

async flush, bugfixes, event variant rename

Breaking Changes

  • Event::Set has been renamed to Event::Insert and
    Event::Del has been renamed to Event::Remove. These
    names better align with the methods of BTreeMap from
    the standard library.
... (truncated)
Changelog

Sourced from sled's changelog.

0.29

New Features

  • The Config::open method has been added to give
    Config a similar feel to std's fs::OpenOptions.
    The Config::build and Db::start methods are
    now deprecated in favor of calling Config::open
    directly
  • A checksum method has been added to Tree and Db
    for use in verifying backups and migrations.
  • Transactions may now involve up to 69 different
    tables. Nice.
  • The TransactionError::Abort variant has had
    a generic member added that can be returned
    as a way to return information from a
    manually-aborted transaction. An abort helper
    function has been added to reduce the boiler-
    plate required to return aborted results.

Breaking Changes

  • The ConfigBuilder structure has been removed
    in favor of a simplified Config structure
    with the same functionality.
  • The way that sled versions are detected at
    initialization time is now independent of serde.
  • The cas method is deprecated in favor of the new
    compare_and_swap method which now returns the
    proposed value that failed to be applied.
  • Tree nodes now have constant prefix encoding
    lengths.
  • The io_buf_size configurable renamed to
    segment_size.
  • The io_buf_size configurable method has been
    removed from ConfigBuilder. This can be manually
    set by setting the attribute directly on the
    ConfigBuilder, but this is discouraged.
    Additionally, this must now be a power of 2.
  • The page_consolidation_threshold method has been
    removed from ConfigBuilder, and this is now
    a constant of 10.

0.28

Breaking Changes

  • Iter no longer has a lifetime parameter.
  • Db::open_tree now returns a Tree instead of
    an Arc<Tree>. Tree now has an inner type that
... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [sled](https://github.com/spacejam/sled) from 0.26.3 to 0.29.1.
- [Release notes](https://github.com/spacejam/sled/releases)
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spacejam/sled/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 16, 2019
@dependabot-preview
Copy link
Copy Markdown
Author

Superseded by #21.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/sled-0.29.1 branch January 1, 2020 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants