Compare commits

...
5 Commits
Author SHA1 Message Date
Max Deichmann 3d81ef54af chore: release v2.26.1
CI/CD / lint (push) Waiting to run
CI/CD / test-docker-build (push) Waiting to run
CI/CD / tests-web (20) (push) Waiting to run
CI/CD / tests-worker (20) (push) Waiting to run
CI/CD / e2e-tests (push) Waiting to run
CI/CD / all-ci-passed (push) Blocked by required conditions
CI/CD / push-docker-image (push) Blocked by required conditions
release.yml / release (push) Waiting to run
2024-04-16 11:39:21 +02:00
Max DeichmannandGitHub 08d19a6d11 perf: do not send empty events to worker (#1732) 2024-04-16 09:34:58 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
817ab669a8 chore(deps-dev): bump @testing-library/react from 14.2.2 to 15.0.2 (#1726)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.2.2 to 15.0.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v14.2.2...v15.0.2)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 08:57:50 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1294ed9b9b chore(deps): bump posthog-js from 1.116.2 to 1.122.0 (#1727)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.116.2 to 1.122.0.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.116.2...v1.122.0)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 08:51:04 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d3d236d63e chore(deps-dev): bump release-it from 17.1.1 to 17.2.0 (#1728)
Bumps [release-it](https://github.com/release-it/release-it) from 17.1.1 to 17.2.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/main/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/17.1.1...17.2.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 08:44:22 +00:00
7 changed files with 61 additions and 97 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "langfuse",
"version": "2.26.0",
"version": "2.26.1",
"author": "engineering@langfuse.com",
"license": "MIT",
"private": true,
@@ -29,7 +29,7 @@
"@release-it/bumper": "^6.0.1",
"dotenv-cli": "^7.4.1",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"release-it": "^17.2.0",
"turbo": "^1.13.2"
},
"release-it": {
+39 -77
View File
@@ -10,7 +10,7 @@ importers:
devDependencies:
'@release-it/bumper':
specifier: ^6.0.1
version: 6.0.1(release-it@17.1.1)
version: 6.0.1(release-it@17.2.0)
dotenv-cli:
specifier: ^7.4.1
version: 7.4.1
@@ -18,8 +18,8 @@ importers:
specifier: ^3.2.5
version: 3.2.5
release-it:
specifier: ^17.1.1
version: 17.1.1
specifier: ^17.2.0
version: 17.2.0
turbo:
specifier: ^1.13.2
version: 1.13.2
@@ -372,8 +372,8 @@ importers:
specifier: ^6.9.13
version: 6.9.13
posthog-js:
specifier: ^1.105.9
version: 1.116.2
specifier: ^1.122.0
version: 1.122.0
posthog-node:
specifier: ^3.6.3
version: 3.6.3
@@ -440,8 +440,8 @@ importers:
specifier: ^6.4.2
version: 6.4.2(@types/jest@29.5.12)(jest@29.7.0)
'@testing-library/react':
specifier: ^14.2.2
version: 14.2.2(react-dom@18.2.0)(react@18.2.0)
specifier: ^15.0.2
version: 15.0.2(react-dom@18.2.0)(react@18.2.0)
'@types/bcryptjs':
specifier: ^2.4.6
version: 2.4.6
@@ -3267,8 +3267,8 @@ packages:
universal-user-agent: 6.0.1
dev: true
/@octokit/rest@20.0.2:
resolution: {integrity: sha512-Ux8NDgEraQ/DMAU1PlAohyfBBXDwhnX2j33Z1nJNziqAfHi70PuxkFYIcIt8aIAxtRE7KVuKp8lSR8pA0J5iOQ==}
/@octokit/rest@20.1.0:
resolution: {integrity: sha512-STVO3itHQLrp80lvcYB2UIKoeil5Ctsgd2s1AM+du3HqZIR35ZH7WE9HLwUOLXH0myA0y3AGNPo8gZtcgIbw0g==}
engines: {node: '>= 18'}
dependencies:
'@octokit/core': 5.1.0
@@ -4736,7 +4736,7 @@ packages:
react: 18.2.0
dev: false
/@release-it/bumper@6.0.1(release-it@17.1.1):
/@release-it/bumper@6.0.1(release-it@17.2.0):
resolution: {integrity: sha512-yeQsbGNMzzN0c/5JV1awXP6UHX/kJamXCKR6/daS0YQfj98SZXAcLn3JEq+qfK/Jq/cnATnlz5r6UY0cfBkm1A==}
engines: {node: '>=18'}
peerDependencies:
@@ -4748,7 +4748,7 @@ packages:
ini: 4.1.2
js-yaml: 4.1.0
lodash-es: 4.17.21
release-it: 17.1.1
release-it: 17.2.0
semver: 7.6.0
dev: true
@@ -5698,14 +5698,14 @@ packages:
resolution: {integrity: sha512-P5XgYoAw/vfW65byBbJQCw+cagdXDT/qH6wmABiLt4v4YBT2q2vqCOhihe+D1Nt325F/S/0Tkv6C5z0Lv+VBQQ==}
dev: false
/@testing-library/dom@9.3.4:
resolution: {integrity: sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==}
engines: {node: '>=14'}
/@testing-library/dom@10.0.0:
resolution: {integrity: sha512-PmJPnogldqoVFf+EwbHvbBJ98MmqASV8kLrBYgsDNxQcFMeIS7JFL48sfyXvuMtgmWO/wMhh25odr+8VhDmn4g==}
engines: {node: '>=18'}
dependencies:
'@babel/code-frame': 7.24.2
'@babel/runtime': 7.24.4
'@types/aria-query': 5.0.4
aria-query: 5.1.3
aria-query: 5.3.0
chalk: 4.1.2
dom-accessibility-api: 0.5.16
lz-string: 1.5.0
@@ -5745,15 +5745,15 @@ packages:
redent: 3.0.0
dev: true
/@testing-library/react@14.2.2(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-SOUuM2ysCvjUWBXTNfQ/ztmnKDmqaiPV3SvoIuyxMUca45rbSWWAT/qB8CUs/JQ/ux/8JFs9DNdFQ3f6jH3crA==}
engines: {node: '>=14'}
/@testing-library/react@15.0.2(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-5mzIpuytB1ctpyywvyaY2TAAUQVCZIGqwiqFQf6u9lvj/SJQepGUzNV18Xpk+NLCaCE2j7CWrZE0tEf9xLZYiQ==}
engines: {node: '>=18'}
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
dependencies:
'@babel/runtime': 7.24.0
'@testing-library/dom': 9.3.4
'@babel/runtime': 7.24.4
'@testing-library/dom': 10.0.0
'@types/react-dom': 18.2.25
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
@@ -7070,12 +7070,6 @@ packages:
tslib: 2.6.2
dev: false
/aria-query@5.1.3:
resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==}
dependencies:
deep-equal: 2.2.3
dev: true
/aria-query@5.3.0:
resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}
dependencies:
@@ -8359,30 +8353,6 @@ packages:
type-detect: 4.0.8
dev: true
/deep-equal@2.2.3:
resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==}
engines: {node: '>= 0.4'}
dependencies:
array-buffer-byte-length: 1.0.1
call-bind: 1.0.7
es-get-iterator: 1.1.3
get-intrinsic: 1.2.4
is-arguments: 1.1.1
is-array-buffer: 3.0.4
is-date-object: 1.0.5
is-regex: 1.1.4
is-shared-array-buffer: 1.0.3
isarray: 2.0.5
object-is: 1.1.6
object-keys: 1.1.1
object.assign: 4.1.5
regexp.prototype.flags: 1.5.2
side-channel: 1.0.6
which-boxed-primitive: 1.0.2
which-collection: 1.0.2
which-typed-array: 1.1.15
dev: true
/deep-extend@0.6.0:
resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==}
engines: {node: '>=4.0.0'}
@@ -10604,8 +10574,8 @@ packages:
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
dev: true
/inquirer@9.2.14:
resolution: {integrity: sha512-4ByIMt677Iz5AvjyKrDpzaepIyMewNvDcvwpVVRZNmy9dLakVoVgdCHZXbK1SlVJra1db0JZ6XkJyHsanpdrdQ==}
/inquirer@9.2.17:
resolution: {integrity: sha512-Vr3Ia2ud5sGnioURkE69endl4SkeJcMzTF6SosKcX5GALJfId7C+JvO5ZZb6y1LOXnEofCPbwzoQ1q0e8Gaduw==}
engines: {node: '>=18'}
dependencies:
'@ljharb/through': 2.3.13
@@ -11041,9 +11011,9 @@ packages:
/isexe@2.0.0:
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
/issue-parser@6.0.0:
resolution: {integrity: sha512-zKa/Dxq2lGsBIXQ7CUZWTHfvxPC2ej0KfO7fIPqLlHB9J2hJ7rGhZ5rilhuufylr4RXYPzJUeFjKxz305OsNlA==}
engines: {node: '>=10.13'}
/issue-parser@7.0.0:
resolution: {integrity: sha512-jgAw78HO3gs9UrKqJNQvfDj9Ouy8Mhu40fbEJ8yXff4MW8+/Fcn9iFjyWUQ6SKbX8ipPk3X5A3AyfYHRu6uVLw==}
engines: {node: ^18.17 || >=20.6.1}
dependencies:
lodash.capitalize: 4.2.1
lodash.escaperegexp: 4.1.2
@@ -13227,14 +13197,6 @@ packages:
/object-inspect@1.13.1:
resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==}
/object-is@1.1.6:
resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==}
engines: {node: '>= 0.4'}
dependencies:
call-bind: 1.0.7
define-properties: 1.2.1
dev: true
/object-keys@1.1.1:
resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
engines: {node: '>= 0.4'}
@@ -13334,8 +13296,8 @@ packages:
mimic-fn: 4.0.0
dev: true
/open@10.0.3:
resolution: {integrity: sha512-dtbI5oW7987hwC9qjJTyABldTaa19SuyJse1QboWv3b0qCcrrLNVDqBx1XgELAjh9QTVQaP/C5b1nhQebd1H2A==}
/open@10.1.0:
resolution: {integrity: sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==}
engines: {node: '>=18'}
dependencies:
default-browser: 5.2.1
@@ -13980,8 +13942,8 @@ packages:
resolution: {integrity: sha512-i/hbxIE9803Alj/6ytL7UHQxRvZkI9O4Sy+J3HGc4F4oo/2eQAjTSNJ0bfxyse3bH0nuVesCk+3IRLaMtG3H6w==}
dev: true
/posthog-js@1.116.2:
resolution: {integrity: sha512-s76+xH91mLt/J05sy7XV4/BzfwTJFU+BoBcv9adYOjD3SAUjUFg21+G2rq9A1rRvMHh0lms4t16TRMlO4L463A==}
/posthog-js@1.122.0:
resolution: {integrity: sha512-+8R2/nLaWyI5Jp2Ly7L52qcgDFU3xryyoNG52DPJ8dlGnagphxIc0mLNGurgyKeeTGycsOsuOIP4dtofv3ZoBA==}
dependencies:
fflate: 0.4.8
preact: 10.19.7
@@ -14730,13 +14692,13 @@ packages:
jsesc: 0.5.0
dev: true
/release-it@17.1.1:
resolution: {integrity: sha512-b+4Tu2eb5f2wIdIe5E9hre0evbMQrXp/kRq0natHsHYJVqu1Bd4/h2a+swFi0faGmC3cJdB16uYR6LscG9SchQ==}
engines: {node: '>=18'}
/release-it@17.2.0:
resolution: {integrity: sha512-Cidaq5W4apZSpdEDQd2TJhH7GZAwfaG+ewe60p7B7+txyCHYR/T6lGvkKinJmePpdHsM0fzA05yGGXKCiHJHmA==}
engines: {node: ^18.18.0 || ^20.8.0 || ^21.0.0}
hasBin: true
dependencies:
'@iarna/toml': 2.2.5
'@octokit/rest': 20.0.2
'@octokit/rest': 20.1.0
async-retry: 1.3.3
chalk: 5.3.0
cosmiconfig: 9.0.0
@@ -14744,14 +14706,14 @@ packages:
git-url-parse: 14.0.0
globby: 14.0.1
got: 13.0.0
inquirer: 9.2.14
inquirer: 9.2.17
is-ci: 3.0.1
issue-parser: 6.0.0
issue-parser: 7.0.0
lodash: 4.17.21
mime-types: 2.1.35
new-github-release-url: 2.0.0
node-fetch: 3.3.2
open: 10.0.3
open: 10.1.0
ora: 8.0.1
os-name: 5.1.0
promise.allsettled: 1.0.7
@@ -14760,7 +14722,7 @@ packages:
shelljs: 0.8.5
update-notifier: 7.0.0
url-join: 5.0.0
wildcard-match: 5.1.2
wildcard-match: 5.1.3
yargs-parser: 21.1.1
transitivePeerDependencies:
- supports-color
@@ -16707,8 +16669,8 @@ packages:
string-width: 5.1.2
dev: true
/wildcard-match@5.1.2:
resolution: {integrity: sha512-qNXwI591Z88c8bWxp+yjV60Ch4F8Riawe3iGxbzquhy8Xs9m+0+SLFBGb/0yCTIDElawtaImC37fYZ+dr32KqQ==}
/wildcard-match@5.1.3:
resolution: {integrity: sha512-a95hPUk+BNzSGLntNXYxsjz2Hooi5oL7xOfJR6CKwSsSALh7vUNuTlzsrZowtYy38JNduYFRVhFv19ocqNOZlg==}
dev: true
/windows-release@5.1.1:
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "web",
"version": "2.26.0",
"version": "2.26.1",
"private": true,
"license": "MIT",
"engines": {
@@ -93,7 +93,7 @@
"next-auth": "^4.24.7",
"next-query-params": "^5.0.0",
"nodemailer": "^6.9.13",
"posthog-js": "^1.105.9",
"posthog-js": "^1.122.0",
"posthog-node": "^3.6.3",
"prisma": "^5.12.1",
"react": "18.2.0",
@@ -116,7 +116,7 @@
"@mermaid-js/mermaid-cli": "^10.7.0",
"@playwright/test": "^1.43.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/react": "^15.0.2",
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.17",
"@types/eslint": "^8.56.7",
+1 -1
View File
@@ -1 +1 @@
export const VERSION = "v2.26.0";
export const VERSION = "v2.26.1";
+14 -12
View File
@@ -441,18 +441,20 @@ export const sendToWorkerIfEnvironmentConfigured = async (
)
.filter(isNotNullOrUndefined);
await fetch(`${env.LANGFUSE_WORKER_HOST}/api/events`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization:
"Basic " +
Buffer.from("admin" + ":" + env.LANGFUSE_WORKER_PASSWORD).toString(
"base64",
),
},
body: JSON.stringify(traceEvents),
});
if (traceEvents.length > 0) {
await fetch(`${env.LANGFUSE_WORKER_HOST}/api/events`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization:
"Basic " +
Buffer.from(
"admin" + ":" + env.LANGFUSE_WORKER_PASSWORD,
).toString("base64"),
},
body: JSON.stringify(traceEvents),
});
}
}
} catch (error) {
console.error("Error sending events to worker", error);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "worker",
"version": "2.26.0",
"version": "2.26.1",
"description": "",
"license": "MIT",
"main": "index.js",
+1 -1
View File
@@ -1 +1 @@
export const VERSION = "v2.26.0";
export const VERSION = "v2.26.1";