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 Refitter.Core from 0.8.3 to 0.8.4 #666

Merged
merged 5 commits into from
Nov 8, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 8, 2023

Bumps Refitter.Core from 0.8.3 to 0.8.4.

Release notes

Sourced from Refitter.Core's releases.

v0.8.4

Installation

This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:

dotnet tool install --global Refitter --version 0.8.4

Features

  • Generate single file containing Refit interface and contract types from an OpenAPI spec file
  • Supports OpenAPI v2 and v3
  • Supports OpenAPI specifications in JSON and YAML formats
  • Supports OpenAPI specification validation and error/warning/stats reporting
  • Supports generating route, query, header, and body request parameters
  • Generate code at build time using rosyln C# source generator Refitter.SourceGenerator
  • --no-auto-generated-header CLI tool argument to skip prefixing output file with header
  • --interface-only CLI tool argument to skip contract type generation
  • --use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>
  • --internal CLI tool argument to generate types with the internal accessibility modifier
  • --cancellation-tokens CLI tool argument to generate the Refit interface with CancellationTokens
  • --no-operation-headers CLI tool argument to skip generating [Header] parameters
  • --no-logging CLI tool argument to disable error logging and feature usage tracking
  • --use-iso-date-format CLI tool argument to explicitly format date query string parameters in ISO standard date format using delimiters (2023-06-15)
  • --multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag
  • --settings-file CLI tool argument to use a .refitter format file and override all other arguments
  • --skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway
  • --match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times
  • --tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation
  • --optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface
  • --operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set
  • --trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum
  • --keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema

What's Changed

... (truncated)

Changelog

Sourced from Refitter.Core's changelog.

Changelog

Unreleased

Full Changelog

Implemented enhancements:

  • NSwag contracts #186
  • Remove unused schema definitions (e.g. --remove-unreferenced-schema ) #170
  • Add Action<IHttpClientBuilder>? parameter in ConfigureRefitClients #215 (Noblix)
  • Update docs on trimming unused schemas #213 (christianhelle)
  • Remove unreferenced schema, add --trim-unused-schema & --keep-schema #199 (kirides)

Fixed bugs:

  • IServiceCollectionExtensions extra closing parenthesis with httpMessageHandlers #205

Merged pull requests:

Commits
  • e9c3d54 Bump up version number to v0.8.4 [skip ci]
  • 60f04a5 Update changelog [skip ci]
  • 80a2eed Merge pull request #215 from Noblix/main
  • 60bf68e Add Action<IHttpClientBuilder>? parameter in ConfigureRefitClients
  • 917d29a Update changelog [skip ci]
  • ce1123a Merge pull request #213 from christianhelle/docs
  • afd4feb Add new examples to configuration in Program.cs
  • f024cda Update README files with new trimUnusedSchema and keepSchemaPatterns features
  • 3bbaff7 Add --trim-unused-schema and --keep-schema options to main README.md
  • 0106346 Add trimUnusedSchema and keepSchemaPatterns options to DocFX article on .refi...
  • 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 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)

Bumps [Refitter.Core](https://github.com/christianhelle/refitter) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/christianhelle/refitter/releases)
- [Changelog](https://github.com/christianhelle/refitter/blob/main/CHANGELOG.md)
- [Commits](christianhelle/refitter@0.8.3...0.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 8, 2023
The Refitter version in the Command description of `RefitterCommand.cs` was outdated. This change updates the version from v0.8.3 to v0.8.4, ensuring the description correctly reflects the current version being utilized.
The version of Refitter in the CodeGenerator was updated from "v0.8.3" to "v0.8.4". This commit is part of the dependency updates to ensure that the software is using the most up-to-date versions of libraries and frameworks.
The version of Refitter used in the button text across VSIX and VSMac files was updated from v0.8.3 to v0.8.4. It reflects the updated version of the Refitter library being used in the tool. It is essential for the button text to display the accurate version to inform users about the version of the library in use.
Updated the version of Refitter.Core from v0.8.3 to v0.8.4 across various documentation files. This amendment reflects the recent upgrade of the Refitter.Core package in our codebase.
Copy link

sonarqubecloud bot commented Nov 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@christianhelle christianhelle merged commit 3a0be06 into master Nov 8, 2023
46 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/Refitter.Core-0.8.4 branch November 8, 2023 20:02
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