Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update cargo pre-1.0 packages (minor) #702

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 20, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
apollo-parser dependencies minor 0.4.1 -> 0.5.0
apollo-parser build-dependencies minor 0.4.1 -> 0.5.0
base64 dependencies minor 0.20 -> 0.21
graphql_client dependencies minor 0.11.0 -> 0.12.0
lru dependencies minor 0.8.1 -> 0.9.0
octorust dependencies minor 0.2.2 -> 0.3.0
redis dependencies minor 0.21.7 -> 0.22.3
serde_yaml dependencies minor 0.8.26 -> 0.9.17
toml dependencies minor 0.5.11 -> 0.7.2

Release Notes

apollographql/apollo-rs

v0.5.0

Compare Source

Features
  • new ast::Definition methods - goto-bus-stop, pull/456
    When working with Definition nodes, you can use the .name() method to get the name of a definition, regardless of its kind. For schema definitions, it returns None.
    You can use .is_extension_definition() to check if a definition node is an extension.
Fixes
  • fix token order around type names - goto-bus-stop, issue/362, pull/443

    type Query {
      field: Int # comment
    }

    Previously, the whitespace and comment around the Int type name would end up before the type name in the parse tree. This would mess up the location information for the Int type name. Now this is fixed.

  • fix spans after parsing unexpected tokens - goto-bus-stop, issue/325, pull/446

    Location information for all nodes after an unexpected token was incorrect. It's better now, though still imperfect: lexing errors still have this problem.

  • fix ignored token positioning in the AST - goto-bus-stop, pull/445

    This makes spans for all nodes more specific, not including ignored tokens after the node. When ignored tokens are consumed, they are first stored separately, and then added to the AST just before the next node is started. This way ignored tokens are always inside the outermost possible node, and therefore all individual nodes will have spans that only contain that node and not more.

    The most obvious effect of this is that diagnostics now point to the exact thing they are about, instead of a bunch of whitespace :)

marshallpierce/rust-base64

v0.21.0

Compare Source

Migration

Functions
< 0.20 function 0.21 equivalent
encode() engine::general_purpose::STANDARD.encode() or prelude::BASE64_STANDARD.encode()
encode_config() engine.encode()
encode_config_buf() engine.encode_string()
encode_config_slice() engine.encode_slice()
decode() engine::general_purpose::STANDARD.decode() or prelude::BASE64_STANDARD.decode()
decode_config() engine.decode()
decode_config_buf() engine.decode_vec()
decode_config_slice() engine.decode_slice()

The short-lived 0.20 functions were the 0.13 functions with config replaced with engine.

Padding

If applicable, use the preset engines engine::STANDARD, engine::STANDARD_NO_PAD, engine::URL_SAFE,
or engine::URL_SAFE_NO_PAD.
The NO_PAD ones require that padding is absent when decoding, and the others require that
canonical padding is present .

If you need the < 0.20 behavior that did not care about padding, or want to recreate < 0.20.0's predefined Configs
precisely, see the following table.

0.13.1 Config 0.20.0+ alphabet encode_padding decode_padding_mode
STANDARD STANDARD true Indifferent
STANDARD_NO_PAD STANDARD false Indifferent
URL_SAFE URL_SAFE true Indifferent
URL_SAFE_NO_PAD URL_SAFE false Indifferent
graphql-rust/graphql-client

v0.12.0

  • Switch to BTree to make codegen's output deterministic
  • Add support for skip_none and skip_serializing_none
  • Fix CI
jeromefroe/lru-rs

v0.9.0

Compare Source

  • Update dependency on hashbrown to 0.13.
  • Change LruCache.map to hold a pointer, rather than owned LruEntry.
redis-rs/redis-rs

v0.22.3: v0.22.3

Compare Source

0.22.3 (2023-01-23)

Fixes regression in 0.22.2 related to removed ClusterConnection::check_connection method. Thanks to @​robjtede for identifying and fixing!

Changes

v0.22.2: v0.22.2

Compare Source

0.22.2 (2023-01-07)

This release adds various incremental improvements and fixes a few long-standing bugs. Thanks to all our
contributors for making this release happen.

Features
Bug fixes
Changes

v0.22.1: v0.22.1

Compare Source

0.22.1 (2022-10-18)
Changes
  • Add README attribute to Cargo.toml
  • Update LICENSE file / symlink from parent directory

