iobroker.sql 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -520,6 +520,9 @@ sendTo('sql.0', 'getEnabledDPs', {}, function (result) {
520
520
  -->
521
521
 
522
522
  ## Changelog
523
+ ### 2.1.7 (2022-06-30)
524
+ * (Apollon77) Fix crash cases reported by Sentry
525
+
523
526
  ### 2.1.6 (2022-06-27)
524
527
  * (Apollon77) Allow to remove a configuration value for "round" in config again
525
528
 
package/io-package.json CHANGED
@@ -26,8 +26,20 @@
26
26
  "pl": "Rejestrowanie stanów w SQL DB",
27
27
  "zh-cn": "将状态记录到SQL DB"
28
28
  },
29
- "version": "2.1.6",
29
+ "version": "2.1.7",
30
30
  "news": {
31
+ "2.1.7": {
32
+ "en": "Fix crash cases reported by Sentry",
33
+ "de": "Reparieren Crashfälle gemeldet von Sentry",
34
+ "ru": "Исправление случаев аварии, описанных Sentry",
35
+ "pt": "Corrigir casos de acidente relatados por Sentry",
36
+ "nl": "Vertaling:",
37
+ "fr": "Troubles de crash signalés par Sentry",
38
+ "it": "Correzione dei casi di crash segnalati da Sentry",
39
+ "es": "Casos de accidente fijo reportados por Sentry",
40
+ "pl": "Sprawy katastrofy Fix podane przez Sentry’a",
41
+ "zh-cn": "Sentry所报告的六例事故"
42
+ },
31
43
  "2.1.6": {
32
44
  "en": "Allow to remove a configuration value for \"round\" in config again",
33
45
  "de": "Lassen Sie einen Konfigurationswert für Runde in config wieder entfernen",
@@ -99,18 +111,6 @@
99
111
  "es": "Solucionar casos de fallas informados por Sentry\nCorrija varios lugares donde las conexiones agrupadas podrían no haber regresado al grupo correctamente y agregue el registro para ello\nSolucione un problema en la biblioteca de agrupación utilizada que potencialmente proporcionó demasiadas conexiones\nOptimice el control de retención para distribuir mejor los primeros controles a lo largo del tiempo\nPredeterminado para no usar el almacenamiento en búfer de puntos de datos como en 1.x cuando se establece en 0\nAsegúrese de deshabilitar \"Registrar solo cambios\" y realmente no registre más los cambios\nPermitir que storeState y GetHistory también se llamen para \"identificadores desconocidos\"\nAjuste la lógica de respaldo para la detección de tipo para usar el tipo del valor de estado para registrar como último respaldo\nArreglar el almacenamiento de booleanos en MSSQL",
100
112
  "pl": "Napraw przypadki awarii zgłoszone przez Sentry\nNapraw kilka miejsc, w których połączenia z puli mogły nie zostać poprawnie zwrócone do puli i dodaj dla tego logowanie\nObejdź problem w używanej bibliotece Pooling, który potencjalnie powodował zbyt wiele połączeń\nZoptymalizuj kontrolę retencji, aby lepiej rozłożyć pierwsze kontrole w czasie\nDomyślnie nie używa buforowania punktu danych, jak w 1.x, gdy jest ustawione na 0\nUpewnij się, że wyłączenie opcji „Zapisuj tylko zmiany” również naprawdę nie powoduje już rejestrowania zmian\nZezwalaj na wywoływanie storeState i GetHistory również dla „nieznanych identyfikatorów”\nDostosuj logikę rezerwy dla wykrywania typu, aby użyć typu wartości stanu do zalogowania jako ostatniej rezerwy\nNapraw przechowywanie wartości logicznych w MSSQL",
101
113
  "zh-cn": "修复 Sentry 报告的崩溃案例\n修复池连接可能未正确返回池的几个地方并为其添加日志记录\n解决使用过的池库中可能给出过多连接的问题\n优化保留检查,以便随着时间的推移更好地传播第一次检查\n默认设置为 0 时不使用 1.x 中的数据点缓冲\n确保禁用“仅记录更改”也不再记录更改\n还允许为“未知 ID”调用 storeState 和 GetHistory\n调整类型检测的回退逻辑以使用状态值的类型记录为最后一个回退\n修复在 MSSQL 上存储布尔值"
102
- },
103
- "2.0.2": {
104
- "en": "BREAKING: Configuration is only working in the new Admin 5 UI!\nDid bigger adjustments to the recording logic and added a lot of new Features. Please refer to Changelog and Forum post for details.",
105
- "de": "BREAKING: Die Konfiguration funktioniert nur in der neuen Admin 5-Benutzeroberfläche!\nGrößere Anpassungen an der Aufnahmelogik vorgenommen und viele neue Features hinzugefügt. Einzelheiten finden Sie im Änderungsprotokoll und im Forumsbeitrag.",
106
- "ru": "НАРУШЕНИЕ: Конфигурация работает только в новом пользовательском интерфейсе Admin 5!\nВнесены большие коррективы в логику записи и добавлено много новых функций. Пожалуйста, обратитесь к журналу изменений и сообщению на форуме для получения подробной информации.",
107
- "pt": "URGENTE: a configuração está funcionando apenas na nova interface do usuário do Admin 5!\nFez ajustes maiores na lógica de gravação e adicionou muitos novos recursos. Consulte o Changelog e a postagem do fórum para obter detalhes.",
108
- "nl": "BREAKING: Configuratie werkt alleen in de nieuwe Admin 5 UI!\nGrotere aanpassingen gedaan aan de opnamelogica en veel nieuwe functies toegevoegd. Raadpleeg de Changelog en Forumpost voor details.",
109
- "fr": "RUPTURE : La configuration ne fonctionne que dans la nouvelle interface utilisateur d'Admin 5 !\nA apporté de plus grands ajustements à la logique d'enregistrement et ajouté de nombreuses nouvelles fonctionnalités. Veuillez vous référer au changelog et au post du forum pour plus de détails.",
110
- "it": "ROTTURA: la configurazione funziona solo nella nuova interfaccia utente di Admin 5!\nHa apportato maggiori modifiche alla logica di registrazione e aggiunto molte nuove funzionalità. Si prega di fare riferimento a Changelog e post sul forum per i dettagli.",
111
- "es": "ÚLTIMA HORA: ¡La configuración solo funciona en la nueva interfaz de usuario de Admin 5!\nHizo ajustes más grandes a la lógica de grabación y agregó muchas características nuevas. Consulte el registro de cambios y la publicación del foro para obtener más detalles.",
112
- "pl": "ŁAMANIE: Konfiguracja działa tylko w nowym interfejsie użytkownika Admin 5!\nWprowadziłem większe poprawki w logice nagrywania i dodałem wiele nowych funkcji. Więcej informacji można znaleźć w dzienniku zmian i poście na forum.",
113
- "zh-cn": "突破:配置仅在新的 Admin 5 UI 中有效!\n对录制逻辑进行了更大的调整,并添加了许多新功能。有关详细信息,请参阅变更日志和论坛帖子。"
114
114
  }
115
115
  },
116
116
  "mode": "daemon",
package/main.js CHANGED
@@ -1860,7 +1860,7 @@ function storeCached(onlyId, cb) {
1860
1860
  sqlDPs[id].list = [];
1861
1861
  count++;
1862
1862
  pushValuesIntoDB(id, sqlDPs[id].inFlight[inFlightId], err => {
1863
- sqlDPs[id].inFlight && sqlDPs[id].inFlight[inFlightId] && delete sqlDPs[id].inFlight[inFlightId];
1863
+ sqlDPs[id] && sqlDPs[id].inFlight && sqlDPs[id].inFlight[inFlightId] && delete sqlDPs[id].inFlight[inFlightId];
1864
1864
  if (!--count && cb) {
1865
1865
  cb(err);
1866
1866
  cb = null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iobroker.sql",
3
3
  "description": "Log state sql in a two-stages process (first to Redis, then to CouchDB)",
4
- "version": "2.1.6",
4
+ "version": "2.1.7",
5
5
  "author": "bluefox <dogafox@gmail.com>",
6
6
  "contributors": [
7
7
  "bluefox <dogafox@gmail.com>",