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

Bump json from 0.11.15 to 0.12.4 #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps json from 0.11.15 to 0.12.4.

Release notes

Sourced from json's releases.

0.12.4

  • Fixes an issue with new macros requiring types to be copy.

0.12.3

  • Improved macro syntax:
    • Object "key" => value pair can be now written as either "key": value or key: value without quotes, as long as key is an identifier.
    • If you want to use the value of the a variable as a key in the new notation, use [foo]: value.
    • When nesting objects or arrays, it's no longer necessary to use invoke array! or object! from within another macro.
    • null is a keyword inside of either macro.
    • This is a backwards compatible change, although mixing notations within a single macro invocation is not permitted.

Example

Instead of:

let obj = object! {
    "foo" => array![1, 2, json::Null],
    "bar" => 42
};

You can now write:

let obj = object! {
    foo: [1, 2, null],
    bar: 42
};

0.12.2

  • Fixes #152 & #153.
  • Fixed a whole bunch of warnings and some formatting.

0.12.1

  • Fixes panics in string generation (#168).
  • Fixes an old link to documentation in doc comments (#170).

0.12.0

  • Updated to edition 2018.
  • Simplified reading escaped unicode in strings a bit.
  • Provided From<&[T]> implementation for JsonValue where T: Into<JsonValue> (closes #160).
  • object! and array! macros will no longer re-allocate (closes #159).
  • object! and array! macros can be now used without being imported into local scope (by using json::object! or json::array!, thanks @matthias-t).
  • BREAKING HashMap and BTreeMap conversions are now more generic, working for any pair of K key and V value where K: AsRef<str> and V: Into<JsonValue>. This means that type inference won't always work in your favor, but should be much more flexible.
  • You can now .collect() an interator of (K, V) (with bounds same as point above) into an Object.
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 [json](https://github.com/maciejhirsz/json-rust) from 0.11.15 to 0.12.4.
- [Release notes](https://github.com/maciejhirsz/json-rust/releases)
- [Commits](https://github.com/maciejhirsz/json-rust/commits/v0.12.4)

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 Mar 18, 2020
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