v1.15.0
Package archive:
- complete rework of package
- split package between compression (stream compression only)
and archive (catalogue/dictionary/tape archive type)
- rework compression to be stream only working without any temporary file or any like
- rework archive like TAR, ZIP... to expose stream instead of writing directly file/path
- rework archive like TAR, ZIP... to allow adding file from stream only
and allowing to parsing local path to add it into archive
- rework detection of compression / archive
- rework extractAll function to not using useless local temporary file
- adding test can be used as example and perform testing of most of package code
- using const custom type for compression and archive allow them to be parsed,
marshalled or unmarshalled from text or json and more
- apply following change into other module that use it
Package artifact:
- replace file progress to generic interface extended from io reader / writer with progress function
- replace download function who's make the io copy, to a function that return the size + io.readCloser stream
Package ioutils/ioprogress:
- add a package to expose a generic interface based on io readcloser / writecloser
- add a instance to create a io readcloser / writecloser with progress function
- new instance based only on io readcloser/ writecloser
and allow to register progress function or not if not wanted
Other:
- bump dependencies
- adjust format licence for context/gin
Full Changelog: v1.14.1...v1.15.0