v0.22.0: v0.22.0

Compare Source

Redis-rs is a high level redis library for Rust and aims to provide
convenient access to all Redis functionality through a very flexible
but low-level API. The crate has recently come under maintainership
by @​djc and @​jaymell. Much appreciation and many thanks to @​mitsuhiko,
@​badboy, @​Marwes for their work in building this library over the years! The
new maintainers hope to improve the velocity of bug fixes, new features, and
PR reviews in the coming months.

This release adds various incremental improvements, including
additional convenience commands, improved Cluster APIs, and various other bug
fixes/library improvements.

Although the changes here are incremental, this is a major release due to the
breaking changes listed below.

This release would not be possible without our many wonderful
contributors -- thank you!

Breaking changes
  • Box all large enum variants; changes enum signature (#​667 @​nihohit)
  • Support ACL commands by adding Rule::Other to cover newly defined flags; adds new enum variant (#​685 @​garyhai)
  • Switch from sha1 to sha1_smol; renames sha1 feature (#​576)
Features
Changes
dtolnay/serde-yaml

v0.9.17

Compare Source

  • Improve Debug representation of some error messages

v0.9.16

Compare Source

  • Opt out of -Zrustdoc-scrape-examples on docs.rs for now

v0.9.15

Compare Source

  • Documentation improvements

v0.9.14

Compare Source

  • Implement Deserializer for TaggedValue and &TaggedValue (#​339)

v0.9.13

Compare Source

  • Recognize True, TRUE, False, FALSE as booleans, Null, NULL as null (#​330)

v0.9.12

Compare Source

  • Support deserializing tagged literal scalar into primitive (#​327)

    "foo": !!int |-
      7200

v0.9.11

Compare Source

  • Serialize strings on a single line when they do not already contain a newline character, regardless of string length (#​321, #​322)

v0.9.10

Compare Source

  • Make Display for Number produce the same representation as serializing (#​316)

v0.9.9

Compare Source

v0.9.8

Compare Source

  • Fix serialization of TaggedValue when used with to_value (#​313)

v0.9.7

Compare Source

  • Allow an empty plain scalar to deserialize as an empty map or seq (#​304)

v0.9.6

Compare Source

  • Fix tag not getting serialized in certain map values (#​302)

v0.9.5

Compare Source

v0.9.4

Compare Source

  • Add serde_yaml::with::singleton_map for serialization of enums as a 1-entry map (#​300)
  • Reject duplicate keys when deserializing Mapping or Value (#​301)

v0.9.3

Compare Source

  • Add categories to crates.io metadata
  • Add keywords to crates.io metadata

v0.9.2

Compare Source

  • Improve Debug representation of serde_yaml::Error

v0.9.1

Compare Source

  • Fix panic on some documents containing syntax error (#​293)
  • Improve error messages that used to contain duplicative line/column information (#​294)

v0.9.0

Compare Source

API documentation: https://docs.rs/serde_yaml/0.9

Highlights
  • The serde_yaml::Value enum gains a Tagged variant which represents the deserialization of YAML's !Tag syntax. Tagged scalars, sequences, and mappings are all supported.

  • An empty YAML input (or document containing only comments) will deserialize successfully to an empty map, empty sequence, or Serde struct as long as the struct has only optional fields. Previously this would error.

  • A new .apply_merge() method on Value implements YAML's << merge key convention.

  • The Debug representation of serde_yaml::Value has gotten vastly better (https://github.com/dtolnay/serde-yaml/pull/287).

  • Deserialization of borrowed strings now works.

    #[derive(Deserialize, Debug)]
    struct Struct<'a> {
        borrowed: &'a str,
    }
    
    let yaml = "borrowed: 'kölcsönzött'\n";
    let value: Struct = serde_yaml::from_str(yaml)?;
    println!("{:#?}", value);
  • Value's and Mapping's methods get and get_mut have been generalized to support a &str argument, as opposed to requiring you to allocate and construct a Value::String for indexing into another existing Value.

  • Mapping exposes more APIs that have become conventional on map data structures, such as .keys(), .values(), .into_keys(), .into_values(), .values_mut(), and .retain(|k, v| …).

Breaking changes
  • Serialization no longer produces leading ---\n on the serialized output. You can prepend this yourself if your use case demands it.

  • Serialization of enum variants is now based on YAML's !Tag syntax, rather than JSON-style singleton maps.

    #[derive(Serialize, Deserialize)]
    enum Enum {
        Newtype(usize),
        Tuple(usize, usize, usize),
        Struct { x: f64, y: f64 },
    }
    - !Newtype 1
    - !Tuple [0, 0, 0]
    - !Struct {x: 1.0, y: 2.0}
  • A bunch of non-base-10 edge cases in number parsing have been resolved. For example 0x+1 and ++0x1 are now parsed as strings, whereas they used to be incorrectly treated as numbers.

  • Deserializers obtained through iteration can no longer be iterated further:

    let deserializer = serde_yaml::Deserializer::from_str(multiple_documents);
    for de in deserializer {
        // correct:
        let myvalue = T::deserialize(de)?;
    
        // incorrect: used to produce some questionable result, now produces 0 sub-documents
        for questionable in de {
            let wat = T::deserialize(questionable)?;
        }
    }
  • The abandoned yaml-rust crate is no longer used as the YAML backend. The new libyaml-based backend surely has different edge cases and quirks than yaml-rust.

  • Some excessive PartialEq impls have been eliminated.

  • The serde_yaml::to_vec function has been removed. Use serde_yaml::to_writer for doing I/O, or use serde_yaml::to_string + .into_bytes() on the resulting String.

  • The serde_yaml::seed module has been removed. Now that a serde_yaml::Deserializer is publicly available, the same use cases can be addressed via seed.deserialize(Deserializer::from_str(…)) instead.

Bugfixes
  • Empty values in a mapping are supported, and deserialize to empty string when the corresponding struct field is of type string. Previously they would deserialize to "~" which makes no sense.

  • 128-bit integer deserialization now supports hex and octal input.

  • Serde_yaml now includes a mitigation against a "billion laughs" attack in which malicious input involving YAML anchors and aliases is used to consume an amount of processing or memory that is exponential in the size of the input document. Serde_yaml will quickly produce an error in this situation instead.

toml-rs/toml

v0.7.2

Compare Source

v0.7.1

Compare Source

v0.7.0

Compare Source

v0.6.0

Compare Source


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Mend Renovate. View repository job log here.

@github-actions
Copy link
Contributor

@renovate[bot] your pull request is missing a changelog!

@renovate renovate bot changed the title fix(deps): update rust crate zip to 0.6 fix(deps): update cargo pre-1.0 packages (minor) Mar 23, 2022
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch from d39f148 to 62a6773 Compare March 23, 2022 14:18
@netlify
Copy link

netlify bot commented Mar 23, 2022

Deploy Preview for apollo-router-docs ready!

Name Link
🔨 Latest commit 41d1be2
🔍 Latest deploy log https://app.netlify.com/sites/apollo-router-docs/deploys/62bc8d9b4bff4d000714cadd
😎 Deploy Preview https://deploy-preview-702--apollo-router-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 4 times, most recently from 8d202ee to 715e514 Compare April 4, 2022 21:33
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 6 times, most recently from c6d533f to dcb4c2d Compare April 11, 2022 16:39
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 4 times, most recently from e0000e3 to 420dbda Compare April 14, 2022 17:27
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 7 times, most recently from 728fc00 to e6a473e Compare April 28, 2022 15:02
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 5 times, most recently from 0b4ef19 to 2914556 Compare May 3, 2022 10:59
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 9 times, most recently from a5fe555 to dc3a346 Compare January 24, 2023 15:23
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 7 times, most recently from 7a9004c to a4f0fb6 Compare January 31, 2023 14:06
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 4 times, most recently from 499fd04 to 16d2d78 Compare February 7, 2023 15:03
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2023

@renovate[bot], please consider creating a changeset entry in /.changesets/. These instructions describe the process and tooling.

@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 2 times, most recently from 9fb9c04 to 9b9e339 Compare February 8, 2023 00:00
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 3 times, most recently from 9a5c5d0 to 898b84a Compare February 21, 2023 15:38
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch from 898b84a to 81dd411 Compare February 21, 2023 21:29
@abernix
Copy link
Member

abernix commented Feb 22, 2023

Idk. This PR seems out of control. I'm going to close it and let it re-open.

@abernix abernix closed this Feb 22, 2023
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