Commit Graph

48 Commits

Author SHA1 Message Date
PalmDevs
7dfbf6c92c fix(apis/websocket): also include tesseract core files in build 2024-07-23 00:44:08 +07:00
semantic-release-bot
df3fee96fe chore(release): 1.0.0-dev.1 [skip ci]
# @revanced/bot-websocket-api 1.0.0-dev.1 (2024-07-22)

### Bug Fixes

* **apis/websocket:** builds not working due to dynamic import requirement ([fc7be22](fc7be22c6c))
* **apis/websocket:** don't bundle `tesseract.js` ([51a6fb6](51a6fb65f0))
* **apis/websocket:** fix forever stuck Promise ([168f40d](168f40def6))
* **apis/websocket:** fix undefined error ([2f03800](2f03800c61))
* **apis/websocket:** improve logging and error handling ([b6cbe9d](b6cbe9d64c))
* remove error cb handling for `socket.send()` calls ([29544d4](29544d4e01))
* **types:** fix issues with typings ([669e24c](669e24ca81))

### chore

* fix more build issues ([77fefb9](77fefb9bef))

### Features

* **apis/websocket:** clear old client sessions and instances ([43bd0a0](43bd0a021c))
* **packages/shared:** add logger factory ([17c6be7](17c6be7bee))

### BREAKING CHANGES

* In `@revanced/discord-bot`, its environment variable
                 `DATABASE_URL` has been renamed to `DATABASE_PATH`
                 and the `file:` prefix is no longer needed
