diff --git a/CHANGELOG.md b/CHANGELOG.md index 74e0d56..fff2f6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.0.6 - May 1, 2024 + +- Added support for aromeReunion and aromeAntilles + ## 3.0.0 - Apr 11, 2024 - Update for windy v42 diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index df2dedd..292fadf 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "windy-plugin-sounding", - "version": "3.0.0", + "version": "3.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "windy-plugin-sounding", - "version": "3.0.0", + "version": "3.0.6", "license": "MIT", "devDependencies": { "@rollup/plugin-alias": "^5.1.0", diff --git a/package.json b/package.json index 5c29c4f..1e17425 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "windy-plugin-sounding", - "version": "3.0.5", + "version": "3.0.6", "description": "Better Soundings for paraglider pilots", "main": "dist/plugin.js", "files": [ diff --git a/src/actions/sounding.ts b/src/actions/sounding.ts index 2f4e574..e21b12c 100644 --- a/src/actions/sounding.ts +++ b/src/actions/sounding.ts @@ -24,7 +24,7 @@ export const FETCH_PARAMS = "SDG.FETCH_PARAMS"; export const RECEIVE_PARAMS = "SDG.RECEIVE_PARAMS"; export const TOGGLE_ZOOM = "SDG.TOGGLE_ZOOM"; -export const SUPPORTED_MODEL_PREFIXES = ["ecmwf", "gfs", "nam", "icon", "hrrr", "ukv"]; +export const SUPPORTED_MODEL_PREFIXES = ["ecmwf", "gfs", "nam", "icon", "hrrr", "ukv", "aromeReunion", "aromeAntilles"]; const DEFAULT_MODEL = "ecmwf"; export const toggleZoom = ( ) => ( @@ -68,6 +68,7 @@ export const setLocation = (lat: number, lon: number) => (dispatch: Dispatch) => }; export const setModelName = (modelName: string) => (dispatch) => { + console.log(modelName); const model = SUPPORTED_MODEL_PREFIXES.some((prefix) => modelName.startsWith(prefix)) ? modelName : DEFAULT_MODEL; diff --git a/src/pluginConfig.ts b/src/pluginConfig.ts index 60590b1..f9b4671 100644 --- a/src/pluginConfig.ts +++ b/src/pluginConfig.ts @@ -5,7 +5,7 @@ import type { ExternalPluginConfig } from '@windy/interfaces'; const config: ExternalPluginConfig = { author: "Victor Berchet", name: "windy-plugin-sounding", - version: "3.0.5", + version: "3.0.6", description: "Soundings for paraglider pilots", repository: "git+https://github.com/vicb/windy-plugin-sounding", title: 'Better Soundings',