diff --git a/.github/CHANGELOG.yaml b/.github/CHANGELOG.yaml index 51da32b..7e13522 100644 --- a/.github/CHANGELOG.yaml +++ b/.github/CHANGELOG.yaml @@ -9,6 +9,14 @@ releases: + - name: 1.4.7 + changes: + - title: Disable caching for fetching release configuration + categories: [ Core ] + - name: 1.4.6 + changes: + - title: Update api-client + categories: [ Core ] - name: 1.4.5 changes: - title: Removes 'v' prefix from Version Numbers diff --git a/package-lock.json b/package-lock.json index 517bb11..edc9f3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "headwind-installer", - "version": "1.4.5", + "version": "1.4.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "headwind-installer", - "version": "1.4.5", + "version": "1.4.7", "license": "GPL-3.0", "dependencies": { "@ant-design/icons": "^4.4.0", "@flybywiresim/fragmenter": "^0.7.4", "@flybywiresim/react-components": "^0.2.5", - "@headwindsimulations/api-client": "^1.1.2", + "@headwindsimulations/api-client": "^1.1.3", "@reduxjs/toolkit": "^1.7.1", "@sentry/cli": "^2.5.0", "@sentry/electron": "^3.0.7", @@ -1954,9 +1954,9 @@ } }, "node_modules/@headwindsimulations/api-client": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@headwindsimulations/api-client/-/api-client-1.1.2.tgz", - "integrity": "sha512-0z4EVlXSH5cG9gaJQ/tAkkidru8Qggv8c1MpahjYKoJyHxtmfhql+A1MZDYx7FSNxRhVHCTAsNd7Ys7+/cTCEg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@headwindsimulations/api-client/-/api-client-1.1.3.tgz", + "integrity": "sha512-voM9jKltAaWnIs5g33MA7cfywLsL3k7aqOg7VD2QS1q/WWAEIvy5rBkfFWdQpoSq2ZvQyrIVZVSo9lHpIes8mw==", "dependencies": { "axios": "^0.21.4" } diff --git a/package.json b/package.json index 47cb207..9f5d684 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "headwind-installer", "productName": "Headwind Installer", - "version": "1.4.5", + "version": "1.4.7", "description": "Desktop application to install and customize Headwind addons", "configUrls": { "production": "https://cdn.headwindsim.net/installer/config/production.json", @@ -110,7 +110,7 @@ "@ant-design/icons": "^4.4.0", "@flybywiresim/fragmenter": "^0.7.4", "@flybywiresim/react-components": "^0.2.5", - "@headwindsimulations/api-client": "^1.1.2", + "@headwindsimulations/api-client": "^1.1.3", "@reduxjs/toolkit": "^1.7.1", "@sentry/cli": "^2.5.0", "@sentry/electron": "^3.0.7", diff --git a/src/renderer/components/SettingsSection/Developer.tsx b/src/renderer/components/SettingsSection/Developer.tsx index efb5186..bfb2645 100644 --- a/src/renderer/components/SettingsSection/Developer.tsx +++ b/src/renderer/components/SettingsSection/Developer.tsx @@ -14,7 +14,7 @@ const index = (): JSX.Element => { const validateUrl = () => { try { - fetch(configDownloadUrl) + fetch(configDownloadUrl, {cache: "no-store"}) .then((response) => { setConfigDownloadUrlValid(response.status === 200); }); diff --git a/src/renderer/utils/AddonData.ts b/src/renderer/utils/AddonData.ts index c476296..e7c4d12 100644 --- a/src/renderer/utils/AddonData.ts +++ b/src/renderer/utils/AddonData.ts @@ -63,7 +63,7 @@ export class AddonData { } private static async latestVersionForCDN(track: AddonTrack): Promise { - return fetch(track.url + '/releases.yaml') + return fetch(track.url + '/releases.yaml', {cache: "no-store"}) .then(res => res.blob()) .then(blob => blob.text()) .then(stream => ({