@trebired/logger 2.1.1 → 2.3.0

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/LICENSE +661 -21
  3. package/README.md +12 -2
  4. package/dist/core/create_log.d.ts.map +1 -1
  5. package/dist/core/create_log.js +71 -0
  6. package/dist/core/create_log.js.map +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/storage/backend/index.d.ts +2 -1
  10. package/dist/storage/backend/index.d.ts.map +1 -1
  11. package/dist/storage/backend/index.js +6 -1
  12. package/dist/storage/backend/index.js.map +1 -1
  13. package/dist/storage/backend/js.d.ts.map +1 -1
  14. package/dist/storage/backend/js.js +15 -1
  15. package/dist/storage/backend/js.js.map +1 -1
  16. package/dist/storage/backend/native.d.ts +2 -1
  17. package/dist/storage/backend/native.d.ts.map +1 -1
  18. package/dist/storage/backend/native.js +11 -9
  19. package/dist/storage/backend/native.js.map +1 -1
  20. package/dist/storage/backend/types.d.ts +10 -1
  21. package/dist/storage/backend/types.d.ts.map +1 -1
  22. package/dist/storage/partitions/delete.d.ts +2 -1
  23. package/dist/storage/partitions/delete.d.ts.map +1 -1
  24. package/dist/storage/partitions/delete.js +10 -1
  25. package/dist/storage/partitions/delete.js.map +1 -1
  26. package/dist/storage/partitions/files.d.ts +2 -7
  27. package/dist/storage/partitions/files.d.ts.map +1 -1
  28. package/dist/storage/partitions/files.js +2 -86
  29. package/dist/storage/partitions/files.js.map +1 -1
  30. package/dist/storage/partitions/public.d.ts +2 -2
  31. package/dist/storage/partitions/public.d.ts.map +1 -1
  32. package/dist/storage/partitions/public.js +2 -2
  33. package/dist/storage/partitions/public.js.map +1 -1
  34. package/dist/storage/partitions/records.d.ts +3 -2
  35. package/dist/storage/partitions/records.d.ts.map +1 -1
  36. package/dist/storage/partitions/records.js +31 -7
  37. package/dist/storage/partitions/records.js.map +1 -1
  38. package/dist/storage/partitions/rewrite.d.ts +18 -0
  39. package/dist/storage/partitions/rewrite.d.ts.map +1 -0
  40. package/dist/storage/partitions/rewrite.js +102 -0
  41. package/dist/storage/partitions/rewrite.js.map +1 -0
  42. package/dist/storage/partitions/transforms.d.ts.map +1 -1
  43. package/dist/storage/partitions/transforms.js +14 -3
  44. package/dist/storage/partitions/transforms.js.map +1 -1
  45. package/dist/storage/query/rows.d.ts +7 -0
  46. package/dist/storage/query/rows.d.ts.map +1 -0
  47. package/dist/storage/query/rows.js +46 -0
  48. package/dist/storage/query/rows.js.map +1 -0
  49. package/dist/storage/query/shared.d.ts +13 -0
  50. package/dist/storage/query/shared.d.ts.map +1 -0
  51. package/dist/storage/query/shared.js +37 -0
  52. package/dist/storage/query/shared.js.map +1 -0
  53. package/dist/storage/query/summary.d.ts +12 -0
  54. package/dist/storage/query/summary.d.ts.map +1 -0
  55. package/dist/storage/query/summary.js +108 -0
  56. package/dist/storage/query/summary.js.map +1 -0
  57. package/dist/storage/query.d.ts +3 -8
  58. package/dist/storage/query.d.ts.map +1 -1
  59. package/dist/storage/query.js +4 -179
  60. package/dist/storage/query.js.map +1 -1
  61. package/dist/types/export.d.ts +1 -0
  62. package/dist/types/export.d.ts.map +1 -1
  63. package/dist/types/index.d.ts +1 -1
  64. package/dist/types/index.d.ts.map +1 -1
  65. package/dist/types/partitions.d.ts +8 -1
  66. package/dist/types/partitions.d.ts.map +1 -1
  67. package/dist/types/server.d.ts +2 -2
  68. package/dist/types/server.d.ts.map +1 -1
  69. package/dist/utils/size.d.ts +2 -1
  70. package/dist/utils/size.d.ts.map +1 -1
  71. package/dist/utils/size.js +7 -1
  72. package/dist/utils/size.js.map +1 -1
  73. package/native/darwin-arm64.node +0 -0
  74. package/native/darwin-x64.node +0 -0
  75. package/native/linux-arm64-gnu.node +0 -0
  76. package/native/linux-x64-gnu.node +0 -0
  77. package/package.json +5 -3
package/CHANGELOG.md CHANGED
@@ -4,7 +4,18 @@ All notable changes to `@trebired/logger` will be documented here.
4
4
 
5
5
  This project follows semantic versioning once published.
6
6
 
7
- ## Unreleased
7
+ ## 2.3.0
8
+
9
+ - Changed native storage loading to try the bundled native backend by default in all runtimes, fall back to the JS backend automatically on load failure, and use `TB_LOGGER_DISABLE_NATIVE=1` as the explicit opt-out switch.
10
+ - Added Linux ARM64 GNU to the bundled native release matrix for npm publish and package verification.
11
+
12
+ ## 2.2.0
13
+
14
+ - Changed the project license from MIT to GNU AGPL-3.0.
15
+ - Added automatic cleanup for temporary partitions that are no longer current so stale temp partitions are deleted during partition switches, promotions, logger dir changes, and shutdown.
16
+ - Added partition size reporting in megabytes alongside raw bytes, plus combined `listPartitions()` totals across all returned partitions.
17
+ - Expanded the native Rust backend to rewrite partition files during copy, move, rename, and merge flows instead of leaving that work in TypeScript.
18
+ - Refactored the native crate into focused modules for scan, rewrite, archive, log-file helpers, and shared utilities, and split storage query helpers into dedicated TypeScript modules for easier maintenance.
8
19
 
9
20
  ## 2.1.1
10
21