2024-07-22 16:03:59 +00:00
PalmDevs
b76e223f07 ci(release): don't patch MSR anymore, add npm semantic release plugin 2024-07-22 22:41:33 +07:00
PalmDevs
3ad0f7b19d ci(release): reinstall packages before building 2024-07-22 22:00:46 +07:00
PalmDevs
af9cfa1384 ci(release): explicitly build with bun 2024-07-22 22:00:44 +07:00
PalmDevs
73b2169a5a ci(release): add docker tags, fix unnested plugins array, verbose logs for docker builds 2024-07-22 22:00:34 +07:00
PalmDevs
57891428a2 ci(release): use correct credentials 2024-07-22 22:00:27 +07:00
PalmDevs
f1a169fb6b ci(release): release and trigger portainer webhooks in different steps 2024-07-20 23:30:10 +07:00
Palm
a20f8345b7 ci(release): trigger container build and portainer webhook for specific projects and branches 2024-07-20 23:30:04 +07:00
PalmDevs
43bd0a021c feat(apis/websocket): clear old client sessions and instances 2024-07-14 00:24:32 +07:00
PalmDevs
2f03800c61 fix(apis/websocket): fix undefined error 2024-07-14 00:20:24 +07:00
oSumAtrIX
5aeade122b ci: Publish Docker images (#41)
Co-authored-by: PalmDevs <git@palmdevs.me>
2024-07-13 14:57:29 +02:00
Palm
77fefb9bef chore: fix more build issues
BREAKING CHANGE: In `@revanced/discord-bot`, its environment variable
                 `DATABASE_URL` has been renamed to `DATABASE_PATH`
                 and the `file:` prefix is no longer needed
2024-07-08 17:48:45 +00:00
PalmDevs
9b6ba56d99 chore: use alternative ways to bundle 2024-07-08 19:43:03 +07:00
PalmDevs
51a6fb65f0 fix(apis/websocket): don't bundle tesseract.js 2024-06-24 23:33:31 +07:00
PalmDevs
fc7be22c6c fix(apis/websocket): builds not working due to dynamic import requirement 2024-06-24 18:23:39 +07:00
PalmDevs
f2abae2350 chore: revert mistakenly replaced links 2024-06-24 18:23:38 +07:00
PalmDevs
6109842897 chore: change old contact info 2024-06-24 18:23:38 +07:00
PalmDevs
32a7fea294 chore: update dependencies 2024-06-24 18:23:38 +07:00
PalmDevs
154bdbde3e chore: update and add README for projects 2024-06-24 18:23:36 +07:00
PalmDevs
b6cbe9d64c fix(apis/websocket): improve logging and error handling 2024-06-24 18:23:33 +07:00
PalmDevs
e25fc7d3c5 chore: update contributor email 2024-06-24 18:23:33 +07:00
PalmDevs
669e24ca81 fix(types): fix issues with typings 2024-06-24 18:23:33 +07:00
PalmDevs
3f8d0fd8ec chore: remove unused dependencies 2024-06-24 18:23:32 +07:00
PalmDevs
29544d4e01 fix: remove error cb handling for socket.send() calls
Fixes promise not ever being resolved
2024-06-24 18:23:31 +07:00
PalmDevs
b3b7723b4f feat!: big feature changes
BREAKING CHANGES:
- Heartbeating removed
- `config.consoleLogLevel` -> `config.logLevel`

NEW FEATURES:
- Training messages
- Sequence number system
- WebSocket close codes used instead of disconnect packets

FIXES:
- Improved error handling
- Some performance improvements
- Made code more clean
- Updated dependencies
2024-06-24 18:23:27 +07:00
PalmDevs
da02140f19 docs(apis/websocket): fix broken reference links 2024-06-24 18:23:26 +07:00
PalmDevs
680f00722f chore: clean up tsconfigs and use bun-types 2024-06-24 18:23:25 +07:00
PalmDevs
526d514443 docs: move environment setup to monorepo root 2024-06-24 18:23:23 +07:00
PalmDevs
97c5bd5634 chore(apis/websocket): stop using fastify as a wrapper 2024-06-24 18:23:23 +07:00
PalmDevs
168f40def6 fix(apis/websocket): fix forever stuck Promise 2024-06-24 18:23:22 +07:00
PalmDevs
a6907b16c4 chore(apis/websocket)!: change default port 2024-06-24 18:23:22 +07:00
Pun Butrach
e600cc56f7 chore(apis/websocket): remove unneccessary packages and edit build target 2024-06-24 18:23:22 +07:00
Pun Butrach
d40a9d78cb docs(apis/websocket): minor improvements 2024-06-24 18:23:21 +07:00
PalmDevs
26ad4afc18 chore(apis/websocket): use config.json as example config 2024-06-24 18:23:19 +07:00
PalmDevs
a90e59edb8 refactor(apis/websocket): clean up imports, format, and fix issues 2024-06-24 18:23:19 +07:00
PalmDevs
3e84821c23 chore(apis/websocket): update config schema 2024-06-24 18:23:18 +07:00
PalmDevs
fd7388ac3d chore(apis/websocket): bump dependencies 2024-06-24 18:23:18 +07:00
PalmDevs
05176fbf26 docs(apis/websocket): update docs 2024-06-24 18:23:18 +07:00
PalmDevs
e9638a7713 feat(packages/shared)!: switch to less resource-intensive logger 2024-06-24 18:23:17 +07:00
PalmDevs
17c6be7bee feat(packages/shared): add logger factory
- @revanced/websocket-api now also utilizes the new logger from the shared package
- @revanced/websocket-api/utils/checkEnv has been renamed to its full form
  - It also no longer returns anything as it's no longer needed
2024-06-24 18:23:16 +07:00
PalmDevs
f2d85c32a4 chore: apply code fixes with biome 2024-06-24 18:23:16 +07:00
PalmDevs
a609187174 chore: update scripts 2024-06-24 18:23:15 +07:00
PalmDevs
475ae30c86 chore: add assets and fix README 2024-06-24 18:23:15 +07:00
PalmDevs
fea894e730 docs: fix docs 2024-06-24 18:23:14 +07:00
PalmDevs
306f627cef chore: format and remove unneccessary code 2024-06-24 18:23:14 +07:00
PalmDevs
8d7bd40fb7 chore: update packages metadata 2024-06-24 18:23:13 +07:00
PalmDevs
c97ba54802 chore(apps/server)!: rewrite rename and move to appropriate dir 2024-06-24 18:23:12 +07:00