Skip to content

alloy@0.18.0

Choose a tag to compare

@github-actions github-actions released this 30 Jun 20:58
· 86 commits to main since this release
dda683d

@alloy-js/core

Bug Fixes

  • #182 Added a @alloy-js/core/testing/matchers export to be added to tsconfig.json types in order to load the custom vitest matchers

Features

  • #198 Add inline option for <Block> component to define inline blocks

@alloy-js/java

No changes, version bump only.

@alloy-js/json

No changes, version bump only.

@alloy-js/csharp

Bug Fixes

  • #205 Add doc support to class members
  • #182 Fix abstract class method rendering with a body {}
  • #201 Add support for csharp doc comments with various <Doc*> components

Features

  • #228 Add <Attribute /> and <AttributeList /> components to support c# attributes
  • #212 Add support for class base type(s)
  • #182 Add support for async class methods
  • #193 Add support for class modifiers abstract, partial, sealed and static
  • #209 Add <ClassProperty /> component
  • #227 CSharp SourceFile use 120 lines split by default
  • #191 Access and method modifiers have been converted to flags <Class public /> instead of <Class accessModifier="public" />
  • #220 Add <VarDeclaration /> component to render variables
  • #198 Add <InterfaceDeclaration />, <InterfaceMethod /> and <InterfaceProperty /> components
  • #213 Add support for optional parameters
  • #202 Add <DocFromMarkdown> component allowing conversion from markdown to csharp doc comment syntax
  • #225 Parameter improved formatting when using multi lines
  • #216 Add support for init properties
  • #215 Add support for record with <RecordDeclaration> component
  • #222 Support for type parameters for interface, class methods, interface methods

Breaking Changes

  • #192 Rename Class -> ClassDeclaration and Enum -> EnumDeclaration

@alloy-js/typescript

Bug Fixes

  • #208 Fix FunctionParameters component adds an extra comma when no params and function name is long
  • #176 Fix referencing object expression properties when naming policy is used

@alloy-js/create

No changes, version bump only.

@alloy-js/markdown

No changes, version bump only.