@bejibun/core 0.1.68 → 0.1.70

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
@@ -3,7 +3,36 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  ---
5
5
 
6
- ## [v0.1.66](https://github.com/crenata/bejibun-core/compare/v0.1.65...v0.1.66) - 2025-12-31
6
+ ## [v0.1.70](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.69...v0.1.70) - 2026-01-19
7
+
8
+ ### 🩹 Fixes
9
+
10
+ ### 📖 Changes
11
+ - Added S3 storage support - [#13](https://github.com/Bejibun-Framework/bejibun-core/pull/13)
12
+
13
+ ### ❤️Contributors
14
+ - Havea Crenata ([@crenata](https://github.com/crenata))
15
+
16
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
17
+
18
+ ---
19
+
20
+ ## [v0.1.69](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.66...v0.1.69) - 2026-01-13
21
+
22
+ ### 🩹 Fixes
23
+ - Router serialize raws into routes - [#11](https://github.com/Bejibun-Framework/bejibun-core/pull/11)
24
+
25
+ ### 📖 Changes
26
+ - Added public URL - [#12](https://github.com/Bejibun-Framework/bejibun-core/pull/12)
27
+
28
+ ### ❤️Contributors
29
+ - Havea Crenata ([@crenata](https://github.com/crenata))
30
+
31
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
32
+
33
+ ---
34
+
35
+ ## [v0.1.66](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.65...v0.1.66) - 2025-12-31
7
36
 
8
37
  ### 🩹 Fixes
9
38
 
@@ -30,25 +59,25 @@ Router.resource("path", YourController, {
30
59
  ### ❤️Contributors
31
60
  - Havea Crenata ([@crenata](https://github.com/crenata))
32
61
 
33
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
62
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
34
63
 
35
64
  ---
36
65
 
37
- ## [v0.1.65](https://github.com/crenata/bejibun-core/compare/v0.1.64...v0.1.65) - 2025-12-29
66
+ ## [v0.1.65](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.64...v0.1.65) - 2025-12-29
38
67
 
39
68
  ### 🩹 Fixes
40
- - Router namespace on group - [#6](https://github.com/crenata/bejibun-core/issues/6)
69
+ - Router namespace on group - [#6](https://github.com/Bejibun-Framework/bejibun-core/issues/6)
41
70
 
42
71
  ### 📖 Changes
43
72
 
44
73
  ### ❤️Contributors
45
74
  - Havea Crenata ([@crenata](https://github.com/crenata))
46
75
 
47
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
76
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
48
77
 
49
78
  ---
50
79
 
51
- ## [v0.1.64](https://github.com/crenata/bejibun-core/compare/v0.1.61...v0.1.64) - 2025-12-25
80
+ ## [v0.1.64](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.61...v0.1.64) - 2025-12-25
52
81
 
53
82
  ### 🩹 Fixes
54
83
 
@@ -108,18 +137,18 @@ await Storage.build({
108
137
  ### ❤️Contributors
109
138
  - Havea Crenata ([@crenata](https://github.com/crenata))
110
139
 
111
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
140
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
112
141
 
113
142
  ---
114
143
 
115
- ## [v0.1.61](https://github.com/crenata/bejibun-core/compare/v0.1.58...v0.1.61) - 2025-12-12
144
+ ## [v0.1.61](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.58...v0.1.61) - 2025-12-12
116
145
 
117
146
  ### 🩹 Fixes
118
- - [@bejibun/cache](https://github.com/crenata/bejibun-cache) Redis connection with Cache own configuration - [#1](https://github.com/crenata/bejibun-core/issues/1)
147
+ - [@bejibun/cache](https://github.com/Bejibun-Framework/bejibun-cache) Redis connection with Cache own configuration - [#1](https://github.com/Bejibun-Framework/bejibun-core/issues/1)
119
148
 
120
149
  ### 📖 Changes
121
150
  What's New :
122
- #### Upgrade [@bejibun/cache](https://github.com/crenata/bejibun-cache) to v0.1.14
151
+ #### Upgrade [@bejibun/cache](https://github.com/Bejibun-Framework/bejibun-cache) to v0.1.14
123
152
  - Adding `ttl` supports for file scheme.
124
153
 
125
154
  #### How does it work?
@@ -135,73 +164,73 @@ If so, the data is returned. Otherwise, the cache file will be deleted and retur
135
164
  ### ❤️Contributors
136
165
  - Ghulje ([@ghulje](https://github.com/ghulje))
137
166
 
138
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
167
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
139
168
 
140
169
  ---
141
170
 
142
- ## [v0.1.60](https://github.com/crenata/bejibun-core/compare/v0.1.58...v0.1.60) - 2025-12-10
171
+ ## [v0.1.60](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.58...v0.1.60) - 2025-12-10
143
172
 
144
173
  ### 🩹 Fixes
145
- - [@bejibun/cache](https://github.com/crenata/bejibun-cache) local with Rate Limiter - [#10](https://github.com/crenata/bejibun-core/issues/10)
174
+ - [@bejibun/cache](https://github.com/Bejibun-Framework/bejibun-cache) local with Rate Limiter - [#10](https://github.com/Bejibun-Framework/bejibun-core/issues/10)
146
175
 
147
176
  ### 📖 Changes
148
177
 
149
178
  ### ❤️Contributors
150
179
  - Ghulje ([@ghulje](https://github.com/ghulje))
151
180
 
152
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
181
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
153
182
 
154
183
  ---
155
184
 
156
- ## [v0.1.58](https://github.com/crenata/bejibun-core/compare/v0.1.57...v0.1.58) - 2025-12-09
185
+ ## [v0.1.58](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.57...v0.1.58) - 2025-12-09
157
186
 
158
187
  ### 🩹 Fixes
159
188
 
160
189
  ### 📖 Changes
161
- #### Upgrade [@bejibun/utils](https://github.com/crenata/bejibun-utils) to v0.1.25
190
+ #### Upgrade [@bejibun/utils](https://github.com/Bejibun-Framework/bejibun-utils) to v0.1.25
162
191
  - Implement `serialize` and `parseFormData` to `BaseController` for cleaner data and more actual data validation.
163
192
 
164
193
  ### ❤️Contributors
165
194
  - Ghulje ([@ghulje](https://github.com/ghulje))
166
195
 
167
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
196
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
168
197
 
169
198
  ---
170
199
 
171
- ## [v0.1.57](https://github.com/crenata/bejibun-core/compare/v0.1.55...v0.1.57) - 2025-12-05
200
+ ## [v0.1.57](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.55...v0.1.57) - 2025-12-05
172
201
 
173
202
  ### 🩹 Fixes
174
- - Hang, when redis not connected - [#7](https://github.com/crenata/bejibun-core/issues/7)
175
- - Handling for invalid syntax validation - [#8](https://github.com/crenata/bejibun-core/issues/8)
176
- - Body serialize for empty form data field - [#9](https://github.com/crenata/bejibun-core/issues/9)
203
+ - Hang, when redis not connected - [#7](https://github.com/Bejibun-Framework/bejibun-core/issues/7)
204
+ - Handling for invalid syntax validation - [#8](https://github.com/Bejibun-Framework/bejibun-core/issues/8)
205
+ - Body serialize for empty form data field - [#9](https://github.com/Bejibun-Framework/bejibun-core/issues/9)
177
206
 
178
- #### [@bejibun/utils](https://github.com/crenata/bejibun-utils)
179
- - Empty validation for file - [#1](https://github.com/crenata/bejibun-utils/issues/1)
207
+ #### [@bejibun/utils](https://github.com/Bejibun-Framework/bejibun-utils)
208
+ - Empty validation for file - [#1](https://github.com/Bejibun-Framework/bejibun-utils/issues/1)
180
209
 
181
210
  ### 📖 Changes
182
- #### Upgrade [@bejibun/utils](https://github.com/crenata/bejibun-utils) to v0.1.23
211
+ #### Upgrade [@bejibun/utils](https://github.com/Bejibun-Framework/bejibun-utils) to v0.1.23
183
212
  - Empty validation for file
184
213
 
185
- #### Upgrade [@bejibun/cache](https://github.com/crenata/bejibun-cache) to v0.1.12
214
+ #### Upgrade [@bejibun/cache](https://github.com/Bejibun-Framework/bejibun-cache) to v0.1.12
186
215
  - Adding `local` connection for file schema.
187
216
 
188
- Now, [@bejibun/cache](https://github.com/crenata/bejibun-cache) has local and redis for cache system.
217
+ Now, [@bejibun/cache](https://github.com/Bejibun-Framework/bejibun-cache) has local and redis for cache system.
189
218
  If the connection use local, this will cache data as file on storage/cache.
190
219
 
191
220
  ### ❤️Contributors
192
221
  - Havea Crenata ([@crenata](https://github.com/crenata))
193
222
 
194
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
223
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
195
224
 
196
225
  ---
197
226
 
198
- ## [v0.1.55](https://github.com/crenata/bejibun-core/compare/v0.1.54...v0.1.55) - 2025-11-29
227
+ ## [v0.1.55](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.54...v0.1.55) - 2025-11-29
199
228
 
200
229
  ### 🩹 Fixes
201
- - Body parser for multiple keys - [#2](https://github.com/crenata/bejibun-core/issues/2)
202
- - x402 on nester router - [#3](https://github.com/crenata/bejibun-core/issues/3)
203
- - Storage directory undefined - [#4](https://github.com/crenata/bejibun-core/issues/4)
204
- - Unknown actual error on runtime exception - [#5](https://github.com/crenata/bejibun-core/issues/5)
230
+ - Body parser for multiple keys - [#2](https://github.com/Bejibun-Framework/bejibun-core/issues/2)
231
+ - x402 on nester router - [#3](https://github.com/Bejibun-Framework/bejibun-core/issues/3)
232
+ - Storage directory undefined - [#4](https://github.com/Bejibun-Framework/bejibun-core/issues/4)
233
+ - Unknown actual error on runtime exception - [#5](https://github.com/Bejibun-Framework/bejibun-core/issues/5)
205
234
 
206
235
  ### 📖 Changes
207
236
  - Storage adjustment: random string filename.
@@ -209,11 +238,11 @@ If the connection use local, this will cache data as file on storage/cache.
209
238
  ### ❤️Contributors
210
239
  - Havea Crenata ([@crenata](https://github.com/crenata))
211
240
 
212
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
241
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
213
242
 
214
243
  ---
215
244
 
216
- ## [v0.1.54](https://github.com/crenata/bejibun-core/compare/v0.1.53...v0.1.54) - 2025-11-28
245
+ ## [v0.1.54](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.53...v0.1.54) - 2025-11-28
217
246
 
218
247
  ### 🩹 Fixes
219
248
  - Fix x402 middleware for optional
@@ -223,11 +252,11 @@ If the connection use local, this will cache data as file on storage/cache.
223
252
  ### ❤️Contributors
224
253
  - Ghulje ([@ghulje](https://github.com/ghulje))
225
254
 
226
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
255
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
227
256
 
228
257
  ---
229
258
 
230
- ## [v0.1.53](https://github.com/crenata/bejibun-core/compare/v0.1.52...v0.1.53) - 2025-11-24
259
+ ## [v0.1.53](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.52...v0.1.53) - 2025-11-24
231
260
 
232
261
  ### 🩹 Fixes
233
262
 
@@ -244,11 +273,11 @@ Available `Rate Limiter` functions :
244
273
  - Havea Crenata ([@crenata](https://github.com/crenata))
245
274
  - Ghulje ([@ghulje](https://github.com/ghulje))
246
275
 
247
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
276
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
248
277
 
249
278
  ---
250
279
 
251
- ## [v0.1.52](https://github.com/crenata/bejibun-core/compare/v0.1.51...v0.1.52) - 2025-11-17
280
+ ## [v0.1.52](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.51...v0.1.52) - 2025-11-17
252
281
 
253
282
  ### 🩹 Fixes
254
283
 
@@ -272,11 +301,11 @@ Router.x402()
272
301
  - Havea Crenata ([@crenata](https://github.com/crenata))
273
302
  - Ghulje ([@ghulje](https://github.com/ghulje))
274
303
 
275
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
304
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
276
305
 
277
306
  ---
278
307
 
279
- ## [v0.1.51](https://github.com/crenata/bejibun-core/compare/v0.1.49...v0.1.51) - 2025-11-04
308
+ ## [v0.1.51](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.49...v0.1.51) - 2025-11-04
280
309
 
281
310
  ### 🩹 Fixes
282
311
 
@@ -310,11 +339,11 @@ So when user runs `bun ace` your command will appear in the list.
310
339
  ### ❤️Contributors
311
340
  - Ghulje ([@ghulje](https://github.com/ghulje))
312
341
 
313
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
342
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
314
343
 
315
344
  ---
316
345
 
317
- ## [v0.1.49](https://github.com/crenata/bejibun-core/compare/v0.1.47...v0.1.49) - 2025-10-27
346
+ ## [v0.1.49](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.47...v0.1.49) - 2025-10-27
318
347
 
319
348
  ### 🩹 Fixes
320
349
 
@@ -327,11 +356,11 @@ What's New :
327
356
  - Havea Crenata ([@crenata](https://github.com/crenata))
328
357
  - Ghulje ([@ghulje](https://github.com/ghulje))
329
358
 
330
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
359
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
331
360
 
332
361
  ---
333
362
 
334
- ## [v0.1.47](https://github.com/crenata/bejibun-core/compare/v0.1.44...v0.1.47) - 2025-10-26
363
+ ## [v0.1.47](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.44...v0.1.47) - 2025-10-26
335
364
 
336
365
  ### 🩹 Fixes
337
366
 
@@ -345,11 +374,11 @@ What's New :
345
374
  - Havea Crenata ([@crenata](https://github.com/crenata))
346
375
  - Ghulje ([@ghulje](https://github.com/ghulje))
347
376
 
348
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
377
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
349
378
 
350
379
  ---
351
380
 
352
- ## [v0.1.44](https://github.com/crenata/bejibun-core/compare/v0.1.43...v0.1.44) - 2025-10-22
381
+ ## [v0.1.44](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.43...v0.1.44) - 2025-10-22
353
382
 
354
383
  ### 🩹 Fixes
355
384
 
@@ -364,11 +393,11 @@ What's New :
364
393
  - Havea Crenata ([@crenata](https://github.com/crenata))
365
394
  - Ghulje ([@ghulje](https://github.com/ghulje))
366
395
 
367
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
396
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
368
397
 
369
398
  ---
370
399
 
371
- ## [v0.1.43](https://github.com/crenata/bejibun-core/compare/v0.1.42...v0.1.43) - 2025-10-21
400
+ ## [v0.1.43](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.42...v0.1.43) - 2025-10-21
372
401
 
373
402
  ### 🩹 Fixes
374
403
 
@@ -382,11 +411,11 @@ What's New :
382
411
  - Havea Crenata ([@crenata](https://github.com/crenata))
383
412
  - Ghulje ([@ghulje](https://github.com/ghulje))
384
413
 
385
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
414
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
386
415
 
387
416
  ---
388
417
 
389
- ## [v0.1.42](https://github.com/crenata/bejibun-core/compare/v0.1.41...v0.1.42) - 2025-10-21
418
+ ## [v0.1.42](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.41...v0.1.42) - 2025-10-21
390
419
 
391
420
  ### 🩹 Fixes
392
421
  - Fix controller path on router builder
@@ -401,11 +430,11 @@ What's New :
401
430
  - Havea Crenata ([@crenata](https://github.com/crenata))
402
431
  - Ghulje ([@ghulje](https://github.com/ghulje))
403
432
 
404
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
433
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
405
434
 
406
435
  ---
407
436
 
408
- ## [v0.1.41](https://github.com/crenata/bejibun-core/compare/v0.1.40...v0.1.41) - 2025-10-20
437
+ ## [v0.1.41](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.40...v0.1.41) - 2025-10-20
409
438
 
410
439
  ### 🩹 Fixes
411
440
 
@@ -418,11 +447,11 @@ Chore :
418
447
  - Havea Crenata ([@crenata](https://github.com/crenata))
419
448
  - Ghulje ([@ghulje](https://github.com/ghulje))
420
449
 
421
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
450
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
422
451
 
423
452
  ---
424
453
 
425
- ## [v0.1.40](https://github.com/crenata/bejibun-core/compare/v0.1.39...v0.1.40) - 2025-10-19
454
+ ## [v0.1.40](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.39...v0.1.40) - 2025-10-19
426
455
 
427
456
  ### 🩹 Fixes
428
457
  - Fix router any invalid route structure
@@ -437,11 +466,11 @@ What's New :
437
466
  - Havea Crenata ([@crenata](https://github.com/crenata))
438
467
  - Ghulje ([@ghulje](https://github.com/ghulje))
439
468
 
440
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
469
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
441
470
 
442
471
  ---
443
472
 
444
- ## [v0.1.39](https://github.com/crenata/bejibun-core/compare/v0.1.38...v0.1.39) - 2025-10-17
473
+ ## [v0.1.39](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.38...v0.1.39) - 2025-10-17
445
474
 
446
475
  ### 🩹 Fixes
447
476
  - Fix load database configuration on bootstrap & base model
@@ -452,11 +481,11 @@ What's New :
452
481
  - Havea Crenata ([@crenata](https://github.com/crenata))
453
482
  - Ghulje ([@ghulje](https://github.com/ghulje))
454
483
 
455
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
484
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
456
485
 
457
486
  ---
458
487
 
459
- ## [v0.1.38](https://github.com/crenata/bejibun-core/compare/v0.1.36...v0.1.38) - 2025-10-17
488
+ ## [v0.1.38](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.36...v0.1.38) - 2025-10-17
460
489
 
461
490
  ### 🩹 Fixes
462
491
 
@@ -476,11 +505,11 @@ Available Commands :
476
505
  - Havea Crenata ([@crenata](https://github.com/crenata))
477
506
  - Ghulje ([@ghulje](https://github.com/ghulje))
478
507
 
479
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
508
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
480
509
 
481
510
  ---
482
511
 
483
- ## [v0.1.36](https://github.com/crenata/bejibun-core/compare/v0.1.35...v0.1.36) - 2025-10-14
512
+ ## [v0.1.36](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.35...v0.1.36) - 2025-10-14
484
513
 
485
514
  ### 🩹 Fixes
486
515
 
@@ -496,11 +525,11 @@ Refactors :
496
525
  - Havea Crenata ([@crenata](https://github.com/crenata))
497
526
  - Ghulje ([@ghulje](https://github.com/ghulje))
498
527
 
499
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
528
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
500
529
 
501
530
  ---
502
531
 
503
- ## [v0.1.35](https://github.com/crenata/bejibun-core/compare/v0.1.23...v0.1.35) - 2025-10-14
532
+ ## [v0.1.35](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.23...v0.1.35) - 2025-10-14
504
533
 
505
534
  ### 🩹 Fixes
506
535
 
@@ -512,11 +541,11 @@ Update build indexing
512
541
  - Havea Crenata ([@crenata](https://github.com/crenata))
513
542
  - Ghulje ([@ghulje](https://github.com/ghulje))
514
543
 
515
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
544
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
516
545
 
517
546
  ---
518
547
 
519
- ## [v0.1.23](https://github.com/crenata/bejibun-core/compare/v0.1.18...v0.1.23) - 2025-10-14
548
+ ## [v0.1.23](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.18...v0.1.23) - 2025-10-14
520
549
 
521
550
  ### 🩹 Fixes
522
551
 
@@ -533,11 +562,11 @@ What's New :
533
562
  - Havea Crenata ([@crenata](https://github.com/crenata))
534
563
  - Ghulje ([@ghulje](https://github.com/ghulje))
535
564
 
536
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
565
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
537
566
 
538
567
  ---
539
568
 
540
- ## [v0.1.18](https://github.com/crenata/bejibun-core/compare/v0.1.0...v0.1.18) - 2025-10-12
569
+ ## [v0.1.18](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.1.0...v0.1.18) - 2025-10-12
541
570
 
542
571
  ### 🩹 Fixes
543
572
 
@@ -551,4 +580,4 @@ What's New :
551
580
  - Havea Crenata ([@crenata](https://github.com/crenata))
552
581
  - Ghulje ([@ghulje](https://github.com/ghulje))
553
582
 
554
- **Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
583
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Havea Crenata
3
+ Copyright (c) 2025 Bejibun Framework
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  <div align="center">
2
2
 
3
- <img src="https://github.com/crenata/bejibun/blob/master/public/images/bejibun.png?raw=true" width="150" alt="Bejibun" />
3
+ <img src="https://github.com/Bejibun-Framework/bejibun/blob/master/public/images/bejibun.png?raw=true" width="150" alt="Bejibun" />
4
4
 
5
- ![GitHub top language](https://img.shields.io/github/languages/top/crenata/bejibun-core)
6
- ![GitHub all releases](https://img.shields.io/github/downloads/crenata/bejibun-core/total)
7
- ![GitHub issues](https://img.shields.io/github/issues/crenata/bejibun-core)
8
- ![GitHub](https://img.shields.io/github/license/crenata/bejibun-core)
9
- ![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/crenata/bejibun-core?display_name=tag&include_prereleases)
5
+ ![GitHub top language](https://img.shields.io/github/languages/top/Bejibun-Framework/bejibun-core)
6
+ ![GitHub all releases](https://img.shields.io/github/downloads/Bejibun-Framework/bejibun-core/total)
7
+ ![GitHub issues](https://img.shields.io/github/issues/Bejibun-Framework/bejibun-core)
8
+ ![GitHub](https://img.shields.io/github/license/Bejibun-Framework/bejibun-core)
9
+ ![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/Bejibun-Framework/bejibun-core?display_name=tag&include_prereleases)
10
10
 
11
11
  </div>
12
12
 
@@ -217,44 +217,34 @@ import TestModel from "@/app/models/TestModel";
217
217
 
218
218
  export default class TestValidator extends BaseValidator {
219
219
  public static get detail(): ValidatorType {
220
- return super.validator.compile(
221
- super.validator.object({
222
- id: super.validator.number().min(1).exists(TestModel, "id")
223
- })
224
- );
220
+ return super.validator.create({
221
+ id: super.validator.number().min(1).exists(TestModel, "id")
222
+ });
225
223
  }
226
224
 
227
225
  public static get add(): ValidatorType {
228
- return super.validator.compile(
229
- super.validator.object({
230
- name: super.validator.string()
231
- })
232
- );
226
+ return super.validator.create({
227
+ name: super.validator.string()
228
+ });
233
229
  }
234
230
 
235
231
  public static get edit(): ValidatorType {
236
- return super.validator.compile(
237
- super.validator.object({
238
- id: super.validator.number().min(1).exists(TestModel, "id"),
239
- name: super.validator.string()
240
- })
241
- );
232
+ return super.validator.create({
233
+ id: super.validator.number().min(1).exists(TestModel, "id"),
234
+ name: super.validator.string()
235
+ });
242
236
  }
243
237
 
244
238
  public static get delete(): ValidatorType {
245
- return super.validator.compile(
246
- super.validator.object({
247
- id: super.validator.number().min(1).exists(TestModel, "id")
248
- })
249
- );
239
+ return super.validator.create({
240
+ id: super.validator.number().min(1).exists(TestModel, "id")
241
+ });
250
242
  }
251
243
 
252
244
  public static get restore(): ValidatorType {
253
- return super.validator.compile(
254
- super.validator.object({
255
- id: super.validator.number().min(1).exists(TestModel, "id", true)
256
- })
257
- );
245
+ return super.validator.create({
246
+ id: super.validator.number().min(1).exists(TestModel, "id", true)
247
+ });
258
248
  }
259
249
  }
260
250
  ```
@@ -577,10 +567,10 @@ await Storage.build({
577
567
  ```
578
568
 
579
569
  ### Cors
580
- Documentation : [@bejibun/cors](https://github.com/crenata/bejibun-cors/blob/master/README.md)
570
+ Documentation : [@bejibun/cors](https://github.com/Bejibun-Framework/bejibun-cors/blob/master/README.md)
581
571
 
582
572
  ### Cache
583
- Documentation : [@bejibun/cache](https://github.com/crenata/bejibun-cache/blob/master/README.md)
573
+ Documentation : [@bejibun/cache](https://github.com/Bejibun-Framework/bejibun-cache/blob/master/README.md)
584
574
 
585
575
  ### Ace
586
576
  Any commands for development
@@ -630,7 +620,7 @@ If you find this project helpful and want to support it, you can donate via cryp
630
620
 
631
621
  | EVM | Solana |
632
622
  | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
633
- | <img src="https://github.com/crenata/bejibun/blob/master/public/images/EVM.png?raw=true" width="150" /> | <img src="https://github.com/crenata/bejibun/blob/master/public/images/SOL.png?raw=true" width="150" /> |
623
+ | <img src="https://github.com/Bejibun-Framework/bejibun/blob/master/public/images/EVM.png?raw=true" width="150" /> | <img src="https://github.com/Bejibun-Framework/bejibun/blob/master/public/images/SOL.png?raw=true" width="150" /> |
634
624
  | 0xdABe8750061410D35cE52EB2a418c8cB004788B3 | GAnoyvy9p3QFyxikWDh9hA3fmSk2uiPLNWyQ579cckMn |
635
625
 
636
626
  Or you can buy this `$BJBN (Bejibun)` tokens [here](https://pump.fun/coin/CQhbNnCGKfDaKXt8uE61i5DrBYJV7NPsCDD9vQgypump), beware of bots.
@@ -201,6 +201,8 @@ export default class RouterBuilder {
201
201
  if (this.hasRaw(routes))
202
202
  routes = routes.route;
203
203
  }
204
+ if ("raws" in routes)
205
+ routes = routes.routes;
204
206
  const mergedRoutes = this.mergeRoutes(routes);
205
207
  if (Array.isArray(mergedRoutes))
206
208
  return Object.assign({}, ...mergedRoutes);
@@ -7,6 +7,7 @@ export default class StorageBuilder {
7
7
  private get config();
8
8
  private get currentDisk();
9
9
  private get driver();
10
+ private get s3();
10
11
  build(overrideDisk: StorageDisk): StorageBuilder;
11
12
  disk(drive: string): StorageBuilder;
12
13
  exists(filepath: string): Promise<boolean>;
@@ -39,11 +39,30 @@ export default class StorageBuilder {
39
39
  if (isEmpty(this.currentDisk?.root))
40
40
  throw new DiskException(`Missing "root" for "local" disk configuration.`);
41
41
  break;
42
+ case DiskDriverEnum.S3:
43
+ if (isEmpty(this.currentDisk?.endpoint))
44
+ throw new DiskException(`Missing "endpoint" for "s3" disk configuration.`);
45
+ if (isEmpty(this.currentDisk?.access_key_id))
46
+ throw new DiskException(`Missing "access_key_id" for "s3" disk configuration.`);
47
+ if (isEmpty(this.currentDisk?.secret_access_key))
48
+ throw new DiskException(`Missing "secret_access_key" for "s3" disk configuration.`);
49
+ break;
42
50
  default:
43
51
  break;
44
52
  }
45
53
  return driver;
46
54
  }
55
+ get s3() {
56
+ if (this.driver !== DiskDriverEnum.S3)
57
+ throw new DiskException(`Driver is not "s3".`);
58
+ return new Bun.S3Client({
59
+ endpoint: this.currentDisk?.endpoint,
60
+ region: this.currentDisk?.region,
61
+ bucket: this.currentDisk?.bucket,
62
+ accessKeyId: this.currentDisk?.access_key_id,
63
+ secretAccessKey: this.currentDisk?.secret_access_key
64
+ });
65
+ }
47
66
  build(overrideDisk) {
48
67
  this.overrideDisk = overrideDisk;
49
68
  return this;
@@ -58,6 +77,8 @@ export default class StorageBuilder {
58
77
  switch (this.driver) {
59
78
  case DiskDriverEnum.Local:
60
79
  return await Bun.file(path.resolve(this.currentDisk.root, filepath)).exists();
80
+ case DiskDriverEnum.S3:
81
+ return await this.s3.file(filepath).exists();
61
82
  default:
62
83
  return false;
63
84
  }
@@ -75,6 +96,9 @@ export default class StorageBuilder {
75
96
  case DiskDriverEnum.Local:
76
97
  data = await Bun.file(path.resolve(this.currentDisk.root, filepath)).text();
77
98
  break;
99
+ case DiskDriverEnum.S3:
100
+ data = await this.s3.file(filepath).text();
101
+ break;
78
102
  default:
79
103
  break;
80
104
  }
@@ -90,6 +114,9 @@ export default class StorageBuilder {
90
114
  case DiskDriverEnum.Local:
91
115
  await Bun.write(path.resolve(this.currentDisk.root, filepath), content);
92
116
  break;
117
+ case DiskDriverEnum.S3:
118
+ await this.s3.write(filepath, content);
119
+ break;
93
120
  default:
94
121
  break;
95
122
  }
@@ -105,6 +132,9 @@ export default class StorageBuilder {
105
132
  case DiskDriverEnum.Local:
106
133
  await Bun.file(path.resolve(this.currentDisk.root, filepath)).delete();
107
134
  break;
135
+ case DiskDriverEnum.S3:
136
+ await this.s3.file(filepath).delete();
137
+ break;
108
138
  default:
109
139
  break;
110
140
  }
package/config/disk.js CHANGED
@@ -11,6 +11,15 @@ const config = {
11
11
  driver: DiskDriverEnum.Local,
12
12
  root: App.Path.storagePath("app/public"),
13
13
  url: `${Bun.env.APP_URL}/storage/public`
14
+ },
15
+ s3: {
16
+ driver: DiskDriverEnum.S3,
17
+ endpoint: Bun.env.S3_ENDPOINT,
18
+ region: Bun.env.S3_REGION,
19
+ bucket: Bun.env.S3_BUCKET,
20
+ access_key_id: Bun.env.S3_ACCESS_KEY_ID,
21
+ secret_access_key: Bun.env.S3_SECRET_ACCESS_KEY,
22
+ url: ""
14
23
  }
15
24
  }
16
25
  };
@@ -6,5 +6,5 @@ import RuntimeException from "../exceptions/RuntimeException";
6
6
  import ValidatorException from "../exceptions/ValidatorException";
7
7
  export default class ExceptionHandler {
8
8
  handle(error: Bun.ErrorLike | ModelNotFoundException | RateLimiterException | RouterException | RuntimeException | ValidatorException | ValidationError): globalThis.Response;
9
- route(request: Bun.BunRequest): globalThis.Response;
9
+ route(request: Bun.BunRequest): Promise<globalThis.Response>;
10
10
  }
@@ -1,3 +1,4 @@
1
+ import App from "@bejibun/app";
1
2
  import Logger from "@bejibun/logger";
2
3
  import { defineValue } from "@bejibun/utils";
3
4
  import HttpMethodEnum from "@bejibun/utils/enums/HttpMethodEnum";
@@ -30,7 +31,11 @@ export default class ExceptionHandler {
30
31
  .setStatus(500)
31
32
  .send();
32
33
  }
33
- route(request) {
34
+ async route(request) {
35
+ const url = new URL(request.url);
36
+ const file = Bun.file(App.Path.publicPath(url.pathname.replace(/^\//, "")));
37
+ if (await file.exists())
38
+ return new globalThis.Response(file);
34
39
  return Response
35
40
  .setMessage("What are you looking for doesn't exists.")
36
41
  .setStatus(request.method === HttpMethodEnum.Options ? 204 : 404)
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@bejibun/core",
3
- "version": "0.1.68",
3
+ "version": "0.1.70",
4
4
  "author": "Havea Crenata <havea.crenata@gmail.com>",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/crenata/bejibun-core.git"
7
+ "url": "git+https://github.com/Bejibun-Framework/bejibun-core.git"
8
8
  },
9
9
  "main": "index.js",
10
10
  "module": "index.js",
11
11
  "dependencies": {
12
- "@bejibun/app": "^0.1.22",
12
+ "@bejibun/app": "^0.1.23",
13
13
  "@bejibun/cache": "^0.1.18",
14
14
  "@bejibun/cors": "^0.1.16",
15
15
  "@bejibun/database": "^0.1.19",
@@ -27,10 +27,10 @@
27
27
  "tsc-alias": "^1.8.16"
28
28
  },
29
29
  "bugs": {
30
- "url": "https://github.com/crenata/bejibun-core/issues"
30
+ "url": "https://github.com/Bejibun-Framework/bejibun-core/issues"
31
31
  },
32
32
  "description": "Core of Bejibun Framework",
33
- "homepage": "https://github.com/crenata/bejibun-core#readme",
33
+ "homepage": "https://github.com/Bejibun-Framework/bejibun-core#readme",
34
34
  "keywords": [
35
35
  "bun",
36
36
  "bun framework",