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

chore(deps): bump serde_json_path from 0.6.4 to 0.6.7 #133

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2024

Bumps serde_json_path from 0.6.4 to 0.6.7.

Release notes

Sourced from serde_json_path's releases.

v0.6.7

0.6.7 (3 March 2024)

  • testing: support tests for non-determinism in compliance test suite (#85)
  • fixed: bug preventing registered functions from being used as arguments to other functions (#84)

#85: hiltontj/serde_json_path#85 #84: hiltontj/serde_json_path#84

v0.6.6

0.6.6 (23 February 2024)

  • docs: update links to refer to RFC 9535 (#81)

#81: hiltontj/serde_json_path#81

v0.6.5

0.6.5 (3 February 2024)

Added: NormalizedPath and PathElement types (#78)

The NormalizedPath struct represents the location of a node within a JSON object. Its representation is like so:

pub struct NormalizedPath<'a>(Vec<PathElement<'a>);
pub enum PathElement<'a> {
Name(&'a str),
Index(usize),
}

Several methods were included to interact with a NormalizedPath, e.g., first, last, get, iter, etc., but notably there is a to_json_pointer method, which allows direct conversion to a JSON Pointer to be used with the serde_json::Value::pointer or serde_json::Value::pointer_mut methods.

The new PathElement type also comes equipped with several methods, and both it and NormalizedPath have eagerly implemented traits from the standard library / serde to help improve interoperability.

Added: LocatedNodeList and LocatedNode types (#78)

The LocatedNodeList struct was built to have a similar API surface to the NodeList struct, but includes additional methods that give access to the location of each node produced by the original query. For example, it has the locations and nodes methods to provide dedicated iterators over locations or nodes, respectively, but also provides the iter method to iterate over the location/node pairs. Here is an example:

use serde_json::{json, Value};
use serde_json_path::JsonPath;
let value = json!({"foo": {"bar": 1, "baz": 2}});
let path = JsonPath::parse("$.foo.*")?;
let query = path.query_located(&value);
let nodes: Vec<&Value> = query.nodes().collect();
</tr></table> 

... (truncated)

Commits
  • a9f8f08 Merge pull request #86 from hiltontj/release-0-6-7
  • 7a40ca3 refactor: rename audit check
  • 431a606 chore: add deny to ci
  • a139e29 chore: fix changelog headings and cargo versions
  • 30c47d5 chore: add deny.toml, update changelogs
  • a2e5b4d chore: update versions
  • a54121e Merge pull request #85 from hiltontj/hiltontj/2024-03-02-cts
  • 1d941a0 chore: comment out single compliance test
  • 68be662 chore: update changelog
  • 2e70d07 test: update to latest cts and handle non-determinism tests
  • Additional commits viewable in compare view

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 will merge this PR once CI passes on it, as requested by @zach-robinson-dev.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added the dependencies Pull requests that update a dependency file label Apr 4, 2024
@zach-robinson-dev
Copy link
Contributor

@dependabot rebase

Bumps [serde_json_path](https://github.com/hiltontj/serde_json_path) from 0.6.4 to 0.6.7.
- [Release notes](https://github.com/hiltontj/serde_json_path/releases)
- [Changelog](https://github.com/hiltontj/serde_json_path/blob/main/CHANGELOG.md)
- [Commits](hiltontj/serde_json_path@v0.6.4...v0.6.7)

---
updated-dependencies:
- dependency-name: serde_json_path
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/serde_json_path-0.6.7 branch from 427f848 to 4fd736a Compare April 4, 2024 15:13
@zach-robinson-dev
Copy link
Contributor

@dependabot merge

@dependabot dependabot bot merged commit b7fd8cd into main Apr 4, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/serde_json_path-0.6.7 branch April 4, 2024 15:16
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.

1 participant