This is the companion repository for my book Accelerate DevOps with GitHub (2022). You can find all hands-on labs and other examples from the book here. Please reach out to me if something is broken.
The ObjectSerializer has been changed to only allow deserialization of types that are considered safe.
What types are considered safe is determined by a new configurable AllowedTypes function (of type Func<Type, bool>).
The default AllowedTypes function is ObjectSerializer.DefaultAllowedTypes which returns true for a number of well-known framework types that we have deemed safe.
A typical example might be to allow all the default allowed types as well as your own types. This could be accomplished as follows:
var objectSerializer = new ObjectSerializer(type => ObjectSerializer.DefaultAllowedTypes(type) || type.FullName.StartsWith("MyNamespace"));
BsonSerializer.RegisterSerializer(objectSerializer);
More information about the ObjectSerializer is available in our FAQ.
Default LinqProvider changed to LINQ3
Default LinqProvider has been changed to LINQ3.
LinqProvider can be changed back to LINQ2 in the following way:
var connectionString = "mongodb://localhost";
var clientSettings = MongoClientSettings.FromConnectionString(connectionString);
clientSettings.LinqProvider = LinqProvider.V2;
var client = new MongoClient(clientSettings);
If you encounter a bug in LINQ3 provider, please report it in CSHARP JIRA project.
An online version of these release notes is available here.
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/wulfland/AccelerateDevOps/network/alerts).
Bumps the nuget group with 5 updates in the /ch9_release/src/Tailwind.Traders.Web directory:
12.8.0
12.13.0
5.0.2
5.0.9
2.11.6
2.19.0
1.0.0-beta0006
2.1.8
4.8.2
4.8.6
Updates
Azure.Storage.Blobs
from 12.8.0 to 12.13.0Commits
dd17f33
July Release Prep - Confidential Ledger (#29675)b62fd9f
[AzureMonitorExporter] Split Integration.Tests project (#29703)ad4d05e
fix test construction (#29700)4586797
Fix null errors in SetTestPipelineVersion, Update Package Upload step name. (...7ae9b07
[Search] Fix rightly run failures (#29702)9a09f68
remove transfereeeParticipantId (#29697)9f95ad3
Increment version for search releases (#29698)8d03e42
Increment package version after release of Azure.Messaging.EventHubs.Processo...217bc95
Increment version for tables releases (#29695)276daf3
STG 83 GA release prep (#29694)Updates
Microsoft.AspNetCore.Authentication.JwtBearer
from 5.0.2 to 5.0.9Release notes
Sourced from Microsoft.AspNetCore.Authentication.JwtBearer's releases.
Commits
c663ade
Merged PR 15469: Clean up logging3aeeedc
[internal/release/5.0] Update dependencies from dnceng/internal/dotnet-efcoreadcf3c4
Merge in 'release/5.0' changes3f87303
Merge pull request #34308 from vseanreesermsft/internal-merge-5.0-2021-07-13-...45223e7
[release/5.0] Update package baselines81b0403
[release/5.0] Bump SiteExtension.3.1 version518c5b9
[release/5.0] Update to latest SDK and runtime41f3416
Merge commit 'ae2eabad0e49302d0632a7dde917fdc68d960dc4' into internal-merge-5...b6532d4
[internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime45a120e
[internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtimeUpdates
MongoDB.Driver
from 2.11.6 to 2.19.0Release notes
Sourced from MongoDB.Driver's releases.
... (truncated)
Commits
3db6a36
Release notes for 2.19.0. (#1013)790f123
CSHARP-4475: Add an AllowedTypes filter to ObjectSerializer.8993daa
CSHARP-4453: Support Bucket and BucketAuto stages in LINQ3.ec46c34
CSHARP-4490: Fix tests related to asserting wildcardProjection output. (#1011)9ee046b
CSHARP-4182: Support for Range Indexes. (#988)9189a58
CSHARP-4440: Incorporate MongoDB.Labs.Search library (#989)0bb42fa
CSHARP-4255: Fix bug and some tests. (#993)c0c521e
CSHARP-4449: Implement Find projections in LINQ3.396830c
CSHARP-4468: LINQ V3 SelectMany + GroupBy results with redundant $push within...70ed174
CSHARP-4463: Add aws auth connectivity examples. (#1004)Updates
SixLabors.ImageSharp
from 1.0.0-beta0006 to 2.1.8Release notes
Sourced from SixLabors.ImageSharp's releases.
... (truncated)
Commits
Updates
System.Data.SqlClient
from 4.8.2 to 4.8.6Release notes
Sourced from System.Data.SqlClient's releases.
Commits
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