-
Notifications
You must be signed in to change notification settings - Fork 0
Add release process: version, CHANGELOG, /whats-new page #68
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| ## [0.6.0](https://github.com/StepKie/FantasyFootball/releases/tag/0.6.0) — 2026-06-02 | ||
|
|
||
| ### New Features | ||
|
|
||
| - **Bundesliga 2025-26** ([PR #65](https://github.com/StepKie/FantasyFootball/pull/65)) — simulate the German top flight with real fixtures, real results so far, and club crests for all 18 teams. Domestic-league competitions are a new format: season-long round-robin, no group stage, no knockout. League standings show qualification bands (Champions League, Europa League, Conference League, relegation playoff, relegation) per position. | ||
| - **Premier League, Serie A, LaLiga, Ligue 1 (2025-26)** ([PR #66](https://github.com/StepKie/FantasyFootball/pull/66)) — the same treatment for four more top-flight leagues. Real fixtures and results, 78 additional club crests, 96 club Elo ratings from a single snapshot. | ||
| - **Pick the Elo set per competition** ([PR #65](https://github.com/StepKie/FantasyFootball/pull/65)) — the rating set used to simulate a competition is now chosen at competition setup instead of being driven by a single global "active" set. National-team and club rating snapshots are kept separate, so the picker only shows compatible options. | ||
| - **Per-team rating history on the Teams page** ([PR #65](https://github.com/StepKie/FantasyFootball/pull/65)) — opening a team now shows a table of every stored rating snapshot that covers it (date, rank, Elo), instead of a single value. | ||
| - **"Restore historical competitions" button in Settings** ([PR #65](https://github.com/StepKie/FantasyFootball/pull/65)) — explicit, idempotent restore of bundled World Cup / Euro tournaments after a database reset. Replaces the previous behaviour of implicitly seeding them on first visit to the Competitions page. | ||
|
|
||
| ### Bugfixes | ||
|
|
||
| - **Bundled historical competitions simulate correctly after a reset** ([PR #65](https://github.com/StepKie/FantasyFootball/pull/65)) — restoring the historical World Cup / Euro tournaments used to leave them without a rating set assigned, which made any sim refuse to run. Each bundled tournament now ships with its rating set pinned to the matching year. | ||
|
|
||
| ## [0.5.0](https://github.com/StepKie/FantasyFootball/releases/tag/0.5.0) — 2026-05-30 | ||
|
|
||
| See the [compare view](https://github.com/StepKie/FantasyFootball/compare/0.4.0...0.5.0). | ||
|
|
||
| ## [0.4.0](https://github.com/StepKie/FantasyFootball/releases/tag/0.4.0) — 2026-05-24 | ||
|
|
||
| See the [compare view](https://github.com/StepKie/FantasyFootball/compare/0.3.1...0.4.0). | ||
|
|
||
| ## [0.3.1](https://github.com/StepKie/FantasyFootball/releases/tag/0.3.1) — 2026-05-20 | ||
|
|
||
| See the [compare view](https://github.com/StepKie/FantasyFootball/compare/0.3.0...0.3.1). | ||
|
|
||
| ## [0.3.0](https://github.com/StepKie/FantasyFootball/releases/tag/0.3.0) — 2026-05-20 | ||
|
|
||
| First tagged release. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <Project> | ||
|
|
||
| <PropertyGroup> | ||
| <!-- | ||
| Single source of truth for the project version. All .csproj files in the solution | ||
| inherit this. MSBuild auto-derives AssemblyVersion / FileVersion / InformationalVersion | ||
| from <Version>, so reading via Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>() | ||
| gives the same string back (with a +<git-sha> suffix appended automatically when the | ||
| build sees a git working copy). | ||
|
|
||
| Bump this on each release; do not put <Version> in individual .csproj files. | ||
| --> | ||
| <Version>0.6.0</Version> | ||
| </PropertyGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -14,6 +14,7 @@ | |||||
| </ItemGroup> | ||||||
|
|
||||||
| <ItemGroup> | ||||||
| <PackageReference Include="Markdig" Version="1.0.0" /> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Build-breaking: Markdig Markdig (by xoofx) uses
Suggested change
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❌ Skipped — the claim is wrong. NuGet's flatcontainer API for |
||||||
| <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="10.0.8" /> | ||||||
| <PackageReference Include="MudBlazor" Version="9.4.0" /> | ||||||
| <PackageReference Include="Serilog" Version="4.3.0" /> | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| @page "/whats-new" | ||
| @inject HttpClient Http | ||
| @implements IDisposable | ||
| @using System.Text.RegularExpressions | ||
| @using Markdig | ||
|
|
||
| <PageTitle>What's new — Fantasy Football</PageTitle> | ||
|
|
||
| <MudText Typo="Typo.h4" Class="mb-2">What's new</MudText> | ||
| <MudText Typo="Typo.body2" Class="mud-text-secondary mb-6"> | ||
| Release history for Fantasy Football. The full source of this page is | ||
| <MudLink Href="https://github.com/StepKie/FantasyFootball/blob/main/CHANGELOG.md" Target="_blank" Color="Color.Primary">CHANGELOG.md</MudLink> | ||
| on GitHub. | ||
| </MudText> | ||
|
|
||
| @if (_error is not null) | ||
| { | ||
| <MudAlert Severity="Severity.Error" Variant="Variant.Outlined"> | ||
| Couldn't load release notes: @_error | ||
| </MudAlert> | ||
| } | ||
| else if (_html is null) | ||
| { | ||
| <MudProgressCircular Indeterminate="true" Color="Color.Primary" /> | ||
| } | ||
| else | ||
| { | ||
| <MudPaper Elevation="1" Class="pa-5 changelog-content"> | ||
| @((MarkupString)_html) | ||
| </MudPaper> | ||
| } | ||
|
|
||
| @code { | ||
| static readonly Markdig.MarkdownPipeline _pipeline = | ||
| new Markdig.MarkdownPipelineBuilder().UseAutoLinks().DisableHtml().Build(); | ||
|
|
||
| // Rewrites external anchors to open in a new tab so SPA navigation isn't hijacked. | ||
| static readonly Regex _externalLinkPattern = new(@"<a href=""(https?://[^""]+)""", RegexOptions.Compiled); | ||
|
|
||
| string? _html; | ||
| string? _error; | ||
|
|
||
| readonly CancellationTokenSource _cts = new(); | ||
|
|
||
| protected override async Task OnInitializedAsync() | ||
| { | ||
| try | ||
| { | ||
| var markdown = await Http.GetStringAsync("CHANGELOG.md", _cts.Token); | ||
| var html = Markdig.Markdown.ToHtml(markdown, _pipeline); | ||
| _html = _externalLinkPattern.Replace(html, @"<a target=""_blank"" rel=""noopener noreferrer"" href=""$1"""); | ||
| } | ||
| catch (OperationCanceledException) { /* user navigated away mid-fetch */ } | ||
| catch (Exception ex) | ||
| { | ||
| _error = ex.Message; | ||
| } | ||
| } | ||
|
|
||
| public void Dispose() | ||
| { | ||
| _cts.Cancel(); | ||
| _cts.Dispose(); | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FantasyFootball.Maui.csprojstill has<Version>$(ApplicationDisplayVersion)</Version>(line 23), which evaluates to0.5.0— it will override this inherited value because a property set inside the project file takes precedence overDirectory.Build.props. Both the MAUI assembly stamp andApplicationDisplayVersionstay at 0.5.0 while every other project picks up 0.6.0. Needs to be updated for each release along withDirectory.Build.props.