Comparing version 2.1.0-dev.202307101053 to 2.1.0-dev.202401061915
@@ -6,2 +6,23 @@ # Change Log | ||
<a name="2.0.0-beta.9"></a> | ||
# 2.0.0-beta.9 (2023-12-12) | ||
### Bug Fixes: | ||
* **repeater:** duplicate primitive handling, batched mutation fix (#1840) ([703d275](https://github.com/aurelia/aurelia/commit/703d275)) | ||
* **repeat:** fix sort+splice batched operation bug ([703d275](https://github.com/aurelia/aurelia/commit/703d275)) | ||
### Refactorings: | ||
* **templating:** remove strict binding option from CE (#1807) ([7b4455f](https://github.com/aurelia/aurelia/commit/7b4455f)) | ||
* **tests:** move all under src folder ([7b4455f](https://github.com/aurelia/aurelia/commit/7b4455f)) | ||
<a name="2.0.0-beta.8"></a> | ||
# 2.0.0-beta.8 (2023-07-24) | ||
### Refactorings: | ||
* **ref:** deprecate view-model.ref and introduce component.ref (#1803) ([97e8dad](https://github.com/aurelia/aurelia/commit/97e8dad)) | ||
<a name="2.0.0-beta.7"></a> | ||
@@ -8,0 +29,0 @@ # 2.0.0-beta.7 (2023-06-16) |
import { IContainer } from '@aurelia/kernel'; | ||
import { Aurelia as $Aurelia, IPlatform, IAppRoot, IHydratedParentController, ICustomElementViewModel } from '@aurelia/runtime-html'; | ||
import { Aurelia as $Aurelia, IPlatform, IAppRoot, CustomElementType, IHydratedParentController, ICustomElementViewModel } from '@aurelia/runtime-html'; | ||
import { BrowserPlatform } from '@aurelia/platform-browser'; | ||
@@ -10,6 +10,6 @@ import type { ISinglePageApp, IEnhancementConfig } from '@aurelia/runtime-html'; | ||
static start(root: IAppRoot | undefined): void | Promise<void>; | ||
static app(config: ISinglePageApp | unknown): Omit<Aurelia, 'register' | 'app' | 'enhance'>; | ||
static app(config: ISinglePageApp | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'>; | ||
static enhance<T extends ICustomElementViewModel>(config: IEnhancementConfig<T>, parentController?: IHydratedParentController): ReturnType<$Aurelia['enhance']>; | ||
static register(...params: readonly unknown[]): Aurelia; | ||
app(config: ISinglePageApp | unknown): Omit<this, 'register' | 'app' | 'enhance'>; | ||
app(config: ISinglePageApp | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'>; | ||
} | ||
@@ -22,3 +22,3 @@ export default Aurelia; | ||
export { CollectionKind, batch, ComputedObserver, IObserverLocator, ISignaler, subscriberCollection, type BindingBehaviorInstance, observable, type ValueConverterInstance, type IndexMap, } from '@aurelia/runtime'; | ||
export { customAttribute, CustomAttribute, templateController, containerless, customElement, CustomElement, strict, 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, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, } from '@aurelia/runtime-html'; | ||
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, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, } from '@aurelia/runtime-html'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "aurelia", | ||
"version": "2.1.0-dev.202307101053", | ||
"version": "2.1.0-dev.202401061915", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.mjs", | ||
"exports": { | ||
"types": "./dist/types/index.d.ts", | ||
"require": "./dist/cjs/index.cjs", | ||
"import": "./dist/esm/index.mjs", | ||
"development": "./dist/esm/index.dev.mjs" | ||
".": { | ||
"types": "./dist/types/index.d.ts", | ||
"require": "./dist/cjs/index.cjs", | ||
"import": "./dist/esm/index.mjs", | ||
"development": "./dist/esm/index.dev.mjs" | ||
}, | ||
"./development": { | ||
"types": "./dist/types/index.d.ts", | ||
"require": "./dist/cjs/index.dev.cjs", | ||
"import": "./dist/esm/index.dev.mjs" | ||
} | ||
}, | ||
@@ -26,7 +33,3 @@ "types": "dist/types/index.d.ts", | ||
"files": [ | ||
"dist/**/*.cjs", | ||
"dist/**/*.dev.cjs.map", | ||
"dist/**/*.mjs", | ||
"dist/**/*.dev.mjs.map", | ||
"dist/**/*.d.ts", | ||
"dist", | ||
"src/**/*.ts", | ||
@@ -40,3 +43,3 @@ "README.md", | ||
"lint": "eslint --cache --ext .js,.ts src/", | ||
"lint:ci": "eslint --cache --ext .js,.ts --quiet --report-unused-disable-directives src/", | ||
"lint:ci": "eslint --ext .js,.ts --quiet --report-unused-disable-directives src/", | ||
"build": "rollup -c", | ||
@@ -54,12 +57,12 @@ "dev": "rollup -c -w", | ||
"dependencies": { | ||
"@aurelia/fetch-client": "2.1.0-dev.202307101053", | ||
"@aurelia/kernel": "2.1.0-dev.202307101053", | ||
"@aurelia/metadata": "2.1.0-dev.202307101053", | ||
"@aurelia/platform": "2.1.0-dev.202307101053", | ||
"@aurelia/platform-browser": "2.1.0-dev.202307101053", | ||
"@aurelia/runtime": "2.1.0-dev.202307101053", | ||
"@aurelia/runtime-html": "2.1.0-dev.202307101053" | ||
"@aurelia/fetch-client": "2.1.0-dev.202401061915", | ||
"@aurelia/kernel": "2.1.0-dev.202401061915", | ||
"@aurelia/metadata": "2.1.0-dev.202401061915", | ||
"@aurelia/platform": "2.1.0-dev.202401061915", | ||
"@aurelia/platform-browser": "2.1.0-dev.202401061915", | ||
"@aurelia/runtime": "2.1.0-dev.202401061915", | ||
"@aurelia/runtime-html": "2.1.0-dev.202401061915" | ||
}, | ||
"devDependencies": { | ||
"typescript": "5.0.2" | ||
"typescript": "5.2.2" | ||
}, | ||
@@ -66,0 +69,0 @@ "engines": { |
@@ -26,3 +26,3 @@ import { DI, IContainer, Registration } from '@aurelia/kernel'; | ||
public static app(config: ISinglePageApp | unknown): Omit<Aurelia, 'register' | 'app' | 'enhance'> { | ||
public static app(config: ISinglePageApp | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'> { | ||
return new Aurelia().app(config); | ||
@@ -39,6 +39,6 @@ } | ||
public app(config: ISinglePageApp | unknown): Omit<this, 'register' | 'app' | 'enhance'> { | ||
if (CustomElement.isType(config as CustomElementType)) { | ||
public app(config: ISinglePageApp | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'> { | ||
if (CustomElement.isType(config)) { | ||
// Default to custom element element name | ||
const definition = CustomElement.getDefinition(config as CustomElementType); | ||
const definition = CustomElement.getDefinition(config); | ||
let host = document.querySelector(definition.name); | ||
@@ -52,7 +52,7 @@ if (host === null) { | ||
host: host as HTMLElement, | ||
component: config as CustomElementType | ||
component: config | ||
}); | ||
} | ||
return super.app(config as ISinglePageApp); | ||
return super.app(config); | ||
} | ||
@@ -312,4 +312,2 @@ } | ||
// disableArrayObservation, | ||
// applyMutationsToIndices, | ||
// synchronizeIndices, | ||
@@ -477,3 +475,2 @@ // MapObserver, | ||
CustomElement, | ||
strict, | ||
capture, | ||
@@ -480,0 +477,0 @@ // CustomElementDecorator, |
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
79706
17
1219
+ Added@aurelia/fetch-client@2.1.0-dev.202401061915(transitive)
+ Added@aurelia/kernel@2.1.0-dev.202401061915(transitive)
+ Added@aurelia/metadata@2.1.0-dev.202401061915(transitive)
+ Added@aurelia/platform@2.1.0-dev.202401061915(transitive)
+ Added@aurelia/platform-browser@2.1.0-dev.202401061915(transitive)
+ Added@aurelia/runtime@2.1.0-dev.202401061915(transitive)
+ Added@aurelia/runtime-html@2.1.0-dev.202401061915(transitive)
- Removed@aurelia/fetch-client@2.1.0-dev.202307101053(transitive)
- Removed@aurelia/kernel@2.1.0-dev.202307101053(transitive)
- Removed@aurelia/metadata@2.1.0-dev.202307101053(transitive)
- Removed@aurelia/platform@2.1.0-dev.202307101053(transitive)
- Removed@aurelia/platform-browser@2.1.0-dev.202307101053(transitive)
- Removed@aurelia/runtime@2.1.0-dev.202307101053(transitive)
- Removed@aurelia/runtime-html@2.1.0-dev.202307101053(transitive)