Skip to content

Commit d6ca263

Browse files
committed
Release v1.15.0
1 parent fdf6b25 commit d6ca263

File tree

5 files changed

+58
-2
lines changed

5 files changed

+58
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.15.0-develop.11
1+
1.15.0

custom_components/climate_scheduler/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"requirements": [
1717

1818
],
19-
"version": "1.15.0-develop.11"
19+
"version": "1.15.0"
2020
}

tools/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
Pre-release (`develop`) entries for this release are archived in `tools/CHANGELOG-DEV.md`.
66

7+
### Breaking Change for Profile Automations!
8+
- Profiles have moved from Schedule level to global, existing profiles will be migrated and renamed.
9+
- If your "Upstairs" schedule had Home and Away profiles they will be "Upstairs - Home" and "Upstairs - Away" for example
10+
- If you have automations that use profile names you will need to update them!
11+
12+
### Highlights
13+
- New Timeline system provides support for mobile devices, more work needs doing to improve the experience however, feedback and bug reports welcome
14+
- Profiles have moved from Schedule level to global
15+
716
### Added
817
- **Timeline-Based Editor**: Introduced a new timeline UI system across main schedule, default schedule, and profile editing flows
918
- Keyframe timeline component with drag/edit interactions

tools/deploy-to-production.ps1

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,29 @@ Write-Host ""
1313

1414
# Build TypeScript first
1515
Write-Host "Building TypeScript files..." -ForegroundColor Yellow
16+
$repoRoot = Split-Path $PSScriptRoot -Parent
17+
$npmCmd = Get-Command npm -ErrorAction SilentlyContinue
18+
if (-not $npmCmd) {
19+
Write-Host "ERROR: npm is not available in PATH. Install Node.js and retry." -ForegroundColor Red
20+
exit 1
21+
}
22+
23+
$rollupBin = Join-Path $repoRoot "node_modules\.bin\rollup.cmd"
24+
if (-not (Test-Path $rollupBin)) {
25+
Write-Host "Local Rollup binary not found. Installing project dependencies..." -ForegroundColor Yellow
26+
if (Test-Path (Join-Path $repoRoot "package-lock.json")) {
27+
npm ci
28+
}
29+
else {
30+
npm install
31+
}
32+
33+
if ($LASTEXITCODE -ne 0) {
34+
Write-Host "ERROR: Failed to install npm dependencies required for frontend build" -ForegroundColor Red
35+
exit 1
36+
}
37+
}
38+
1639
npm run build
1740
if ($LASTEXITCODE -ne 0) {
1841
Write-Host "ERROR: Build failed!" -ForegroundColor Red

tools/release.ps1

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,29 @@ else {
726726
# Build TypeScript files
727727
Write-Host "`n$(if ($DryRun) { '[DRY RUN] Would build' } else { 'Building' }) TypeScript files..." -ForegroundColor Yellow
728728
if (-not $DryRun) {
729+
$repoRoot = Split-Path $PSScriptRoot -Parent
730+
$npmCmd = Get-Command npm -ErrorAction SilentlyContinue
731+
if (-not $npmCmd) {
732+
Write-Error "npm is not available in PATH. Install Node.js (which includes npm) and retry."
733+
exit 1
734+
}
735+
736+
$rollupBin = Join-Path $repoRoot "node_modules\.bin\rollup.cmd"
737+
if (-not (Test-Path $rollupBin)) {
738+
Write-Host "Local Rollup binary not found. Installing project dependencies..." -ForegroundColor Yellow
739+
if (Test-Path (Join-Path $repoRoot "package-lock.json")) {
740+
npm ci
741+
}
742+
else {
743+
npm install
744+
}
745+
746+
if ($LASTEXITCODE -ne 0) {
747+
Write-Error "Failed to install npm dependencies required for frontend build"
748+
exit 1
749+
}
750+
}
751+
729752
npm run build
730753
if ($LASTEXITCODE -ne 0) {
731754
Write-Error "Failed to build TypeScript files"
@@ -734,6 +757,7 @@ if (-not $DryRun) {
734757
Write-Host "Build complete" -ForegroundColor Green
735758
}
736759
else {
760+
Write-Host "Would verify npm is available and install dependencies if needed" -ForegroundColor Cyan
737761
Write-Host "Would run: npm run build" -ForegroundColor Cyan
738762
}
739763

0 commit comments

Comments
 (0)