Skip to content

Commit

Permalink
Release Functions Framework .NET packages version 1.0.0-beta02
Browse files Browse the repository at this point in the history
Changes since 1.0.0-beta01:

Changes around startup classes:

- FunctionsStartupAttribute can now be applied to classes as well
  as assemblies. The Hosting package detects attributes that have
  been applied to the target function type, and its base types.
- FunctionsStartupAttribute can now be applied to test assemblies
  and test classes to specify replacement startup classes;
  FunctionTestBase will automatically use this to determine
  startup classes from the test class, making it easier to fake
  out dependencies.

Packages in this release:
- Release Google.Cloud.Functions.Framework version 1.0.0-beta02
- Release Google.Cloud.Functions.Hosting version 1.0.0-beta02
- Release Google.Cloud.Functions.Templates version 1.0.0-beta02
- Release Google.Cloud.Functions.Testing version 1.0.0-beta02
  • Loading branch information
jskeet committed Oct 20, 2020
1 parent 318061c commit 22ee59b
Show file tree
Hide file tree
Showing 31 changed files with 43 additions and 30 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The Functions Framework for .NET requires the [.NET Core SDK 3.1](https://dotnet
First, install the template package into the .NET tooling:

```sh
dotnet new -i Google.Cloud.Functions.Templates::1.0.0-beta01
dotnet new -i Google.Cloud.Functions.Templates::1.0.0-beta02
```

Next, create a directory for your project, and use `dotnet new` to
Expand Down
13 changes: 13 additions & 0 deletions docs/history.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Version History

## 1.0.0-beta02 (released 2020-10-20)

Changes around startup classes:

- FunctionsStartupAttribute can now be applied to classes as well
as assemblies. The Hosting package detects attributes that have
been applied to the target function type, and its base types.
- FunctionsStartupAttribute can now be applied to test assemblies
and test classes to specify replacement startup classes;
FunctionTestBase will automatically use this to determine
startup classes from the test class, making it easier to fake
out dependencies.

## 1.0.0-beta01 (released 2020-10-14)

No API changes; just dependencies, and first beta release.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Steeltoe.Extensions.Configuration.RandomValueBase" Version="2.4.4" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0-beta01" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Testing" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Testing" Version="1.0.0-beta02" />
<ProjectReference Include="..\Google.Cloud.Functions.Examples.AdvancedDependencyInjection\Google.Cloud.Functions.Examples.AdvancedDependencyInjection.csproj" />
<ProjectReference Include="..\Google.Cloud.Functions.Examples.SimpleDependencyInjection\Google.Cloud.Functions.Examples.SimpleDependencyInjection.csproj" />
<ProjectReference Include="..\Google.Cloud.Functions.Examples.SimpleHttpFunction\Google.Cloud.Functions.Examples.SimpleHttpFunction.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0-beta01" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Google.Cloud.Storage.V1" Version="3.2.0" />
<PackageReference Include="Google.Cloud.Vision.V1" Version="2.0.0" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0-beta01" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="NodaTime" Version="3.0.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0-beta01" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/CommonProperties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- Version information -->
<PropertyGroup>
<Version>1.0.0-beta01</Version>
<Version>1.0.0-beta02</Version>
</PropertyGroup>

<!-- Build information -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0-beta01" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0-beta01" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0-beta01" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta01" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0-beta02" />
</ItemGroup>
</Project>

0 comments on commit 22ee59b

Please sign in to comment.