From 805cded37a20a2e9071951d852caf078f5d383b1 Mon Sep 17 00:00:00 2001 From: Thomas Egli <38955561+thegli@users.noreply.github.com> Date: Wed, 8 Jan 2025 00:48:46 +0100 Subject: [PATCH] yfquotes@thegli: Restore absent quote details (#1384) --- yfquotes@thegli/CHANGELOG.md | 13 +++++++++++++ yfquotes@thegli/files/yfquotes@thegli/desklet.js | 2 +- yfquotes@thegli/files/yfquotes@thegli/metadata.json | 2 +- .../files/yfquotes@thegli/po/yfquotes@thegli.pot | 8 ++++---- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/yfquotes@thegli/CHANGELOG.md b/yfquotes@thegli/CHANGELOG.md index 865c3fed..b8357060 100644 --- a/yfquotes@thegli/CHANGELOG.md +++ b/yfquotes@thegli/CHANGELOG.md @@ -1,3 +1,16 @@ +### 0.15.3 - January 8, 2025 + +Features: + +- update Catalan translation (courtesy of [trikaphundo](https://github.com/trikaphundo)) +- update Dutch translation (courtesy of [qadzek](https://github.com/qadzek)) +- update Hungarian translation (courtesy of [bossbob88](https://github.com/bossbob88)) +- update Spanish translation (courtesy of [haggen88](https://github.com/haggen88)) + +Bugfixes: + +- restore absent quote details + ### 0.15.2 - November 20, 2024 Features: diff --git a/yfquotes@thegli/files/yfquotes@thegli/desklet.js b/yfquotes@thegli/files/yfquotes@thegli/desklet.js index f34a6f0b..2485d3b2 100644 --- a/yfquotes@thegli/files/yfquotes@thegli/desklet.js +++ b/yfquotes@thegli/files/yfquotes@thegli/desklet.js @@ -480,7 +480,7 @@ YahooFinanceQuoteReader.prototype = { }, createYahooQueryUrl: function(quoteSymbolsArg) { - const queryUrl = "https://query1.finance.yahoo.com/v7/finance/quote?symbols=" + quoteSymbolsArg + "&crumb=" + _crumb; + const queryUrl = "https://query1.finance.yahoo.com/v7/finance/quote?fields=currency,longName,regularMarketPrice,regularMarketChange,regularMarketChangePercent,regularMarketTime,shortName,symbol&lang=en-US®ion=US&formatted=false&symbols=" + quoteSymbolsArg + "&crumb=" + _crumb; logDebug("YF query URL: " + queryUrl); return queryUrl; }, diff --git a/yfquotes@thegli/files/yfquotes@thegli/metadata.json b/yfquotes@thegli/files/yfquotes@thegli/metadata.json index f43e9e82..7fe7eb0f 100644 --- a/yfquotes@thegli/files/yfquotes@thegli/metadata.json +++ b/yfquotes@thegli/files/yfquotes@thegli/metadata.json @@ -3,6 +3,6 @@ "name": "Yahoo Finance Quotes", "prevent-decorations": true, "max-instances": "10", - "version": "0.15.2", + "version": "0.15.3", "uuid": "yfquotes@thegli" } diff --git a/yfquotes@thegli/files/yfquotes@thegli/po/yfquotes@thegli.pot b/yfquotes@thegli/files/yfquotes@thegli/po/yfquotes@thegli.pot index 877ce9ae..cab4dcad 100644 --- a/yfquotes@thegli/files/yfquotes@thegli/po/yfquotes@thegli.pot +++ b/yfquotes@thegli/files/yfquotes@thegli/po/yfquotes@thegli.pot @@ -1,6 +1,6 @@ -# YAHOO FINANCE QUOTES -# This file is put in the public domain. -# thegli, 2018 +# Yahoo Finance Quotes Desklet +# Copyright (C) 2018 Thomas Egli +# This file is distributed under the same license as the Yahoo Finance Quotes Desklet package. # #, fuzzy msgid "" @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: yfquotes@thegli 0.15.2\n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-12-18 21:41+0100\n" +"POT-Creation-Date: 2024-11-20 20:33+0100\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n"