Skip to content

Commit c08404b

Browse files
arika0093Copilot
andauthored
Ver 0.6.1 (#215)
* chore: add permissions for changelog generation (cherry picked from commit 46e133a) * chore: update changelog for release (cherry picked from commit b6a6f17) * Fix type references in README for DTOs (cherry picked from commit 405d76b) * feat: add changelog generation step to release workflow (cherry picked from commit dd72ff4) * docs: add comparison section with other mapping libraries in README (cherry picked from commit 4441364) * docs: enhance README with detailed explanation of Linqraft's DTO generation feature and comparison with other libraries (cherry picked from commit c7523ff) * fix: correct spelling of "dependencies" in README files (cherry picked from commit 11ac12c) * docs: update README and nuget documentation to include new features for automatic DTO generation and calculated fields (cherry picked from commit 44f3bec) * docs: refine README overview to clarify Linqraft's features and eliminate redundancy (cherry picked from commit f272837) * Add AutoMapper, Mapperly, Mapster, and Facet to benchmark (#209) * Initial plan * Add AutoMapper, Mapperly, Mapster, and Facet to benchmark Co-authored-by: arika0093 <[email protected]> * Fix Mapperly warnings by ignoring unmapped source members Co-authored-by: arika0093 <[email protected]> * Fix Facet benchmark to use standard NestedFacets pattern for proper DTO mapping Co-authored-by: arika0093 <[email protected]> * refactor: update benchmark descriptions and set baseline for Linqraft Auto-Generated DTO --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: arika0093 <[email protected]> Co-authored-by: Arika Ishinami <[email protected]> (cherry picked from commit 0916634) * Fix nested SelectExpr generation - convert inner SelectExpr to Select (#208) * Initial plan * Add support for nested SelectExpr - convert inner SelectExpr to Select Co-authored-by: arika0093 <[email protected]> * Refactor: Extract shared helper for Select expression generation Co-authored-by: arika0093 <[email protected]> * Address PR feedback: unify methods, use record class for LINQ info, extract explicit DTO type from syntax Co-authored-by: arika0093 <[email protected]> * Address PR feedback: rename test file, use SelectExpr with explicit DTO types, verify nested namespace, update record syntax, simplify code Co-authored-by: arika0093 <[email protected]> * Improve null safety: add explicit null coalescing for propertyType Co-authored-by: arika0093 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: arika0093 <[email protected]> (cherry picked from commit 348f441) * docs: update FAQ section in README to clarify Linqraft's compatibility with LINQ providers (cherry picked from commit 24db040) * fix: add playground CSS file to .gitignore (cherry picked from commit 9c9740c) * refactor: streamline template creation and remove unused methods (cherry picked from commit 2d08f8e) * chore: remove unused tailwind CSS file from playground (cherry picked from commit 73e74c0) * docs: update FAQ to clarify Linqraft's compatibility with LINQ providers (cherry picked from commit 9773b53) * chore: update CI workflows for .NET build and test with multi-platform support (cherry picked from commit d3fbfc7) * chore: Update target frameworks and add build error suppression (#210) * fix: add SuppressTfmSupportBuildErrors property to Directory.Build.props * I207 test only run .NET 9 or later temporary * fix: remove .NET 6.0 from target frameworks in CI workflow * fix: correct property name in NestedSelectExpr test for clarity (cherry picked from commit c1bb6cf) * docs: clarify usage of Linqraft for generating shared DTOs from OpenAPI Schema (cherry picked from commit 400daf8) * docs: add collapsible section for available MSBuild properties in README (cherry picked from commit b9fdff6) * docs: add clarification on .csproj package reference for Linqraft installation (cherry picked from commit d67e521) * docs: improve clarity in reverse conversion explanation in README (cherry picked from commit 0add9bf) * Fix nested SelectExpr interceptor generation (#213) * Initial plan * Fix: Skip nested SelectExpr interceptor generation and generate DTOs with correct names Co-authored-by: arika0093 <[email protected]> * Fix: Address code review - move global:: prefix removal before class name extraction Co-authored-by: arika0093 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: arika0093 <[email protected]> (cherry picked from commit 8a370f8) * docs: clarify target frameworks setup for Windows in CI workflow (cherry picked from commit 1cfba41) --------- Co-authored-by: arika0093 <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: arika0093 <[email protected]>
1 parent 1c4d018 commit c08404b

27 files changed

+1285
-1753
lines changed

.github/workflows/changelog.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,26 @@ jobs:
9898

9999
- name: Publish Nuget Package
100100
run: dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{steps.login.outputs.NUGET_API_KEY}}
101+
102+
generate-changelog:
103+
runs-on: ubuntu-latest
104+
needs: package-build
105+
steps:
106+
- uses: actions/checkout@v4
107+
with:
108+
fetch-depth: 0
109+
110+
- name: Generate a changelog
111+
uses: orhun/git-cliff-action@v4
112+
with:
113+
config: .github/git-cliff.toml
114+
args: --verbose
115+
env:
116+
OUTPUT: CHANGELOG.md
117+
GITHUB_REPO: ${{ github.repository }}
118+
119+
- name: Commit and Push changelog
120+
uses: stefanzweifel/git-auto-commit-action@v4
121+
with:
122+
commit_message: "chore: update changelog for release ${{ needs.package-build.outputs.version }}"
123+
file_pattern: CHANGELOG.md

.github/workflows/test-strict.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: .NET Build and Test (More Platforms)
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- 'release-pr/*'
8+
9+
jobs:
10+
test:
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest, windows-latest]
14+
runs-on: ${{ matrix.os }}
15+
steps:
16+
- name: Set Target Frameworks (Unix)
17+
run: echo 'TFMS=net10.0;net8.0' >> $GITHUB_ENV
18+
if: matrix.os != 'windows-latest'
19+
20+
- name: Set Target Frameworks (Windows, including .NET Framework)
21+
shell: pwsh
22+
run: echo 'TFMS=net10.0;net8.0;net48' >> $env:GITHUB_ENV
23+
if: matrix.os == 'windows-latest'
24+
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Setup .NET
31+
uses: actions/setup-dotnet@v4
32+
with:
33+
dotnet-version: |
34+
10.0.x
35+
8.0.x
36+
cache: true
37+
cache-dependency-path: '**/packages.lock.json'
38+
39+
- name: Restore dependencies
40+
run: dotnet restore --locked-mode
41+
42+
- name: Build
43+
run: dotnet build --no-restore
44+
45+
- name: Run tests
46+
run: dotnet test --no-build --verbosity normal --logger GitHubActions

