Tags: j-d-ha/minimal-lambda
Tags
feat: add MinimalLambda agent skill (#344) * feat(references): add comprehensive authoring and configuration reference docs - Added authoring references for various subjects including markdown patterns, callouts, tables, and layouts. - Introduced dependency references to map features with configuration needs and extension prerequisites. - Included a scaffold for content types and guidance for customization boundaries. - Updated docs reference outline for later structured extractions. * feat(docs): update local docs tasks and optimize dependencies - Renamed and enhanced local docs tasks (`run-docs` → `docs:serve` and new `docs:build`). - Migrated tasks to use `zensical` for serving and building docs. - Removed deprecated dependency references to clean up `uv.lock`. - Added `deepmerge` as a new dependency in `uv.lock`. * chore(docs): remove SonarCloud quality gate badge from README - Cleaned up outdated SonarCloud badge link from README for better clarity. - Retained other essential badges for build and license status. * chore(docs): remove outdated changelog and reformat index content - Deleted the unused `changelog.md` file to reduce redundancy in documentation. - Reorganized and re-indented content in `index.md` for enhanced readability and clarity. - Fixed various formatting inconsistencies in tables and lists for a cohesive style. - Updated callout and button links for better navigation within the docs. * chore(docs): remove changelog entry from navigation - Deleted the `Changelog` entry from `mkdocs.yml` navigation to align with recent cleanup. - Ensured navigation remains consistent by maintaining proper structure after removal. * chore(docs): cleanup and update workflow for docs build - Removed `pngquant` installation as it's unused in the current workflow. - Replaced `mkdocs build` with `zensical build` to align with updated tooling. - Commented out the Python setup step to simplify and streamline the workflow. * chore(docs): remove commented pngquant installation from workflow - Cleaned up unused and commented `pngquant` installation in `docs.yaml` workflow file. - Retained `uv` installation for workflow continuity. * feat: add MinimalLambda agent skill * fix: make MinimalLambda skill portable * chore: remove skill validation workspace * chore(git-workflow): remove outdated workflow documentation - Deleted outdated workflow files for branch, commit, and PR processes. - Removed shared references, templates, and examples tied to legacy workflows. - Cleared obsolete `SKILL.md` content under `.agents/skills/git-workflow`. - Retired unused Git workflow examples and guides to align with current tooling. * docs: fix docs formatting and local serve command * docs(minimal-lambda): add lifecycle hook patterns and refine handler/middleware guidance - Introduced `lifecycle-hook-patterns.md` covering `OnInit` and `OnShutdown` best practices. - Linked lifecycle hook references in `SKILL.md` and clarified usage guidelines. - Enhanced `handler-patterns.md` with inline arrow function examples for MinimalLambda adapters. - Updated `middleware-patterns.md` to encourage inline glue logic but explain when to extract classes. - Added small refinements to envelope, hosting, and testing references to ensure alignment. - Improved guidance on keeping Lambda context objects at the edge in handler/middleware/hooks. --------- Signed-off-by: Jonas Ha <61319894+j-d-ha@users.noreply.github.com>
fix(build): suppress NU5104 for preview TFM dependencies (#337) * chore(dependabot): add Microsoft.Extensions.Http to semver-major updates - Configure Dependabot to monitor Microsoft.Extensions.Http for major version updates. * chore(build): suppress NU5104 warning for preview TFM - Added NU5104 to NoWarn property to ignore warnings for preview dependencies in net11.0.
fix(deps): downgrade Microsoft.CodeAnalysis packages to 5.0.0 (#316) * chore(deps): downgrade Microsoft.CodeAnalysis packages to version 5.0.0 - Adjusted versions of Microsoft.CodeAnalysis, Analyzers, Common, and CSharp from 5.3.0 to 5.0.0 - Ensures compatibility with existing project dependencies * chore(deps): update System.Text.Json version range for netstandard2.0 - Updated System.Text.Json version to [8.0.6, 9.0.0) to ensure compatibility and future-proofing - Applies only to netstandard2.0 target framework * chore(deps): update Microsoft.CodeAnalysis package versions - Updated Microsoft.CodeAnalysis.Analyzers to version 5.3.0 - Adjusted Microsoft.CodeAnalysis, Common, and CSharp to use version range [5.0.0] - Ensures compatibility with project dependencies and resolves versioning issues * chore(deps): remove unused Microsoft.CodeAnalysis.Common package - Removed Microsoft.CodeAnalysis.Common from project and central package configs - Consolidated usage under Microsoft.CodeAnalysis.CSharp where applicable - Simplifies dependency tree and avoids redundant package references
chore: Bump the minor-and-patch group with 20 updates (#307) Bumps Amazon.Lambda.Core from 2.8.0 to 2.8.1 Bumps Amazon.Lambda.RuntimeSupport from 1.14.1 to 1.14.2 Bumps AwesomeAssertions from 9.3.0 to 9.4.0 Bumps AWSSDK.Core from 4.0.3.9 to 4.0.3.18 Bumps jetbrains.resharper.globaltools from 2025.3.1 to 2025.3.3 Bumps Microsoft.CodeAnalysis from 5.0.0 to 5.3.0 Bumps Microsoft.CodeAnalysis.Analyzers from 4.14.0 to 5.3.0-2.25625.1 Bumps Microsoft.CodeAnalysis.Common from 5.0.0 to 5.3.0 Bumps Microsoft.CodeAnalysis.CSharp from 5.0.0 to 5.3.0 Bumps Microsoft.Extensions.DependencyModel from 10.0.2 to 10.0.5 Bumps Microsoft.Extensions.Diagnostics.Testing from 10.2.0 to 10.4.0 Bumps Microsoft.Extensions.Http from 10.0.2 to 10.0.5 Bumps Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0 Bumps Microsoft.Testing.Extensions.CodeCoverage from 18.0.4 to 18.5.2 Bumps OpenTelemetry.Exporter.InMemory from 1.14.0 to 1.15.0 Bumps OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.14.0 to 1.15.0 Bumps OpenTelemetry.Extensions.Hosting from 1.14.0 to 1.15.0 Bumps OpenTelemetry.Instrumentation.AWSLambda from 1.12.1 to 1.15.0 Bumps Scriban from 6.5.2 to 6.5.7 Bumps Verify.XunitV3 from 31.9.4 to 31.13.2 --- updated-dependencies: - dependency-name: Amazon.Lambda.Core dependency-version: 2.8.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Amazon.Lambda.RuntimeSupport dependency-version: 1.14.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: AwesomeAssertions dependency-version: 9.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: AWSSDK.Core dependency-version: 4.0.3.18 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: jetbrains.resharper.globaltools dependency-version: 2025.3.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.CodeAnalysis dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: Microsoft.CodeAnalysis.Common dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: Microsoft.CodeAnalysis.Analyzers dependency-version: 5.3.0-2.25625.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: minor-and-patch - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: Microsoft.Extensions.DependencyModel dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.Extensions.Diagnostics.Testing dependency-version: 10.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: Microsoft.Extensions.Http dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: Microsoft.Testing.Extensions.CodeCoverage dependency-version: 18.5.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: OpenTelemetry.Exporter.InMemory dependency-version: 1.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: OpenTelemetry.Exporter.OpenTelemetryProtocol dependency-version: 1.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: OpenTelemetry.Extensions.Hosting dependency-version: 1.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: OpenTelemetry.Instrumentation.AWSLambda dependency-version: 1.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: Scriban dependency-version: 6.5.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Verify.XunitV3 dependency-version: 31.13.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jonas Ha <61319894+j-d-ha@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonas Ha <61319894+j-d-ha@users.noreply.github.com>
chore: bump the minor-and-patch group with 6 updates (#281) * chore: Bump the minor-and-patch group with 6 updates Bumps csharpier from 1.2.4 to 1.2.5 Bumps Microsoft.AspNetCore.Hosting.Abstractions from 2.3.0 to 2.3.9 Bumps Microsoft.AspNetCore.Http.Abstractions from 2.3.0 to 2.3.9 Bumps Microsoft.AspNetCore.Routing from 2.3.0 to 2.3.9 Bumps Microsoft.Extensions.Hosting.Abstractions from 9.0.10 to 9.0.11 Bumps Verify.XunitV3 from 31.9.2 to 31.9.3 --- updated-dependencies: - dependency-name: csharpier dependency-version: 1.2.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.AspNetCore.Hosting.Abstractions dependency-version: 2.3.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.AspNetCore.Http.Abstractions dependency-version: 2.3.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.AspNetCore.Routing dependency-version: 2.3.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.Extensions.Hosting.Abstractions dependency-version: 9.0.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Verify.XunitV3 dependency-version: 31.9.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com> * refactor(tests): remove unused package reference in unit test projects - Removed `Microsoft.Extensions.Hosting.Abstractions` package from test projects. - Ensured `appsettings.json` remains correctly configured with `CopyToOutputDirectory`. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonas Ha <jonas-ha@outlook.com>
refactor(source-generators): improve type casting and output generati… …on (#254) * refactor(map-handler): replace BuildHandlerSignature with BuildHandlerCastCall - Removed BuildHandlerSignature method from DelegateInfoExtensions. - Updated MapHandlerSources to use BuildHandlerCastCall instead. - Modified signature construction to use Utilities.Cast for handler processing. * refactor(source-generators): improve output generation and usage of nullable reference types - Added explicit null-forgiveness operator for Build methods in unit tests. - Updated LambdaHostOutputGenerator to include additional namespace and utility class in generated output. - Simplified and refactored code template files by removing duplicate using statements. - Enhanced handler signature casting with improved clarity in MapHandler template. * chore(build): bump version to 2.0.0-beta.10 - Updated `Version` property in Directory.Build.props to reflect the new prerelease version. * refactor(unit-tests): update snapshot and enhance handler casting utility - Added `Utilities.Cast` method to simplify and enhance handler signature casting. - Updated snapshot file with organized `using` directives and new casting approach. - Improved accuracy and clarity in generated handler processing logic. --------- Signed-off-by: Jonas Ha <61319894+j-d-ha@users.noreply.github.com>
PreviousNext