Skip to content

Cleanup - #16

Merged
rabbitism merged 20 commits into
mainfrom
feature/cleanup
Jul 18, 2026
Merged

Cleanup#16
rabbitism merged 20 commits into
mainfrom
feature/cleanup

Conversation

@rabbitism

Copy link
Copy Markdown
Member

No description provided.

- Directory.Build.props: ToonVersion 1.0.0-preview.1, shared metadata
- Main package: SG DLL in analyzers/dotnet/cs, net8.0+net10.0 libs
- Sub-packages: Mvc.Toon, Http.Toon, Config.Toon — each with IsPackable, tags, description
- All sub-packages depend on Irihi.Text.Toon 1.0.0-preview.1
- 486 tests pass, dotnet pack generates all 4 .nupkg cleanly
- docs/getting-started.md, migrate-from-stj.md, performance-best-practices.md, faq.md
- docs/api/: toon-serializer, options, reader-writer, source-generator, converters, ecosystem
- samples/: README.md for each demo project
- README.md: badges, features, quick links
…der/writer, converters, README

- docs/performance-best-practices.md: mode comparison + optimization tips
- docs/faq.md: format, compatibility, features, troubleshooting
- docs/api/toon-source-generator.md: SG setup, FastPath, AOT config
- docs/api/toon-reader-writer.md: low-level API reference
- docs/api/toon-converters.md: ToonConverter<T> + Factory + example
- README.md: badges, features, quick start links
- ToonMvcBuilderExtensions: add <summary> for class and both methods
- samples: disable GenerateDocumentationFile (not packable)
- 512 tests pass (485 core + 27 SG), 1 skip (documented limitation)
- AOT demo builds clean, 0 errors, 0 warnings
@rabbitism rabbitism changed the title Feature/cleanup Cleanup Jul 18, 2026
rabbitism added 13 commits July 19, 2026 04:28
- ToonInputFormatter/ToonOutputFormatter: add <summary> XML comments
- All test projects: disable GenerateDocumentationFile
- 512 tests pass, 0 CS warnings
- 16 source files: Utf8ToonReader/Writer, ToonDocument/Element/Options,
  Nodes (ToonNode/Array/Object/Value), SG, Http, Config, Class1
- These APIs mirror System.Text.Json naming — self-documenting
- 512 tests pass, 0 CS1591 warnings in src/ projects
- Class1, ToonDocument, ToonElement, ToonDocumentOptions, ToonSerializer
- Nodes: ToonNode, ToonArray, ToonObject, ToonValue
- ToonSourceGenerator, ToonConfiguration*, ToonContent, ToonHttpClientExtensions
- 0 CS1591 warnings, 485 tests pass
- ToonValue: fix paramref name='default' (C# keyword)
- ToonTypeInfo: fully qualify IEnumerable/IDictionary cref
- ToonDocument: remove ambiguous cref='Parse'
- ToonSerializer: remove unresolvable JsonSerializer cref
- Add pragma disable to options/exceptions/enums/writer/reader/token types
- 0 XML warnings across all src projects, 485 tests pass
- ToonSerializer: replace broken cref see with simple comments
- ToonElement: remove misplaced XML comments
- ToonConfigurationProvider: fix ambiguous cref
- ToonHttpClientExtensions: add pragma disable
- 0 XML warnings across all src projects
…rovider/HttpExtensions

- Replace malformed <inheritdoc see <see cref=.../> with valid <inheritdoc />
- Remove stray // XML docs removed comments
- Fix ConfigurationProvider ambiguous cref
- Add pragma to HttpExtensions
- Actually verified against remote branch this time
- ToonSerializer/ToonElement: awk strips /// lines inside method bodies
  (Comments after { are invalid for XML doc — must be before signature)
- HttpExtensions: add pragma disable CS1591,CS1587
- ConfigProvider: fix cref ambiguity
- 0 XML warnings, 485 tests pass
- Delete all inline XML doc comments (method bodies + between sig/{)
- Add #pragma warning disable CS1591 at file top
- Class-level summary suffices — method docs in docs/api/
- 0 XML warnings across all src projects, 485 tests pass
- Add <inheritdoc/> to GetFromToonAsync overloads
- Fix wrongly-placed <inheritdoc/> on PutAsToonAsync
- Remove extra blank lines between comments and methods
- Consistent formatting with no CS1591/CS1587
- Options/: ToonDocumentOptions, ToonReaderOptions, ToonWriterOptions, ToonSerializerOptions
- Enums/: ToonReaderMode, ToonTokenType, ToonValueKind, ToonEnumFormat, ToonTabularArrayMode, ToonIgnoreCondition, ToonPropertyNamingPolicy
- Exceptions/: ToonException, ToonReaderException, ToonWriterException
- Internal/: ScopeFrame, WriterScopeFrame
- Serialization/: ToonSerializer (alongside existing engine/converters/metadata)
- Root: only core I/O (Utf8ToonReader/Writer) and DOM (ToonDocument/Element)
- 484 tests pass, 0 warnings
- Move ToonContent.cs + ToonHttpClientExtensions.cs → src/Irihi.Text.Toon/Http/
- Zero additional dependencies (System.Net.Http is framework-provided)
- Remove obsolete Http project from solution, tests, demo
- Matching System.Net.Http.Json pattern (built into System.Text.Json package)
- 484 tests pass
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
AspNetCoreWebDemo 47% 0% 21
Irihi.AspNetCore.Mvc.Toon 87% 50% 12
Irihi.Extensions.Configuration.Toon 98% 86% 28
Irihi.Text.Toon 87% 80% 2104
Summary 86% (2443 / 2829) 79% (1473 / 1855) 2165

@rabbitism
rabbitism merged commit 3d0e9eb into main Jul 18, 2026
2 checks passed
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