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): update dependency toml11 to v4 #55

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 16, 2024

This PR contains the following updates:

Package Type Update Change
toml11 http_archive major v3.8.1 -> v4.2.0

Release Notes

ToruNiina/toml11 (toml11)

v4.2.0: version 4.2.0

Compare Source

Added

  • Support std::optional members for TOML11_DEFINE_CONVERSION_NON_INTRUSIVE (#​260) (by Ken Matsui @​ken-matsui)
  • Make thread_local for color_mode optional (#​259) (#​261) (by Ken Matsui @​ken-matsui)
  • add usage with CPM to README
  • add explanation about ordered_map to README and update doc

Fixed

  • Manually cast file size to std::streamsize (#​258) (by Pino Toscano @​pinotree)
  • Typographical error in table_format output
  • Format an empty array specified as array-of-table in one line (#​262)
  • Added a missing include file (#​263)
  • Fix typos in documentation template syntax (#​264) (by Jack W @​jackwil1)
  • Fix toml::find_or for deeply nested tables (#​266)

v4.1.0: version 4.1.0

Compare Source

Added

  • support std::get<std::u8string>
  • support toml::value(std::u8string)
  • support string_type = std::u8string in config type
  • support operator<<(std::ostream&, toml::value)
  • add bool uppercase to toml::integer_format
  • support template into_toml() (#​255) (#​256) (by 萧迩珀 @​CDK6182CHR)

Fixed

Changed

  • speedup CI tests by multicore build

v4.0.3: version 4.0.3

Compare Source

Fixed

  • remove default template argument from forward declaration in toml_fwd.hpp
  • enable to call make_error_info with multiple toml::values
  • enable to copy/move result with std::reference_wrapper
  • fix document generation error with the latest version of hugo
  • fix several tiny errors that causes warning
  • fix CMake compatibility warning

Changed

  • add -Werror / /WX to build script
  • set MSVC warning level to /W4
  • add explanation of features to README

v4.0.2: version 4.0.2

Compare Source

Fixed

  • check return value of fread in parse(FILE*) (#​249)
  • version macro defined in toml11/version.hpp (#​250)
  • update docs about compilation
  • update docs about file open mode

Changed

  • use version macros defined in toml11/version.hpp as the project version in CMakeLists.txt

v4.0.1: version 4.0.1

Compare Source

v4.0.1

Fixed

  • Resolved naming conflict of sematic_version::{major, minor} with macros defined in <sys/sysmacro.h> (#​246 )
  • Fixed the definition of operator<< in discard_comments (#​248) (#​247 ) (by @​egorpugin)
  • Fixed the issue where the first blank line was not output in format_location
  • Fixed the issue where error messages pointing to source_location referring to lines containing only newline characters were displayed in two lines
  • Corrected links in the README
  • Corrected the title of the README in example/unicode

Added

  • Configured CI to automatically update single_include/toml.hpp when changes are made to main

v4.0.0: version 4.0.0

Compare Source

Major version update!

Added features

  • Added toml::spec to control TOML version
  • Added toml::parse variants, e.g. nothrow version, string version, and byte array version
  • Added formatting information to toml::value (e.g. inline tables, hex ints, etc).
  • Changed to saving comments in toml::value by default.
  • Added single_include/toml.hpp.
  • Enabled to use as a precompiled library.
  • Added reference manual.

Breaking Changes

  • Changed branch from master to main.
  • Changed template arguments of toml::basic_value.
  • Removed toml::string and explicitly store formatting information of all the values.
  • Modified arguments of toml::format to accommodate formatting information.
  • Changed default arguments of toml::parse to take toml::spec for specifying TOML version information.
  • Updated the interface of toml::source_location to accommodate multiline regions.
  • Modified arguments of toml::format_error.
  • Renamed toml::format_underline to toml::format_location.
  • Unified control method of toml::color to toml::color::enable/disable().

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.

🔕 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.

Copy link

coderabbitai bot commented Jun 16, 2024

Walkthrough

The update in the WORKSPACE file centers around the http_archive rule for the toml11 library. It incorporates a new version (4.2.0) by updating the sha256 checksum, adjusting the strip_prefix, and modifying the download URLs. These changes ensure that the build system accesses and utilizes the latest version of the library correctly, improving project reliability and compatibility.

Changes

Files Change Summary
WORKSPACE Updated http_archive for toml11 to version 4.2.0, modifying sha256, strip_prefix, and URLs.

Poem

🐇 In the garden of code, where the libraries play,
A new version hops in, brightening the day!
With checksums aligned and paths all anew,
Our builds run smoother, efficiently too!
So let’s celebrate changes, both merry and bright,
For the magic of coding brings joy and delight! ✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/toml11-4.x branch 2 times, most recently from c8e117f to 90d100d Compare July 6, 2024 12:52
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 56a2061 and eb88599.

Files selected for processing (1)
  • WORKSPACE (1 hunks)
Additional comments not posted (2)
WORKSPACE (2)

77-80: LGTM! Ensure the strip_prefix is correct.

The strip_prefix should match the top-level directory in the downloaded archive.


77-80: Verify the SHA256 checksum and URL.

Ensure that the sha256 checksum matches the archive for version 4.2.0 and that the URL is correct.

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