.github/workflows/test.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ env:
1515
DOTNET_VERSION: '10.0.x'
1616

1717
jobs:
18-
build:
19-
strategy:
20-
matrix:
21-
# drop windows because setup-dotnet on windows has too slow performance...
22-
# os: [ubuntu-latest, windows-latest]
23-
os: [ubuntu-latest]
24-
runs-on: ${{ matrix.os }}
18+
test:
19+
runs-on: ubuntu-latest
2520
steps:
2621
- name: Checkout repository
2722
uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.db*
22
.generated/
3+
playground/wwwroot/css/tailwind.css
34

45
## Ignore Visual Studio temporary files, build results, and
56
## files generated by popular Visual Studio add-ons.

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## [0.6.0] - 2025-12-03
2+
3+
### 🚀 Features
4+
5+
- Detect and warn when using auto-generated DTO classes (#202)
6+
- [**breaking**] Change NestedDtoUseHashNamespace behavior (default is true) (#203)
7+
- [**breaking**] Update generated DTO namespaces to use Linqraft prefix instead of hash suffix (#205)
8+
- Add transparent background to scrollbar corner in tailwind.css
9+
- Enhance TAILWIND_CDN_FRAGMENT with additional styles and fonts in DevTailwindUtil.razor
10+
11+
### 🐛 Bug Fixes
12+
13+
- Simplify name conversion and improve consistency in GroupBy usage (#204)
14+
- Update BenchmarkDotNet version and refine benchmark results in README.md
15+
16+
### 🚜 Refactor
17+
18+
- Simplify CodeGenerationService constructor and improve internal attribute filtering
19+
20+
### 📚 Documentation
21+
22+
- Add known issues section for GroupBy and SelectExpr functionality
123
## [0.5.0] - 2025-12-02
224

325
### 🚀 Features

0 commit comments

Comments
 (0)