Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:15
ebb8a3a

The generated types now default to the project's RootNamespace. See the manual and the README.

Changes

  • Breaking: generated types default to RootNamespace. When GeneratedNamespace is not set, the types are generated in the project's RootNamespace. In 1.1.0 and earlier they were generated in the global namespace with the NuGet package, because the props file read RootNamespace before the project set it. Code that refers to the types from another namespace needs using <RootNamespace>;, or set GeneratedNamespace to keep a specific namespace. Projects that set GeneratedNamespace are unaffected.
  • Invalid characters in the default namespace are replaced. The SDK default RootNamespace is the project name, so a project named My-App gets the namespace My_App. An explicit GeneratedNamespace is used as written.
  • User manual. The documentation is now a manual with tutorials, how-to guides, reference and explanation pages.

Pull requests

  • docs: add user manual (Diátaxis) in #18
  • fix: default the generated namespace to RootNamespace in #19

Full Changelog: v1.1.0...v1.2.0