Comparing version 2.0.0-beta.21 to 2.0.0-beta.22
@@ -6,2 +6,14 @@ # Change Log | ||
<a name="2.0.0-beta.22"></a> | ||
# 2.0.0-beta.22 (2024-09-30) | ||
### Features: | ||
* **observation:** ability to watch an expression (#2059) ([6cd6b8d](https://github.com/aurelia/aurelia/commit/6cd6b8d)) | ||
### Refactorings: | ||
* **ast:** separate & allow binding behavior and value converter evaluation to be optional (#2058) ([7d7e21b](https://github.com/aurelia/aurelia/commit/7d7e21b)) | ||
<a name="2.0.0-beta.21"></a> | ||
@@ -8,0 +20,0 @@ # 2.0.0-beta.21 (2024-08-08) |
@@ -9,6 +9,6 @@ import { IContainer } from '@aurelia/kernel'; | ||
constructor(container?: IContainer); | ||
static app(config: ISinglePageAppConfig<object> | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'>; | ||
static app(config: ISinglePageAppConfig | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'>; | ||
static enhance<T extends ICustomElementViewModel>(config: IEnhancementConfig<T>): ReturnType<$Aurelia['enhance']>; | ||
static register(...params: readonly unknown[]): Aurelia; | ||
app(config: ISinglePageAppConfig<object> | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'>; | ||
app(config: ISinglePageAppConfig | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'>; | ||
} | ||
@@ -19,5 +19,5 @@ export default Aurelia; | ||
export { IExpressionParser, CustomExpression, } from '@aurelia/expression-parser'; | ||
export { type CollectionKind, batch, ComputedObserver, IObserverLocator, subscriberCollection, observable, type IndexMap, } from '@aurelia/runtime'; | ||
export { type CollectionKind, batch, ComputedObserver, IObservation, IObserverLocator, subscriberCollection, observable, type IndexMap, Scope, } from '@aurelia/runtime'; | ||
export { attributePattern, AttributePattern, IAttrMapper, IAttributeParser, IAttributePattern, bindingCommand, BindingCommand, type BindingCommandInstance, ITemplateCompiler, ITemplateElementFactory, ITemplateCompilerHooks, TemplateCompilerHooks, templateCompilerHooks, type BindingCommandStaticAuDefinition, } from '@aurelia/template-compiler'; | ||
export { type BindingBehaviorInstance, type ValueConverterInstance, customAttribute, CustomAttribute, templateController, IRepeatableHandlerResolver, IRepeatableHandler, ArrayLikeHandler, containerless, customElement, CustomElement, capture, useShadowDOM, AppTask, BindingMode, bindable, type PartialBindableDefinition, Bindable, coercer, type PartialChildrenDefinition, children, Controller, ViewFactory, type ISinglePageAppConfig, IAppRoot, INode, IEventTarget, IRenderLocation, type ICustomAttributeViewModel, type ICustomElementViewModel, IController, IViewFactory, IFlushQueue, FlushQueue, type IFlushable, renderer, IAurelia, NodeObserverLocator, type IAuSlot, IAuSlotsInfo, AuSlotsInfo, IAuSlotWatcher, slotted, ChildrenBinding, RuntimeTemplateCompilerImplementation, alias, registerAliases, bindingBehavior, BindingBehavior, valueConverter, ValueConverter, type IEnhancementConfig, type IHydratedParentController, ShortHandBindingSyntax, StyleConfiguration, type IShadowDOMConfiguration, cssModules, shadowCSS, processContent, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, watch, IKeyMapping, IModifiedEventHandlerCreator, IEventModifier, type IModifiedEventHandler, Scope, ISignaler, IWindow, IHistory, } from '@aurelia/runtime-html'; | ||
export { type BindingBehaviorInstance, type ValueConverterInstance, customAttribute, CustomAttribute, templateController, IRepeatableHandlerResolver, IRepeatableHandler, ArrayLikeHandler, containerless, customElement, CustomElement, capture, useShadowDOM, AppTask, BindingMode, bindable, type PartialBindableDefinition, Bindable, coercer, type PartialChildrenDefinition, children, Controller, ViewFactory, type ISinglePageAppConfig, IAppRoot, INode, IEventTarget, IRenderLocation, type ICustomAttributeViewModel, type ICustomElementViewModel, IController, IViewFactory, IFlushQueue, FlushQueue, type IFlushable, renderer, IAurelia, NodeObserverLocator, type IAuSlot, IAuSlotsInfo, AuSlotsInfo, IAuSlotWatcher, slotted, ChildrenBinding, RuntimeTemplateCompilerImplementation, alias, registerAliases, bindingBehavior, BindingBehavior, valueConverter, ValueConverter, type IEnhancementConfig, type IHydratedParentController, ShortHandBindingSyntax, StyleConfiguration, type IShadowDOMConfiguration, cssModules, shadowCSS, processContent, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, watch, IKeyMapping, IModifiedEventHandlerCreator, IEventModifier, type IModifiedEventHandler, ISignaler, IWindow, IHistory, } from '@aurelia/runtime-html'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "aurelia", | ||
"version": "2.0.0-beta.21", | ||
"version": "2.0.0-beta.22", | ||
"main": "dist/cjs/index.cjs", | ||
@@ -56,11 +56,11 @@ "module": "dist/esm/index.mjs", | ||
"dependencies": { | ||
"@aurelia/fetch-client": "2.0.0-beta.21", | ||
"@aurelia/kernel": "2.0.0-beta.21", | ||
"@aurelia/metadata": "2.0.0-beta.21", | ||
"@aurelia/expression-parser": "2.0.0-beta.21", | ||
"@aurelia/platform": "2.0.0-beta.21", | ||
"@aurelia/platform-browser": "2.0.0-beta.21", | ||
"@aurelia/runtime": "2.0.0-beta.21", | ||
"@aurelia/template-compiler": "2.0.0-beta.21", | ||
"@aurelia/runtime-html": "2.0.0-beta.21" | ||
"@aurelia/fetch-client": "2.0.0-beta.22", | ||
"@aurelia/kernel": "2.0.0-beta.22", | ||
"@aurelia/metadata": "2.0.0-beta.22", | ||
"@aurelia/expression-parser": "2.0.0-beta.22", | ||
"@aurelia/platform": "2.0.0-beta.22", | ||
"@aurelia/platform-browser": "2.0.0-beta.22", | ||
"@aurelia/runtime": "2.0.0-beta.22", | ||
"@aurelia/template-compiler": "2.0.0-beta.22", | ||
"@aurelia/runtime-html": "2.0.0-beta.22" | ||
}, | ||
@@ -67,0 +67,0 @@ "devDependencies": { |
@@ -22,3 +22,3 @@ import { DI, IContainer, Registration } from '@aurelia/kernel'; | ||
public static app(config: ISinglePageAppConfig<object> | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'> { | ||
public static app(config: ISinglePageAppConfig | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'> { | ||
return new Aurelia().app(config); | ||
@@ -35,3 +35,3 @@ } | ||
public app(config: ISinglePageAppConfig<object> | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'> { | ||
public app(config: ISinglePageAppConfig | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'> { | ||
if (CustomElement.isType(config)) { | ||
@@ -239,2 +239,3 @@ // Default to custom element element name | ||
IObservation, | ||
// IObjectObservationAdapter, | ||
@@ -302,2 +303,3 @@ IObserverLocator, | ||
type IndexMap, | ||
Scope, | ||
@@ -675,3 +677,2 @@ } from '@aurelia/runtime'; | ||
Scope, | ||
ISignaler, | ||
@@ -678,0 +679,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
84244
20
1099
+ Added@aurelia/expression-parser@2.0.0-beta.22(transitive)
+ Added@aurelia/fetch-client@2.0.0-beta.22(transitive)
+ Added@aurelia/kernel@2.0.0-beta.22(transitive)
+ Added@aurelia/metadata@2.0.0-beta.22(transitive)
+ Added@aurelia/platform@2.0.0-beta.22(transitive)
+ Added@aurelia/platform-browser@2.0.0-beta.22(transitive)
+ Added@aurelia/runtime@2.0.0-beta.22(transitive)
+ Added@aurelia/runtime-html@2.0.0-beta.22(transitive)
+ Added@aurelia/template-compiler@2.0.0-beta.22(transitive)
- Removed@aurelia/expression-parser@2.0.0-beta.21(transitive)
- Removed@aurelia/fetch-client@2.0.0-beta.21(transitive)
- Removed@aurelia/kernel@2.0.0-beta.21(transitive)
- Removed@aurelia/metadata@2.0.0-beta.21(transitive)
- Removed@aurelia/platform@2.0.0-beta.21(transitive)
- Removed@aurelia/platform-browser@2.0.0-beta.21(transitive)
- Removed@aurelia/runtime@2.0.0-beta.21(transitive)
- Removed@aurelia/runtime-html@2.0.0-beta.21(transitive)
- Removed@aurelia/template-compiler@2.0.0-beta.21(transitive)