@voltro/plugin-storage 0.1.6 → 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
@@ -39,6 +39,14 @@ _Changes staged for the next release accumulate here (rolled up from
39
39
 
40
40
  ---
41
41
 
42
+ ## [0.2.0] — 2026-07-17
43
+
44
+ ### ⚠ BREAKING
45
+
46
+ - **@voltro/cli** — The SQL dialect drivers (`@voltro/sql-postgres`, `@voltro/sql-mysql`, `@voltro/sql-mssql`, `@voltro/sql-sqlite`, `@voltro/sql-turso`) are no longer dependencies of `@voltro/cli`. Each app now declares the driver for its own DB dialect as a dependency, and `voltro dev`/`serve`/`migrate` resolve it from the app root. This keeps every driver — including turso's ~90 MB native binary — out of the production image of an app that doesn't use it: a `store: 'memory'` app ships no SQL driver at all, and a postgres app ships only `@voltro/sql-postgres`. Combined with a `pnpm --prod deploy`-based Dockerfile (the standalone/template Dockerfiles now do this), a memory-API image drops its `node_modules` from ~477 MB to ~330 MB. **Migration:** add the driver for your dialect to the app that uses it — `pnpm add @voltro/sql-postgres` (or `-mysql` for mysql/mariadb, `-mssql`, `-sqlite`, `-turso`). A memory store needs none. Scaffolded projects already declare it, and `voltro add mssql` adds `@voltro/sql-mssql` automatically. If the driver is missing at boot, `voltro serve` now fails with a message naming the exact package to install instead of an opaque module-not-found.
47
+
48
+ ---
49
+
42
50
  ## [0.1.6] — 2026-07-17
43
51
 
44
52
  ### Added
@@ -5,7 +5,7 @@ property of its respective copyright holders and is used under the terms of
5
5
  its license. This file is provided for attribution; it grants no rights in
6
6
  @voltro/plugin-storage itself, which is proprietary (see LICENSE).
7
7
 
8
- Generated from the resolved runtime dependency closure (118 packages).
8
+ Generated from the resolved runtime dependency closure (115 packages).
9
9
 
10
10
  ---
11
11
 
@@ -4163,12 +4163,6 @@ License: LGPL-3.0-or-later
4163
4163
 
4164
4164
  _(no bundled license text found in the package; see its npm page.)_
4165
4165
 
4166
- ## @img/sharp-libvips-linuxmusl-x64@1.3.2
4167
-
4168
- License: LGPL-3.0-or-later
4169
-
4170
- _(no bundled license text found in the package; see its npm page.)_
4171
-
4172
4166
  ## @img/sharp-linux-x64@0.35.3
4173
4167
 
4174
4168
  License: Apache-2.0
@@ -4367,204 +4361,6 @@ third-party archives.
4367
4361
  limitations under the License.
4368
4362
  ```
4369
4363
 
4370
- ## @img/sharp-linuxmusl-x64@0.35.3
4371
-
4372
- License: Apache-2.0
4373
-
4374
- ```
4375
- Apache License
4376
- Version 2.0, January 2004
4377
- http://www.apache.org/licenses/
4378
-
4379
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4380
-
4381
- 1. Definitions.
4382
-
4383
- "License" shall mean the terms and conditions for use, reproduction, and
4384
- distribution as defined by Sections 1 through 9 of this document.
4385
-
4386
- "Licensor" shall mean the copyright owner or entity authorized by the copyright
4387
- owner that is granting the License.
4388
-
4389
- "Legal Entity" shall mean the union of the acting entity and all other entities
4390
- that control, are controlled by, or are under common control with that entity.
4391
- For the purposes of this definition, "control" means (i) the power, direct or
4392
- indirect, to cause the direction or management of such entity, whether by
4393
- contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
4394
- outstanding shares, or (iii) beneficial ownership of such entity.
4395
-
4396
- "You" (or "Your") shall mean an individual or Legal Entity exercising
4397
- permissions granted by this License.
4398
-
4399
- "Source" form shall mean the preferred form for making modifications, including
4400
- but not limited to software source code, documentation source, and configuration
4401
- files.
4402
-
4403
- "Object" form shall mean any form resulting from mechanical transformation or
4404
- translation of a Source form, including but not limited to compiled object code,
4405
- generated documentation, and conversions to other media types.
4406
-
4407
- "Work" shall mean the work of authorship, whether in Source or Object form, made
4408
- available under the License, as indicated by a copyright notice that is included
4409
- in or attached to the work (an example is provided in the Appendix below).
4410
-
4411
- "Derivative Works" shall mean any work, whether in Source or Object form, that
4412
- is based on (or derived from) the Work and for which the editorial revisions,
4413
- annotations, elaborations, or other modifications represent, as a whole, an
4414
- original work of authorship. For the purposes of this License, Derivative Works
4415
- shall not include works that remain separable from, or merely link (or bind by
4416
- name) to the interfaces of, the Work and Derivative Works thereof.
4417
-
4418
- "Contribution" shall mean any work of authorship, including the original version
4419
- of the Work and any modifications or additions to that Work or Derivative Works
4420
- thereof, that is intentionally submitted to Licensor for inclusion in the Work
4421
- by the copyright owner or by an individual or Legal Entity authorized to submit
4422
- on behalf of the copyright owner. For the purposes of this definition,
4423
- "submitted" means any form of electronic, verbal, or written communication sent
4424
- to the Licensor or its representatives, including but not limited to
4425
- communication on electronic mailing lists, source code control systems, and
4426
- issue tracking systems that are managed by, or on behalf of, the Licensor for
4427
- the purpose of discussing and improving the Work, but excluding communication
4428
- that is conspicuously marked or otherwise designated in writing by the copyright
4429
- owner as "Not a Contribution."
4430
-
4431
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
4432
- of whom a Contribution has been received by Licensor and subsequently
4433
- incorporated within the Work.
4434
-
4435
- 2. Grant of Copyright License.
4436
-
4437
- Subject to the terms and conditions of this License, each Contributor hereby
4438
- grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
4439
- irrevocable copyright license to reproduce, prepare Derivative Works of,
4440
- publicly display, publicly perform, sublicense, and distribute the Work and such
4441
- Derivative Works in Source or Object form.
4442
-
4443
- 3. Grant of Patent License.
4444
-
4445
- Subject to the terms and conditions of this License, each Contributor hereby
4446
- grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
4447
- irrevocable (except as stated in this section) patent license to make, have
4448
- made, use, offer to sell, sell, import, and otherwise transfer the Work, where
4449
- such license applies only to those patent claims licensable by such Contributor
4450
- that are necessarily infringed by their Contribution(s) alone or by combination
4451
- of their Contribution(s) with the Work to which such Contribution(s) was
4452
- submitted. If You institute patent litigation against any entity (including a
4453
- cross-claim or counterclaim in a lawsuit) alleging that the Work or a
4454
- Contribution incorporated within the Work constitutes direct or contributory
4455
- patent infringement, then any patent licenses granted to You under this License
4456
- for that Work shall terminate as of the date such litigation is filed.
4457
-
4458
- 4. Redistribution.
4459
-
4460
- You may reproduce and distribute copies of the Work or Derivative Works thereof
4461
- in any medium, with or without modifications, and in Source or Object form,
4462
- provided that You meet the following conditions:
4463
-
4464
- You must give any other recipients of the Work or Derivative Works a copy of
4465
- this License; and
4466
- You must cause any modified files to carry prominent notices stating that You
4467
- changed the files; and
4468
- You must retain, in the Source form of any Derivative Works that You distribute,
4469
- all copyright, patent, trademark, and attribution notices from the Source form
4470
- of the Work, excluding those notices that do not pertain to any part of the
4471
- Derivative Works; and
4472
- If the Work includes a "NOTICE" text file as part of its distribution, then any
4473
- Derivative Works that You distribute must include a readable copy of the
4474
- attribution notices contained within such NOTICE file, excluding those notices
4475
- that do not pertain to any part of the Derivative Works, in at least one of the
4476
- following places: within a NOTICE text file distributed as part of the
4477
- Derivative Works; within the Source form or documentation, if provided along
4478
- with the Derivative Works; or, within a display generated by the Derivative
4479
- Works, if and wherever such third-party notices normally appear. The contents of
4480
- the NOTICE file are for informational purposes only and do not modify the
4481
- License. You may add Your own attribution notices within Derivative Works that
4482
- You distribute, alongside or as an addendum to the NOTICE text from the Work,
4483
- provided that such additional attribution notices cannot be construed as
4484
- modifying the License.
4485
- You may add Your own copyright statement to Your modifications and may provide
4486
- additional or different license terms and conditions for use, reproduction, or
4487
- distribution of Your modifications, or for any such Derivative Works as a whole,
4488
- provided Your use, reproduction, and distribution of the Work otherwise complies
4489
- with the conditions stated in this License.
4490
-
4491
- 5. Submission of Contributions.
4492
-
4493
- Unless You explicitly state otherwise, any Contribution intentionally submitted
4494
- for inclusion in the Work by You to the Licensor shall be under the terms and
4495
- conditions of this License, without any additional terms or conditions.
4496
- Notwithstanding the above, nothing herein shall supersede or modify the terms of
4497
- any separate license agreement you may have executed with Licensor regarding
4498
- such Contributions.
4499
-
4500
- 6. Trademarks.
4501
-
4502
- This License does not grant permission to use the trade names, trademarks,
4503
- service marks, or product names of the Licensor, except as required for
4504
- reasonable and customary use in describing the origin of the Work and
4505
- reproducing the content of the NOTICE file.
4506
-
4507
- 7. Disclaimer of Warranty.
4508
-
4509
- Unless required by applicable law or agreed to in writing, Licensor provides the
4510
- Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
4511
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
4512
- including, without limitation, any warranties or conditions of TITLE,
4513
- NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
4514
- solely responsible for determining the appropriateness of using or
4515
- redistributing the Work and assume any risks associated with Your exercise of
4516
- permissions under this License.
4517
-
4518
- 8. Limitation of Liability.
4519
-
4520
- In no event and under no legal theory, whether in tort (including negligence),
4521
- contract, or otherwise, unless required by applicable law (such as deliberate
4522
- and grossly negligent acts) or agreed to in writing, shall any Contributor be
4523
- liable to You for damages, including any direct, indirect, special, incidental,
4524
- or consequential damages of any character arising as a result of this License or
4525
- out of the use or inability to use the Work (including but not limited to
4526
- damages for loss of goodwill, work stoppage, computer failure or malfunction, or
4527
- any and all other commercial damages or losses), even if such Contributor has
4528
- been advised of the possibility of such damages.
4529
-
4530
- 9. Accepting Warranty or Additional Liability.
4531
-
4532
- While redistributing the Work or Derivative Works thereof, You may choose to
4533
- offer, and charge a fee for, acceptance of support, warranty, indemnity, or
4534
- other liability obligations and/or rights consistent with this License. However,
4535
- in accepting such obligations, You may act only on Your own behalf and on Your
4536
- sole responsibility, not on behalf of any other Contributor, and only if You
4537
- agree to indemnify, defend, and hold each Contributor harmless for any liability
4538
- incurred by, or claims asserted against, such Contributor by reason of your
4539
- accepting any such warranty or additional liability.
4540
-
4541
- END OF TERMS AND CONDITIONS
4542
-
4543
- APPENDIX: How to apply the Apache License to your work
4544
-
4545
- To apply the Apache License to your work, attach the following boilerplate
4546
- notice, with the fields enclosed by brackets "[]" replaced with your own
4547
- identifying information. (Don't include the brackets!) The text should be
4548
- enclosed in the appropriate comment syntax for the file format. We also
4549
- recommend that a file or class name and description of purpose be included on
4550
- the same "printed page" as the copyright notice for easier identification within
4551
- third-party archives.
4552
-
4553
- Copyright [yyyy] [name of copyright owner]
4554
-
4555
- Licensed under the Apache License, Version 2.0 (the "License");
4556
- you may not use this file except in compliance with the License.
4557
- You may obtain a copy of the License at
4558
-
4559
- http://www.apache.org/licenses/LICENSE-2.0
4560
-
4561
- Unless required by applicable law or agreed to in writing, software
4562
- distributed under the License is distributed on an "AS IS" BASIS,
4563
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4564
- See the License for the specific language governing permissions and
4565
- limitations under the License.
4566
- ```
4567
-
4568
4364
  ## @ioredis/commands@1.10.0
4569
4365
 
4570
4366
  License: MIT
@@ -7776,34 +7572,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7776
7572
  SOFTWARE.
7777
7573
  ```
7778
7574
 
7779
- ## @parcel/watcher-linux-x64-musl@2.5.6
7780
-
7781
- License: MIT
7782
-
7783
- ```
7784
- MIT License
7785
-
7786
- Copyright (c) 2017-present Devon Govett
7787
-
7788
- Permission is hereby granted, free of charge, to any person obtaining a copy
7789
- of this software and associated documentation files (the "Software"), to deal
7790
- in the Software without restriction, including without limitation the rights
7791
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7792
- copies of the Software, and to permit persons to whom the Software is
7793
- furnished to do so, subject to the following conditions:
7794
-
7795
- The above copyright notice and this permission notice shall be included in all
7796
- copies or substantial portions of the Software.
7797
-
7798
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7799
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7800
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7801
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7802
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7803
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7804
- SOFTWARE.
7805
- ```
7806
-
7807
7575
  ## @smithy/core@3.29.3
7808
7576
 
7809
7577
  License: Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltro/plugin-storage",
3
- "version": "0.1.6",
3
+ "version": "0.2.0",
4
4
  "description": "File-storage plugin — one StorageProvider contract, switchable backends (S3 / MinIO / Azure / filesystem / memory / database). Public (CDN-direct) + private (access policy + per-object grants) objects, upload constraints, virus-scan hook, on-the-fly image transforms.",
5
5
  "keywords": [
6
6
  "voltro",
@@ -42,9 +42,9 @@
42
42
  "node": ">=24.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "@voltro/database": "0.1.6",
46
- "@voltro/env": "0.1.6",
47
- "@voltro/protocol": "0.1.6"
45
+ "@voltro/database": "0.2.0",
46
+ "@voltro/env": "0.2.0",
47
+ "@voltro/protocol": "0.2.0"
48
48
  },
49
49
  "optionalDependencies": {
50
50
  "@aws-sdk/client-s3": "^3.1085.0",