diff --git a/release-notes/0.3.4.md b/release-notes/0.3.4.md new file mode 100644 index 0000000..95f2c97 --- /dev/null +++ b/release-notes/0.3.4.md @@ -0,0 +1,7 @@ +# 0.3.4 + +Leave +- `tp leave create --json` returns the created request with its id (`{"success":true,"leaveId":"...","leave":{...}}`) instead of a bare success flag, and the MCP `create_leave` tool returns the same document. If the new entry cannot be identified after saving, the result still reports success with a warning and points at `tp leave list --filter ALL`; it never submits the request twice. + +MCP server +- `get_timesheets`, `get_suggested_timesheets` and `check_week` now share their data fetches with the matching CLI commands. Output is unchanged: `get_timesheets` still skips weekends while `tp ts get` includes them, and suggestions are refreshed exactly once before being read. diff --git a/release-notes/latest.md b/release-notes/latest.md index 890773e..c9e9c7a 120000 --- a/release-notes/latest.md +++ b/release-notes/latest.md @@ -1 +1 @@ -0.3.3.md \ No newline at end of file +0.3.4.md \ No newline at end of file diff --git a/tests/SSW.TimePro.Cli.Tests/Features/Updates/ReleaseNotesCatalogTests.cs b/tests/SSW.TimePro.Cli.Tests/Features/Updates/ReleaseNotesCatalogTests.cs index fd72a37..0d6373b 100644 --- a/tests/SSW.TimePro.Cli.Tests/Features/Updates/ReleaseNotesCatalogTests.cs +++ b/tests/SSW.TimePro.Cli.Tests/Features/Updates/ReleaseNotesCatalogTests.cs @@ -50,7 +50,7 @@ public void LoadEmbedded_FindsBackfilledReleaseNotes() { var catalog = ReleaseNotesCatalog.LoadEmbedded(); - catalog.LatestKnown()!.VersionText.Should().Be("0.3.3"); + catalog.LatestKnown()!.VersionText.Should().Be("0.3.4"); } private static ReleaseNotesCatalog Catalog() =>