Comments (2)
好吧,这玩意不是一般的长,足足73个字符,等新版本更新时一并修改
from x-file-storage.
1.0.0版本正式发布
此版本变化较大、更新内容较多,从旧版本升级要做好充分的测试!
- 配置文件中,Amazon S3 存储平台名称由 aws-s3 更改为 amazon-s3
- 配置文件中,GoogleCloud Storage 存储平台名称由 google-cloud 更改为 google-cloud-storage
- 文件记录记录者接口 FileRecorder 的 record 方法更改为 save
- 脱离 SpringBoot 独立运行(方便集成到其它框架中)
- 支持大文件上传(自动分片上传)
- 上传进度监控
- 增加存储平台的 Client 工厂接口,用于支持网络代理、通过 STS 方式初始化存储平台的 Client 对象等功能
- 支持对象存储 Object 级别 ACL (私有桶上传后也可以公开访问)
- 对象存储支持获取临时访问链接(预签名URL)
- 解决上传文件时需要把文件全部读入内存,导致内存占用过大的问题
- 优化 FTP SFTP 的性能问题,使用了 Apache 对象池
- 修复了 WebDav 的兼容性问题,经过测试支持坚果云、NextCloud ,其它平台理论上也支持,可自行测试
- 修复某些 SpringBoot 版本下无法使用本地存储的问题
- 存储平台的 getClient 方法加锁,解决并发情况下重复初始化的问题
- 通过反射调用指定存储平台的方法,使其调用自定义存储平台的独有方法更方便
- 增加了文件适配器接口,可以自行适配各种类型的资源
- 整体架构优化、使其更易于使用
后续更新计划:
1、直接读取 HttpServletRequest 的流进行上传,文件不落盘,速度更快
2、大文件手动分片上传
阅读文档开始使用吧:https://spring-file-storage.xuyanwu.cn/
from x-file-storage.
Related Issues (20)
- 文件分片和断点续传有吗? HOT 5
- 上传文件后生成的fileInfo.url没有拼接bucket-name HOT 1
- 可以支持或自定义扩展对象存储其他功能吗,比如copy ? HOT 2
- 请问一下,当前版本支持jdk17吗? HOT 1
- 图片压缩导致内存溢出 HOT 2
- 上次多个文件有没有事务问题 HOT 6
- 请问上传功能里面同时也集成了保存的功能,如果上传成功了,保存这时候失败了,想回滚,有什么方案吗? HOT 7
- 使用S3通过MultipartFile上传文件出现com.amazonaws.ResetException异常 HOT 11
- fastdfs 还不支持 HOT 2
- 项目是Spring Boot 3+的版本支持吗
- X File Storage 使用公司及组织登记
- spring-boot-devtools 自动重启报错 HOT 5
- 请问支持根据文件名,直接做下载或者预签名 URL嘛 HOT 2
- 请问现在支持分块上传吗? HOT 2
- LocalPlusFileStorage 没有path-patterns 字段,无法读取path-patterns参数 HOT 1
- HttpServletRequest 方式上传文件报错。 HOT 4
- 我在使用Minio作为存储平台,但是有多个桶如何配置并使用 HOT 3
- 下载图片时怎么能否支持设置http代理,http proxy HOT 3
- 上传后提示删除文件报错 HOT 2
- AmazonS3通信协议配置支持 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x-file-storage.