Skip to content

Commit 0294cfc

Browse files
authored
✨ v0.7.3 (#3067)
* refactor: revert BaseClient to use node-fetch instead of undici * chore: bump version * chore: update npm dependencies to latest versions * chore: fix custom footer
1 parent 8d8b17e commit 0294cfc

File tree

12 files changed

+27
-28
lines changed

12 files changed

+27
-28
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v0.7.2
1+
# v0.7.3
22

33
# Base node image
44
FROM node:20-alpine AS node

Dockerfile.multi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v0.7.2
1+
# v0.7.3
22

33
# Build API, Client and Data Provider
44
FROM node:20-alpine AS base

api/app/clients/BaseClient.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const crypto = require('crypto');
2-
const { fetch } = require('undici');
3-
const nodeFetch = require('node-fetch');
2+
const fetch = require('node-fetch');
43
const { supportsBalanceCheck, Constants } = require('librechat-data-provider');
54
const { getConvo, getMessages, saveMessage, updateMessage, saveConvo } = require('~/models');
65
const { addSpaceIfNeeded, isEnabled } = require('~/server/utils');
@@ -71,7 +70,7 @@ class BaseClient {
7170
}
7271
logger.debug(`Making request to ${url}`);
7372
if (typeof Bun !== 'undefined') {
74-
return await nodeFetch(url, init);
73+
return await fetch(url, init);
7574
}
7675
return await fetch(url, init);
7776
}

api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@librechat/backend",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "",
55
"scripts": {
66
"start": "echo 'please run this from the root directory'",

client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@librechat/frontend",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "",
55
"type": "module",
66
"scripts": {

client/src/components/Chat/Footer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ export default function Footer({ className }: { className?: string }) {
4444
const mainContentParts = (
4545
typeof config?.customFooter === 'string'
4646
? config.customFooter
47-
: '[<LibreChat ' +
47+
: '[LibreChat ' +
4848
Constants.VERSION +
49-
'>](https://librechat.ai) - ' +
49+
'](https://librechat.ai) - ' +
5050
localize('com_ui_pay_per_call')
5151
).split('|');
5252

e2e/jestSetup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
// v0.7.2
1+
// v0.7.3
22
// See .env.test.example for an example of the '.env.test' file.
33
require('dotenv').config({ path: './e2e/.env.test' });

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- v0.7.2 -->
1+
<!-- v0.7.3 -->
22
<!DOCTYPE html>
33
<html>
44
<head>

package-lock.json

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "LibreChat",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "",
55
"workspaces": [
66
"api",

packages/data-provider/src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ export enum SettingsTabValues {
786786
/** Enum for app-wide constants */
787787
export enum Constants {
788788
/** Key for the app's version. */
789-
VERSION = 'v0.7.2',
789+
VERSION = 'v0.7.3',
790790
/** Key for the Custom Config's version (librechat.yaml). */
791791
CONFIG_VERSION = '1.1.4',
792792
/** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */

prettier.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// v0.7.2
1+
// v0.7.3
22
module.exports = {
33
tailwindConfig: './client/tailwind.config.cjs',
44
printWidth: 100,

0 commit comments

Comments
 (0)