@lobehub/chat 1.1.12 โ†’ 1.1.13

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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.1.13](https://github.com/lobehub/lobe-chat/compare/v1.1.12...v1.1.13)
6
+
7
+ <sup>Released on **2024-06-27**</sup>
8
+
9
+ #### ๐Ÿ› Bug Fixes
10
+
11
+ - **misc**: -check_updates cannot be set by FEATURE_FLAGS.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: -check_updates cannot be set by FEATURE_FLAGS, closes [#3038](https://github.com/lobehub/lobe-chat/issues/3038) ([bdadfee](https://github.com/lobehub/lobe-chat/commit/bdadfee))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.1.12](https://github.com/lobehub/lobe-chat/compare/v1.1.11...v1.1.12)
6
31
 
7
32
  <sup>Released on **2024-06-26**</sup>
package/README.md CHANGED
@@ -233,7 +233,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
233
233
  | [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | Search aggregation service, specifically designed for LLMs<br/>`web` `search` |
234
234
  | [Search Google via Serper](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Barry** on **2024-04-30**</sup> | Google search engine via Serper.dev free API (2500x๐Ÿ†“/month)<br/>`web` `search` |
235
235
 
236
- > ๐Ÿ“Š Total plugins: [<kbd>**52**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
236
+ > ๐Ÿ“Š Total plugins: [<kbd>**51**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
237
237
 
238
238
  <!-- PLUGIN LIST -->
239
239
 
package/README.zh-CN.md CHANGED
@@ -226,7 +226,7 @@ LobeChat ็š„ๆ’ไปถ็”Ÿๆ€็ณป็ปŸๆ˜ฏๅ…ถๆ ธๅฟƒๅŠŸ่ƒฝ็š„้‡่ฆๆ‰ฉๅฑ•๏ผŒๅฎƒๆžๅคงๅœฐ
226
226
  | [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | ๆœ็ดข่šๅˆๆœๅŠก๏ผŒไธ“ไธบ LLMs ่ฎพ่ฎก<br/>`web` `search` |
227
227
  | [้€š่ฟ‡ Serper ๆœ็ดข Google](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Barry** on **2024-04-30**</sup> | ้€š่ฟ‡ Serper.dev ๅ…่ดน API ่ฟ›่กŒ Google ๆœ็ดขๅผ•ๆ“Ž๏ผˆๆฏๆœˆ 2500 ๆฌก๐Ÿ†“๏ผ‰<br/>`็ฝ‘็ปœ` `ๆœ็ดข` |
228
228
 
229
- > ๐Ÿ“Š Total plugins: [<kbd>**52**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
229
+ > ๐Ÿ“Š Total plugins: [<kbd>**51**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
230
230
 
231
231
  <!-- PLUGIN LIST -->
232
232
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -8,6 +8,7 @@ import { Center, Flexbox } from 'react-layout-kit';
8
8
 
9
9
  import { MANUAL_UPGRADE_URL, OFFICIAL_SITE, RELEASES_URL } from '@/const/url';
10
10
  import { CURRENT_VERSION } from '@/const/version';
11
+ import { useNewVersion } from '@/features/User/UserPanel/useNewVersion';
11
12
  import { useGlobalStore } from '@/store/global';
12
13
 
13
14
  const useStyles = createStyles(({ css, token }) => ({
@@ -20,16 +21,11 @@ const useStyles = createStyles(({ css, token }) => ({
20
21
  }));
21
22
 
22
23
  const Version = memo<{ mobile?: boolean }>(({ mobile }) => {
23
- const [hasNewVersion, latestVersion, useCheckLatestVersion] = useGlobalStore((s) => [
24
- s.hasNewVersion,
25
- s.latestVersion,
26
- s.useCheckLatestVersion,
27
- ]);
24
+ const hasNewVersion = useNewVersion();
25
+ const [latestVersion] = useGlobalStore((s) => [s.latestVersion]);
28
26
  const { t } = useTranslation('common');
29
27
  const { styles, theme } = useStyles();
30
28
 
31
- useCheckLatestVersion();
32
-
33
29
  return (
34
30
  <Flexbox
35
31
  align={mobile ? 'stretch' : 'center'}