Skip to content

Commit

Permalink
Changed the versions
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Mar 21, 2024
1 parent 115906c commit b482699
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Piral.Blazor.Server Changelog

## 0.5.0 (tbd)

- Fixed issue with broken assets
- Added `PiralOptions` to configure behavior
- Added `IsolatedAssemblies` option

## 0.4.1 (February 16, 2024)

- Fixed issue with `piral-blazor-server publish-microfrontend` to take wrong path
Expand Down
2 changes: 1 addition & 1 deletion src/Piral.Blazor.Cli/CreateEmulatorOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private void CreateNuGetPackage(string csproj, string buildDir, string outDir)
var projectVersion = project.GetVersion() ?? "1.0.0";
var projectAuthors = project.GetAuthor() ?? "Piral";
var license = project.GetLicense() ?? "MIT";
var sdkVersion = project.GetSdkVersion() ?? "0.4.1";
var sdkVersion = project.GetSdkVersion() ?? "0.5.0";
var name = Name ?? $"{projectName}.Emulator";
var description = $"The emulator for the {projectName} application.";
var fn = Path.Combine(outDir, $"{name}.nupkg");
Expand Down
2 changes: 1 addition & 1 deletion src/Piral.Blazor.Cli/Piral.Blazor.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<VersionPrefix>0.4.1</VersionPrefix>
<VersionPrefix>0.5.0</VersionPrefix>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackAsTool>true</PackAsTool>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<VersionPrefix>0.4.1</VersionPrefix>
<VersionPrefix>0.5.0</VersionPrefix>
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Florian Rappl</Authors>
Expand Down
13 changes: 13 additions & 0 deletions src/Piral.Blazor.Orchestrator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,16 @@ An example with more NuGet feeds:
```

As you can see the `User` and `Token` fields, which are usually required for authenticating against a private feed, are left empty. This is not a mistake, but actually a best practice. You can use the .NET secret manager to then fill these parts. More details can be found [in the Microsoft documentation](https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-8.0&tabs=linux).

## Initial Options

The behavior of the library can be configured when the DI services are configured, e.g.:

```cs
builder.Services.AddMicrofrontends<MfDiscoveryLoaderService>(new()
{
IsolatedAssemblies = ["BlazorOcticons.dll"],
});
```

This will instruct the Piral orchestrator to keep loading the locally available (yet centrally provided) `BlazorOctions.dll`.
2 changes: 1 addition & 1 deletion src/Piral.Blazor.Sdk/Piral.Blazor.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>0.4.1</VersionPrefix>
<VersionPrefix>0.5.0</VersionPrefix>
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Florian Rappl</Authors>
Expand Down
2 changes: 1 addition & 1 deletion src/Piral.Blazor.Sdk/Sdk/Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Piral.Blazor.Shared" Version="0.4.1" PrivateAssets="all" />
<PackageReference Include="Piral.Blazor.Shared" Version="0.5.0" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Piral.Blazor.Shared/Piral.Blazor.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>0.4.1</VersionPrefix>
<VersionPrefix>0.5.0</VersionPrefix>
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Florian Rappl</Authors>
Expand Down
2 changes: 1 addition & 1 deletion src/Piral.Blazor.Shared/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
This is a shared library that will be automatically installed and used with `Piral.Blazor.Orchestrator` or in a micro frontend when you leverage the `Piral.Blazor.Sdk` SDK like this:

```xml
<Project Sdk="Piral.Blazor.Sdk/0.4.1">
<Project Sdk="Piral.Blazor.Sdk/0.5.0">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand Down

0 comments on commit b482699

Please sign in to comment.