Comparing version 2.0.0-beta.12 to 2.0.0-beta.13
@@ -6,2 +6,33 @@ # Change Log | ||
<a name="2.0.0-beta.13"></a> | ||
# 2.0.0-beta.13 (2024-03-15) | ||
### Features: | ||
* **template-controller:** ability to have a container per factory (#1924) ([6727b56](https://github.com/aurelia/aurelia/commit/6727b56)) | ||
* **convention:** add import as support (#1920) ([7a15551](https://github.com/aurelia/aurelia/commit/7a15551)) | ||
* **di:** api to register resources with alias key ([7a15551](https://github.com/aurelia/aurelia/commit/7a15551)) | ||
### Bug Fixes: | ||
* **router-lite:** dont register config ([f71e9e7](https://github.com/aurelia/aurelia/commit/f71e9e7)) | ||
* ***:** element get own metadata call ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **di:** cache factory on singleton resolution ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
### Refactorings: | ||
* **event:** no longer call prevent default by default (#1926) ([f71e9e7](https://github.com/aurelia/aurelia/commit/f71e9e7)) | ||
* **runtime:** move ctor reg into controller ([7a15551](https://github.com/aurelia/aurelia/commit/7a15551)) | ||
* **resource:** cleanup registration, APIs (#1918) ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* ***:** cleanup util fn ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **resources:** move find to corresponding resource kind ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **di:** add registrable, remove unecessary infra for attr pattern ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **resources:** use registrable ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **di:** dont search for resources when register ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **resource:** remove resource protocol, simplify resource metadata ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **resources:** add get for vc & bb resource kinds ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
* **resource:** binding command resolution ([dc22fb7](https://github.com/aurelia/aurelia/commit/dc22fb7)) | ||
<a name="2.0.0-beta.12"></a> | ||
@@ -8,0 +39,0 @@ # 2.0.0-beta.12 (2024-03-02) |
import { IContainer } from '@aurelia/kernel'; | ||
import { Aurelia as $Aurelia, IPlatform, IAppRoot, CustomElementType, ICustomElementViewModel } from '@aurelia/runtime-html'; | ||
import { BrowserPlatform } from '@aurelia/platform-browser'; | ||
import type { ISinglePageApp, IEnhancementConfig } from '@aurelia/runtime-html'; | ||
import type { ISinglePageAppConfig, IEnhancementConfig } from '@aurelia/runtime-html'; | ||
export declare const PLATFORM: BrowserPlatform<typeof globalThis>; | ||
@@ -10,14 +10,13 @@ export { IPlatform }; | ||
static start(root: IAppRoot | undefined): void | Promise<void>; | ||
static app(config: ISinglePageApp<object> | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'>; | ||
static app(config: ISinglePageAppConfig<object> | 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: ISinglePageApp<object> | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'>; | ||
app(config: ISinglePageAppConfig<object> | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'>; | ||
} | ||
export default Aurelia; | ||
export { type IFetchInterceptor, IFetchFn, json, HttpClientConfiguration, HttpClient, IHttpClient, } from '@aurelia/fetch-client'; | ||
export { Metadata, } from '@aurelia/metadata'; | ||
export { type ITask, Platform, type QueueTaskOptions, Task, TaskAbortError, TaskQueue, type TaskStatus } from '@aurelia/platform'; | ||
export { all, DI, IContainer, inject, resolve, type IRegistration, type IRegistry, type IResolver, IServiceLocator, type Key, lazy, optional, Registration, singleton, transient, InstanceProvider, type Resolved, type Class, type Constructable, type ConstructableClass, type IDisposable, type IIndexable, type ColorOptions, ILogger, ConsoleSink, LoggerConfiguration, emptyArray, emptyObject, noop, LogLevel, EventAggregator, IEventAggregator, isArrayIndex, camelCase, kebabCase, pascalCase, toArray, bound, } from '@aurelia/kernel'; | ||
export { all, DI, IContainer, type IFactory, inject, resolve, type IRegistration, type IRegistry, type IResolver, IServiceLocator, type Key, lazy, factory, newInstanceOf, newInstanceForScope, optional, resource, allResources, ignore, Registration, singleton, transient, InstanceProvider, type Resolved, type Class, type Constructable, type ConstructableClass, type IDisposable, type IIndexable, type ColorOptions, ILogger, ConsoleSink, LoggerConfiguration, emptyArray, emptyObject, noop, LogLevel, EventAggregator, IEventAggregator, isArrayIndex, camelCase, kebabCase, pascalCase, toArray, bound, } from '@aurelia/kernel'; | ||
export { type CollectionKind, batch, ComputedObserver, IObserverLocator, ISignaler, subscriberCollection, type BindingBehaviorInstance, observable, type ValueConverterInstance, type IndexMap, } from '@aurelia/runtime'; | ||
export { customAttribute, CustomAttribute, templateController, containerless, customElement, CustomElement, capture, useShadowDOM, AppTask, BindingMode, bindable, type PartialBindableDefinition, Bindable, coercer, PartialChildrenDefinition, children, Controller, ViewFactory, IAppRoot, INode, IEventTarget, IRenderLocation, type ICustomAttributeViewModel, type ICustomElementViewModel, IFlushQueue, FlushQueue, IFlushable, renderer, IAurelia, NodeObserverLocator, IAuSlot, IAuSlotsInfo, AuSlotsInfo, IAuSlotWatcher, slotted, ChildrenBinding, ITemplateCompiler, ITemplateCompilerHooks, TemplateCompilerHooks, templateCompilerHooks, attributePattern, IAttributePattern, IAttrMapper, alias, registerAliases, bindingBehavior, BindingBehavior, valueConverter, ValueConverter, bindingCommand, type BindingCommandInstance, type IEnhancementConfig, type IHydratedParentController, ShortHandBindingSyntax, StyleConfiguration, type IShadowDOMConfiguration, cssModules, shadowCSS, processContent, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, watch, IKeyMapping, IModifiedEventHandlerCreator, IEventModifier, type IModifiedEventHandler, } from '@aurelia/runtime-html'; | ||
export { customAttribute, CustomAttribute, templateController, 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, ITemplateCompiler, ITemplateCompilerHooks, TemplateCompilerHooks, templateCompilerHooks, attributePattern, IAttributePattern, IAttrMapper, alias, registerAliases, bindingBehavior, BindingBehavior, valueConverter, ValueConverter, bindingCommand, type BindingCommandInstance, type IEnhancementConfig, type IHydratedParentController, ShortHandBindingSyntax, StyleConfiguration, type IShadowDOMConfiguration, cssModules, shadowCSS, processContent, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, watch, IKeyMapping, IModifiedEventHandlerCreator, IEventModifier, type IModifiedEventHandler, } from '@aurelia/runtime-html'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "aurelia", | ||
"version": "2.0.0-beta.12", | ||
"version": "2.0.0-beta.13", | ||
"main": "dist/cjs/index.cjs", | ||
@@ -55,9 +55,9 @@ "module": "dist/esm/index.mjs", | ||
"dependencies": { | ||
"@aurelia/fetch-client": "2.0.0-beta.12", | ||
"@aurelia/kernel": "2.0.0-beta.12", | ||
"@aurelia/metadata": "2.0.0-beta.12", | ||
"@aurelia/platform": "2.0.0-beta.12", | ||
"@aurelia/platform-browser": "2.0.0-beta.12", | ||
"@aurelia/runtime": "2.0.0-beta.12", | ||
"@aurelia/runtime-html": "2.0.0-beta.12" | ||
"@aurelia/fetch-client": "2.0.0-beta.13", | ||
"@aurelia/kernel": "2.0.0-beta.13", | ||
"@aurelia/metadata": "2.0.0-beta.13", | ||
"@aurelia/platform": "2.0.0-beta.13", | ||
"@aurelia/platform-browser": "2.0.0-beta.13", | ||
"@aurelia/runtime": "2.0.0-beta.13", | ||
"@aurelia/runtime-html": "2.0.0-beta.13" | ||
}, | ||
@@ -64,0 +64,0 @@ "devDependencies": { |
import { DI, IContainer, Registration } from '@aurelia/kernel'; | ||
import { StandardConfiguration, Aurelia as $Aurelia, IPlatform, IAppRoot, CustomElementType, CustomElement, ICustomElementViewModel } from '@aurelia/runtime-html'; | ||
import { BrowserPlatform } from '@aurelia/platform-browser'; | ||
import type { ISinglePageApp, IEnhancementConfig } from '@aurelia/runtime-html'; | ||
import type { ISinglePageAppConfig, IEnhancementConfig } from '@aurelia/runtime-html'; | ||
@@ -26,3 +26,3 @@ export const PLATFORM = BrowserPlatform.getOrCreate(globalThis); | ||
public static app(config: ISinglePageApp<object> | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'> { | ||
public static app(config: ISinglePageAppConfig<object> | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'> { | ||
return new Aurelia().app(config); | ||
@@ -39,3 +39,3 @@ } | ||
public app(config: ISinglePageApp<object> | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'> { | ||
public app(config: ISinglePageAppConfig<object> | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'> { | ||
if (CustomElement.isType(config)) { | ||
@@ -63,20 +63,2 @@ // Default to custom element element name | ||
export { | ||
type IFetchInterceptor, | ||
IFetchFn, | ||
// RetryConfiguration, | ||
// RetryableRequest, | ||
// ValidInterceptorMethodName, | ||
json, | ||
// retryStrategy, | ||
// RetryInterceptor, | ||
HttpClientConfiguration, | ||
HttpClient, | ||
IHttpClient, | ||
} from '@aurelia/fetch-client'; | ||
export { | ||
Metadata, | ||
@@ -103,4 +85,3 @@ // isNullOrUndefined, | ||
IContainer, | ||
// IDefaultableInterfaceSymbol, | ||
// IFactory, | ||
type IFactory, | ||
inject, | ||
@@ -114,6 +95,10 @@ resolve, | ||
lazy, | ||
factory, | ||
newInstanceOf, | ||
newInstanceForScope, | ||
optional, | ||
// RegisterSelf, | ||
resource, | ||
allResources, | ||
ignore, | ||
Registration, | ||
// ResolveCallback, | ||
singleton, | ||
@@ -411,3 +396,2 @@ transient, | ||
// IViewCache, | ||
// IViewFactory, | ||
// MountStrategy, | ||
@@ -504,3 +488,3 @@ | ||
PartialChildrenDefinition, | ||
type PartialChildrenDefinition, | ||
// Children, | ||
@@ -520,3 +504,3 @@ children, | ||
// IDOMInitializer, | ||
// ISinglePageApp, | ||
type ISinglePageAppConfig, | ||
IAppRoot, | ||
@@ -557,3 +541,2 @@ | ||
// IInstructionRow, | ||
// InstructionTypeName, | ||
// IPropertyBindingInstruction, | ||
@@ -579,6 +562,6 @@ // IRefBindingInstruction, | ||
type ICustomElementViewModel, | ||
// IController, | ||
IController, | ||
// IContainer, | ||
// IViewCache, | ||
// IViewFactory, | ||
IViewFactory, | ||
// MountStrategy, | ||
@@ -597,3 +580,3 @@ | ||
FlushQueue, | ||
IFlushable, | ||
type IFlushable, | ||
@@ -681,3 +664,3 @@ renderer, | ||
// Compose, | ||
IAuSlot, | ||
type IAuSlot, | ||
IAuSlotsInfo, | ||
@@ -698,3 +681,2 @@ AuSlotsInfo, | ||
// IRenderer, | ||
// IInstructionTypeClassifier, | ||
// IRenderingEngine, | ||
@@ -701,0 +683,0 @@ // ITemplate, |
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
Sorry, the diff of this file is not supported yet
82790
1218
+ Added@aurelia/fetch-client@2.0.0-beta.13(transitive)
+ Added@aurelia/kernel@2.0.0-beta.13(transitive)
+ Added@aurelia/metadata@2.0.0-beta.13(transitive)
+ Added@aurelia/platform@2.0.0-beta.13(transitive)
+ Added@aurelia/platform-browser@2.0.0-beta.13(transitive)
+ Added@aurelia/runtime@2.0.0-beta.13(transitive)
+ Added@aurelia/runtime-html@2.0.0-beta.13(transitive)
- Removed@aurelia/fetch-client@2.0.0-beta.12(transitive)
- Removed@aurelia/kernel@2.0.0-beta.12(transitive)
- Removed@aurelia/metadata@2.0.0-beta.12(transitive)
- Removed@aurelia/platform@2.0.0-beta.12(transitive)
- Removed@aurelia/platform-browser@2.0.0-beta.12(transitive)
- Removed@aurelia/runtime@2.0.0-beta.12(transitive)
- Removed@aurelia/runtime-html@2.0.0-beta.12(transitive)