Skip to content

Upgrade packages - #121

Merged
MikeAlhayek merged 4 commits into
mainfrom
ma/upgrade-packages
Aug 3, 2026
Merged

Upgrade packages#121
MikeAlhayek merged 4 commits into
mainfrom
ma/upgrade-packages

Conversation

@MikeAlhayek

Copy link
Copy Markdown
Member

This pull request upgrades the CrestApps.Core framework and its dependencies to new major and minor versions, adapts the codebase to breaking changes in those dependencies (notably YesSql and the GitHub Copilot SDK), and clarifies project guidance and changelog conventions. It also addresses a build issue with OllamaSharp analyzers and improves documentation for contributors and automated agents.

Dependency upgrades and compatibility fixes:

  • Upgraded multiple dependencies, including YesSql (6.0), Model Context Protocol (2.0.0), GitHub Copilot SDK (1.0.8), Anthropic (12.39.0), OllamaSharp (5.4.30), NLog (6.1.4), .NET 10.0.10 runtime and extension packages, and Microsoft.Extensions.AI (10.8.3). [1] [2] [3] [4] [5]
  • Updated all usages of ISession.SaveAsync to the new signature required by YesSql 6.0, adding required parameters (bool, string, and CancellationToken). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Updated usage of PermissionsApi.SetAllowAllAsync to use the new mode-based API in the GitHub Copilot SDK 1.0.8.
  • Added a build target to remove the incompatible OllamaSharp.SourceGenerators analyzer, preventing build failures with the current .NET SDK.

Documentation and changelog improvements:

  • Clarified changelog file naming conventions (no v prefix), the process for documenting in-development releases, and how to register new changelog files in the documentation sidebar and index. [1] [2] [3]
  • Renamed changelog files and references from v1.1.0.md to 1.1.0.md and updated all sidebar and index links accordingly. [1] [2] [3]
  • Added and expanded agent and contributor guidance in AGENTS.md, referencing .github/copilot-instructions.md for project rules and conventions.

These changes modernize the codebase, ensure compatibility with upstream dependencies, and improve clarity for both human and automated contributors.

MikeAlhayek and others added 4 commits August 3, 2026 09:08
Adapt to breaking API changes introduced by the dependency updates:

- YesSql 6.0: switch ISession.SaveAsync calls to the new
  (obj, checkConcurrency, collection, CancellationToken) signature,
  passing CancellationToken.None to preserve existing behavior.
- GitHub.Copilot.SDK 1.0.8: update PermissionsApi.SetAllowAllAsync to
  the new mode-based overload (PermissionsAllowAllMode.On).
- OllamaSharp 5.4.30: strip its Roslyn source generator, which targets a
  newer compiler than the pinned SDK provides (CS9057), via a shared
  Directory.Build.targets step since it flows transitively into hosts.
- Update YesSql store mock setups/callbacks to the 4-parameter SaveAsync.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Rename changelog files to drop the 'v' prefix (v1.0.0.md -> 1.0.0.md,
  v1.1.0.md -> 1.1.0.md) and update the sidebar and changelog index links.
- Document the dependency baseline upgrade in the active 1.1.0 changelog.
- Add AGENTS.md and expand .github/copilot-instructions.md with changelog
  conventions: no 'v' prefix, and document all upcoming changes in the
  next planned release notes (1.1.0.md) going forward.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Rename versioned_docs/version-1.0 changelog v1.0.0.md to 1.0.0.md and update
the version-1.0 sidebar and changelog index references for consistency with
the current changelog naming convention.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MikeAlhayek
MikeAlhayek merged commit be5ac0a into main Aug 3, 2026
10 checks passed
@MikeAlhayek
MikeAlhayek deleted the ma/upgrade-packages branch August 3, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant