toiljs 0.0.140 → 0.0.142
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 +14 -0
- package/TYPESCRIPT_LAW.md +7 -0
- package/build/cli/index.js +389 -375
- package/build/compiler/config.d.ts +2 -0
- package/build/compiler/config.js +3 -0
- package/build/compiler/index.js +1 -1
- package/build/compiler/toil-docs.generated.js +4 -4
- package/build/devserver/daemon/host.d.ts +1 -0
- package/build/devserver/daemon/index.d.ts +2 -0
- package/build/devserver/daemon/index.js +1 -0
- package/build/devserver/daemon/rpc.d.ts +3 -0
- package/build/devserver/daemon/rpc.js +37 -0
- package/build/devserver/daemon/runtime.d.ts +9 -1
- package/build/devserver/daemon/runtime.js +63 -2
- package/build/devserver/daemon/storage.d.ts +35 -0
- package/build/devserver/daemon/storage.js +200 -0
- package/build/devserver/daemon/worker.d.ts +1 -0
- package/build/devserver/daemon/worker.js +42 -0
- package/build/devserver/db/database.d.ts +2 -1
- package/build/devserver/db/database.js +4 -1
- package/build/devserver/db/limits.d.ts +8 -1
- package/build/devserver/db/limits.js +14 -0
- package/build/devserver/db/materialization.d.ts +1 -0
- package/build/devserver/db/materialization.js +13 -0
- package/build/devserver/production.js +7 -6
- package/build/devserver/runtime/host.js +2 -1
- package/build/devserver/runtime/logging.d.ts +1 -0
- package/build/devserver/runtime/logging.js +83 -0
- package/build/devserver/server.js +5 -4
- package/package.json +25 -22
- package/server/globals/toil-log.ts +21 -0
- package/server/globals.d.ts +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.0.142] - 2026-11-22
|
|
4
|
+
|
|
5
|
+
- Upgrade Babel, Juice, Nodemailer, Oxlint's TypeScript checker, and the Vitest test stack. Refresh the root and example lockfiles.
|
|
6
|
+
- Handle the npm argument separator in the CLI and keep help available offline.
|
|
7
|
+
- Require static imports at the top of TypeScript files.
|
|
8
|
+
|
|
9
|
+
## [v0.0.141] - 2026-11-17
|
|
10
|
+
|
|
11
|
+
- Run L4 in a dedicated worker thread alongside L1 with `server.daemon.enabled`, sharing the server database while keeping daemon startup, scheduled jobs, reloads, and background materializers off the request event loop.
|
|
12
|
+
- Support `console.log`, `info`, `debug`, `warn`, and `error` across compiled server tiers, including ordinary classes with `toJSON()` or `toString()`, JSON values, arrays, and safe terminal colors. No base class or decorator is required for custom serializers.
|
|
13
|
+
- Escape terminal commands, control characters, bidirectional markers, and forged line breaks at the logging host boundary; validate color sequences and close colors before later records. Preserve message and invocation limits. Native deployments should include the matching toil-backend console hardening.
|
|
14
|
+
- Upgrade runtime, development, peer, example, and generated starter dependencies to current stable versions, refresh lockfiles, and require ToilScript 0.1.68 with stable Binaryen 132 and the current AssemblyScript changes.
|
|
15
|
+
- Use patched glob matching in repository browser tooling and exclude generated editor declarations from starter packages and version control.
|
|
16
|
+
|
|
3
17
|
## [v0.0.140] - 2026-11-08
|
|
4
18
|
|
|
5
19
|
- Remove the 500-file and directory-depth limits from server source discovery so all server surfaces are compiled.
|
package/TYPESCRIPT_LAW.md
CHANGED
|
@@ -12111,6 +12111,13 @@ function experimentalFeature(): void {
|
|
|
12111
12111
|
|
|
12112
12112
|
### 12.1.1 Module Syntax
|
|
12113
12113
|
|
|
12114
|
+
Use static ESM imports grouped at the top of every file, immediately after its license
|
|
12115
|
+
header and module documentation. Use `import type { Name } from './module.js'` for
|
|
12116
|
+
types and refer to `Name` in annotations. Inline import types such as
|
|
12117
|
+
`import('./module.js').Name` and dynamic `import()` expressions are forbidden.
|
|
12118
|
+
Do not place imports after declarations or inside functions, and do not use dynamic
|
|
12119
|
+
loading to avoid declaring a module dependency at the top of the file.
|
|
12120
|
+
|
|
12114
12121
|
```typescript
|
|
12115
12122
|
/**
|
|
12116
12123
|
* Use ESM exclusively. CommonJS prevents tree-shaking.
|