@procedures/s3 0.1.0 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @procedures/s3
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 76d0d64: **Breaking:** an import of a package registers nothing. The `./register` entry of a package registers its procedures, and the procedures of the modules that they need, in the global registry (ARCHITECTURE-PROPOSALS-2026-10, P9).
8
+
9
+ - `import "@procedures/git"` gives the exports and registers nothing. Use `import "@procedures/git/register"`, or give `gitModule` (`@procedures/git/module`) to `createRegistry()`.
10
+ - `import "@procedures/client/register"` registers the control flow (`client.chain` and the others) and `procedure.define`/`get`/`list`/`delete`. `createRegistry()` adds them to each new registry, as before. The new `registerClientProcedures(registry?)` does the same for any registry.
11
+ - Each `register<Name>Procedures(registry?)` function is in the module of its package, takes a registry (the global one by default) and registers the modules that the package requires. `registerBridge` (splay) and `register` (store) are now `registerSplayProcedures` and `registerStoreProcedures`. The old names stay for one version.
12
+ - `sideEffects` names only `./dist/register.js`, so a bundler can drop the rest of a package.
13
+ - The bundles require `clientModule`, so `@procedures/bundle-mcp/register` gives the whole tool surface.
14
+ - `lib new` makes `src/module.ts` and a root without side effects, and `procedure new` adds procedures to the module.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [0cf4bea]
19
+ - Updated dependencies [44d3e30]
20
+ - Updated dependencies [76d0d64]
21
+ - @procedures/client@0.2.0
22
+
3
23
  ## 0.1.0
4
24
 
5
25
  The first release on npm. The packages of the client monorepo have one version together.
package/README.md CHANGED
@@ -17,7 +17,7 @@ AWS S3 operations as RPC procedures. Upload, download, list, delete, and perform
17
17
  - **Zod validation**: Runtime type safety on all inputs
18
18
  - **MinIO/LocalStack support**: Custom S3 endpoints for testing
19
19
 
20
- The package auto-registers 9 procedures:
20
+ The package has 9 procedures. Its register entry (`import "@procedures/s3/register"`) registers them:
21
21
  - **Standard**: `s3.upload`, `s3.download`, `s3.list`, `s3.listAll`, `s3.delete`
22
22
  - **Multipart**: `s3.multipart.init`, `s3.multipart.upload`, `s3.multipart.complete`, `s3.multipart.abort`
23
23
 
@@ -802,8 +802,8 @@ await client.exec(
802
802
  ```typescript
803
803
  // In bundle-data/src/register.ts
804
804
  import "@procedures/s3/register.js";
805
- import "@procedures/mongo"; // registers its procedures
806
- import "@procedures/fs"; // registers its procedures
805
+ import "@procedures/mongo/register"; // registers its procedures
806
+ import "@procedures/fs/register"; // registers its procedures
807
807
  ```
808
808
 
809
809
  ## Dependencies