Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 18, 2024

Bumps Mono.TextTemplating.Roslyn from 2.2.1 to 3.0.0.

Release notes

Sourced from Mono.TextTemplating.Roslyn's releases.

v3.0.0

Overview

The major change in Mono.TextTemplating 3.0.0 is the addition of a new T4.BuildTools package. This contains MSBuild targets for build-time text transformations. Although fully featured, it has not been extensively tested and further feedback would be appreciated. These targets are documented in the package README.md and include a bundled schema for the MSBuild Editor. These targets are fully integrated into the Visual Studio design time build and mechanisms for executing targets on save, making it straightforward to migrate to Mono.TextTransform from the VS T4 engine.

Although there are no API breaking changes, the major version was bumped following SemVer rules as there are multiple changes to assembly loading rules that could result in breaking behavioral changes in some cases.

  • Fixed assembly resolution bugs specific to the AssemblyLoadContext codepath used on .NET Core. It should now be consistent with the assembly resolution behavior with AppDomain on .NET Framework.
  • Added a DisableAssemblyLoadContext host option to opt out of AssemblyLoadContext usage.
  • Assemblies known to the host now take precedence over identically-named assemblies passed to the generator. This prevents issues where a reference assembly passed to the host would fail to load at runtime.
  • When the host specifies to use the current AppDomain for template execution, then the AppDomain codepaths will be skipped entirely. This optimization may lead to changes in assembly loading behavior.

There are also miscellaneous bug fixes and improvements to compatibility with newer .NET and C# version:

  • Handling of the C# language version has been reworked (1, 2). The language version and runtime version are now decoupled, and when a language version is not explicitly specified, it will default to the highest language version supported by the target runtime.
  • .NET 9 and C# 12 are now supported.
  • The CLI tool now has a --useRelativeLinePragmas argument.
  • The DOTNET_ROOT environment variable is now respected.
  • The new CreateTempSubdirectory method from .NET 7 is now used for temp directory creation, massively reducing the chance of temp directory name collisions. This has also been backported to older runtimes

Packages

The following packages are published for this release on NuGet.org:

Per the warning in 2.3.1, the dotnet-t4-project-tool package has been discontinued. The dotnet-t4 package is a drop-in replacement and can be installed as a local tool.

Merged PRs

... (truncated)

Commits
  • cb559e2 Set version to '3.0.0'
  • 5d0f76c Merge pull request #181 from mono/fix-net9-preview
  • 8034f8b Upgrade NuGet.Frameworks for MSBuild tests again
  • 847ef03 Don't try to pass langversion 13 just yet
  • 4f33c8d Merge pull request #179 from mono/dotnet-env-var
  • 56f20c8 Separate csc and runtime C# versions
  • 590808c Don't require csc.dll when using in-process compiler
  • 055fcdf Merge pull request #178 from mono/fix-incremental-build-test-race
  • b0ef142 Merge pull request #177 from abbottdev/feature/fix-prop-includes
  • d6fd26b Fix race in incremental build 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 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 [Mono.TextTemplating.Roslyn](https://github.com/mono/t4) from 2.2.1 to 3.0.0.
- [Release notes](https://github.com/mono/t4/releases)
- [Changelog](https://github.com/mono/t4/blob/main/release-steps.md)
- [Commits](mono/t4@v2.2.1...v3.0.0)

---
updated-dependencies:
- dependency-name: Mono.TextTemplating.Roslyn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 18, 2024
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 .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant