Releases: alloy-framework/alloy
alloy@0.18.0
@alloy-js/core
Bug Fixes
- #182 Added a
@alloy-js/core/testing/matchersexport to be added totsconfig.jsontypesin order to load the custom vitest matchers
Features
- #198 Add
inlineoption 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
asyncclass methods - #193 Add support for class modifiers
abstract,partial,sealedandstatic - #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
initproperties - #215 Add support for
recordwith<RecordDeclaration>component - #222 Support for type parameters for interface, class methods, interface methods
Breaking Changes
- #192 Rename
Class->ClassDeclarationandEnum->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.
alloy@0.17.0
@alloy-js/core
Features
- #157 Add tracing for symbols. Tracing can be enabled by setting ALLOY_TRACE environment variable to a comma-separated list of symbol, scope, and/or resolve.
- #157 Symbols and member scopes now support copy and move operations. These are used in combination with instantiate to model such things as instantiating and applying types to variables.
- #157 New symbol flag Transient which is a symbol that is merely a placeholder. For example, symbols created by expressions are generally transient, and their useful parts are copied into a declaration symbol when appropriate.
- #157 Symbols can now be aliased. Alias symbols will look up to their alias target when accessing things like instance or static members.
Breaking Changes
- #157 Refactor symbols to drastically simplify and optimize their usage. Symbols and scopes are now classes, and languages subclass these to add additional behaviors. Many binder APIs which operated on scopes or symbols are now methods on scopes or symbols.
- #157 New takeSymbol/emitSymbol APIs added for passing symbols up the render tree to components which accept them. This is a generalization of the pattern in AssignmentTargetContext, so that context has been deleted.
@alloy-js/java
No changes, version bump only.
@alloy-js/json
No changes, version bump only.
@alloy-js/csharp
No changes, version bump only.
@alloy-js/typescript
Bug Fixes
- #163 Add
indexproperty toMemberExpression.Partto allow defining array indexes and treat numericidprops as array indexes.
Features
- #153 Add support to createPackage for defining instance and static members.
- #157 Variables will now get instance/static symbols based on the type prop or the children. This allows accessing members off of variable declarations when they are typed as a class or interface or assigned an object expression.
- #157 Add new
NewExpressioncomponent which will emit a symbol containing the instantiation of the given class reference.
@alloy-js/create
No changes, version bump only.
@alloy-js/markdown
No changes, version bump only.
alloy@0.16.0
@alloy-js/core
Features
- #150 Export
isRefandisReactiveutility functions. - #150 Fully resolve refkeys given to the first part of a MemberExpression.
@alloy-js/java
No changes, version bump only.
@alloy-js/json
No changes, version bump only.
@alloy-js/csharp
No changes, version bump only.
@alloy-js/typescript
Features
- #150 Allow providing explicit children to a MemberExpression.Part.
- #150 Format member expressions with multiple calls in a much better way.
Breaking Changes
- #150 Remove
MemberChainExpressioncomponent. UseMemberExpressioncomponent instead, which accomplishes the same goals but formats better, handles optional chaining, and more.
@alloy-js/create
No changes, version bump only.
@alloy-js/markdown
Features
alloy@0.15.0
@alloy-js/core
No changes, version bump only.
@alloy-js/java
No changes, version bump only.
@alloy-js/json
No changes, version bump only.
@alloy-js/csharp
No changes, version bump only.
@alloy-js/typescript
Features
- #146 Add support for rest parameters in function components
- #146 Add support for object spread properties
- #145 Sort import statements and named imports
@alloy-js/create
No changes, version bump only.
@alloy-js/markdown
No changes, version bump only.
@alloy-js/markdown@0.15.1
Missing exports for markdown (#148)
alloy@0.14.0
@alloy-js/core
No changes, version bump only.
@alloy-js/java
No changes, version bump only.
@alloy-js/json
No changes, version bump only.
@alloy-js/csharp
No changes, version bump only.
@alloy-js/typescript
Bug Fixes
@alloy-js/create
No changes, version bump only.
alloy@0.13.0
@alloy-js/core
Bug Fixes
- #137 Fix default symbol conflict resolver not working with more than 2 symbols.
@alloy-js/java
No changes, version bump only.
@alloy-js/json
No changes, version bump only.
@alloy-js/csharp
No changes, version bump only.
@alloy-js/typescript
No changes, version bump only.
@alloy-js/create
No changes, version bump only.
alloy@0.12.0
@alloy-js/core
Bug Fixes
- #134 Support readonly collection in
<For>eachprop.
Features
- #114 instantiateSymbolInto now mirrors both instance and static members (including nested static hierarchies), and no longer errors on static-only sources.
Breaking Changes
- #127 Use a scheduler for effects. Effects are no longer run instantly but are queued to run after the current effect finishes. This significantly reduces effect calls due to coalescing multiple updates and also enables more recursive patterns.
@alloy-js/java
No changes, version bump only.
@alloy-js/json
No changes, version bump only.
@alloy-js/csharp
No changes, version bump only.
@alloy-js/typescript
Bug Fixes
- #121 JS Doc comment close with
*/instead of**/
Features
- #117 Add nullish to TS Symbol flags
- #125 Automatically enter a type context when inside of interface, function type, type declaration, etc. This allow referenced used in there to automatically add the
typekeyword in the import - #124 Add
typeprop onReferencecomponent to mark this reference as a type only reference allowing imports to be specialized in type import
@alloy-js/create
No changes, version bump only.
@alloy-js/create@0.11.2
Make create version inference more robust
@alloy-js/create@0.11.1
Fix create (#123)