Skip to content

Commit

Permalink
Bump versio to v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed Oct 15, 2022
1 parent 83d3307 commit 83ee648
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 21 deletions.
23 changes: 6 additions & 17 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ From Line 92:

# 2.3.0

# TODO Add wiki links.

- (Optional) Change wind speed unit from beaufort to km/h, mph, m/s or knots in windrose. [GH-51]
- Added (optional) Yesterdays page. [GH-52]
- (Optional) Show date/time when the min / max was reached on the index, yesterday, week and month page. [GH-53]
Expand All @@ -304,7 +302,7 @@ From Line 92:

## Changes made to skin.conf since 2.2.1:

1. Line 45, Custom min/max date/time display, see [GH-53].
1. Line 71, Custom min/max date/time display, see [GH-53].

```diff
diagram_tile_winddir_ordinal = True
Expand All @@ -315,7 +313,7 @@ diagram_tile_winddir_ordinal = True
windRose_colors = "#f3cec9", "#e7a4b6", "#cd7eaf", "#a262a9", "#6f4d96", "#3d3b72"
```

2. Line 52, custom data tables aggregate_interval, see [GH-55]
2. Line 78, custom data tables aggregate_interval, see [GH-55]

```diff
+[[tables]]
Expand Down Expand Up @@ -362,7 +360,7 @@ windRose_colors = "#f3cec9", "#e7a4b6", "#cd7eaf", "#a262a9", "#6f4d96", "#3d3b7
yScaleOffset = 0.02
```

4. Line 172, added context specific `aggregate_interval` for diagrams [GH-55]
4. Line 196, added context specific `aggregate_interval` for diagrams [GH-55]

```diff
+# Context specific settings, alltime: if not set, will be calculated.
Expand Down Expand Up @@ -395,18 +393,9 @@ windRose_colors = "#f3cec9", "#e7a4b6", "#cd7eaf", "#a262a9", "#6f4d96", "#3d3b7
+ aggregate_interval = 1555200 # 8 days
```

5. Added yesterday Search List Extension [GH-52]

Line 218:

```diff
[CheetahGenerator]
encoding = html_entities
search_list_extensions = user.weewx_wdc.WdcGeneralUtil, user.weewx_wdc.WdcStatsUtil, user.weewx_wdc.WdcDiagramUtil, user.weewx_wdc.WdcCelestialUtil, user.weewx_wdc.WdcArchiveUtil, user.weewx_wdc.WdcTableUtil,
+ user.weewx_wdc.Yesterday
```
5. Added yesterday page [GH-52]

Line 246:
Line 270:

```diff
[[ToDate]]
Expand All @@ -420,7 +409,7 @@ Line 246:
template = week.html.tmpl
```

6. Added support for [weewx-DWD](https://github.com/roe-dl/weewx-DWD) [GH-25]
1. Added support for [weewx-DWD](https://github.com/roe-dl/weewx-DWD) [GH-25]

Line 39:

Expand Down
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def loader():
class BasicInstaller(ExtensionInstaller):
def __init__(self):
super(BasicInstaller, self).__init__(
version="2.2.1",
version="2.3.0",
name="weewx-wdc",
description="Weather Data Center skin for weewx.",
author="David Baetge",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weewx-wdc",
"version": "2.2.1",
"version": "2.3.0",
"description": "Weather Data Center skin for weewx.",
"author": "David Baetge <[email protected]>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ If you like the look and feel of the skin please consider having a look at the o
1. Download the [latest version](https://github.com/Daveiano/weewx-wdc/releases)

```
wget -O "/tmp/weewx-wdc.zip" https://github.com/Daveiano/weewx-wdc/releases/download/v2.2.1/weewx-wdc-v2.2.1.zip
wget -O "/tmp/weewx-wdc.zip" https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.0/weewx-wdc-v2.3.0.zip
```

2. Create a new folder and unzip to that folder
Expand All @@ -89,7 +89,7 @@ unzip /tmp/weewx-wdc.zip -d /tmp/weewx-wdc/

For help, please have a look at the [official weewx documentation](https://weewx.com/docs/utilities.htm#wee_extension_utility).

**Please note:** For installation, please use the generated zip archive from a release, eg. https://github.com/Daveiano/weewx-wdc/releases/download/v2.2.1/weewx-wdc-v2.2.1.zip.
**Please note:** For installation, please use the generated zip archive from a release, eg. https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.0/weewx-wdc-v2.3.0.zip.
Don't download the repository directly and don't use the GitHub generated zip and tar.gz archives that come alongside the release. Always use the zip archive named **weewx-wdc-vX.X.X.zip**

Background: The files in the src/ directory are the source files (TypeScript, SCSS). When creating a release, these source files get transformed and optimized, and the output location of these transformed files is the location which matches the location in the install.py script. The weewx-wdc-vX.X.X.zip should contain all these transformed files (like service-worker.js or main.css), but if you download the current state of the repo, these files are not included and this will throw multiple `FileNotFoundError` errors while installing. For manual building of these files, see [Development](#development).
Expand Down

0 comments on commit 83ee648

Please sign in to comment.