Releases: jokeyrhyme/cdn-sync
Releases · jokeyrhyme/cdn-sync
1.0.0 - 2017-01-12
Changed
- BREAKING: require Node.js 4.x or newer, anything older is not supported
- update async to 2.1.4 (from 0.9.0)
- update aws-sdk to 2.7.21 (from 2.0.29)
- update cli to 1.0.1 (from 0.6.5)
- update findup-sync to 0.4.3 (from 0.1.3)
- update glob to 7.1.1 (from 4.3.0)
- update graceful-fs to 4.1.11 (from 3.0.5)
- update mime to 1.3.4 (from 1.2.11)
- update mmmagic to 0.4.5 (from 0.3.11)
- update q to 1.4.1 (from 0.9.7)
- update underscore to 1.8.3 (from 1.7.0)
- update z-schema to 3.18.2 (from 3.1.5)
Fixed
v0.8.0
- automatically abort and retry S3 headObject request if it does not succeed in 15 seconds
- switch from JSLint to ESLint
- bump dependencies and devDependencies (except for Q)
v0.6.0
progress bars
- added progress bars (#20)
- now sorting files by path (both local and remote) before doing anything else
- bumped all npm packages (except Q)
headers and scale
`--dry-run` and "gzip-suffix" strategy
-
#4
--dry-run
option for peace of mind, any of the following are equivalentcdn-sync --dry-run go cdn-sync -n go cdn-sync go --dry-run cdn-sync go -n
These will run all checks and compare local files with remote files, but no changes will be made.
-
new "gzip-suffix" strategy
"strategy": ["gzip-suffix"]
: files are GZIP deflated and.gz
is appended to their filenames, probably not particularly useful by itself"strategy": ["clone", "gzip-suffix"]
: as above, but the original (uncompressed) versions are also uploaded, so a single CDN can host both GZIP deflated files and uncompressed files
introducing "gzip" strategy support
"strategy": ["gzip"]
is now an option for CDN targets- this will upload GZIP-deflated versions of all files
- if you need to support ancient browsers, then you will need separate targets for "clone" and "gzip" and a way to direct compatible browsers to the "gzip" CDN
coming soon
- automatic correction of remote headers i.e. if GZIP-deflated resources lack
Content-Encoding: gzip
- better documentation and JSON Schema for
.cdn-sync.json
3rd and final push for the night :)
fixes
- #1 broken for local directories with sub-directories
inevitable x.x.1 /sigh
Okay, looks like the CLI interface actually executes with this one, I promise!
initial basic clone-only release
This initial release should be sufficient to replace s3cmd. The only advantages are that this might be faster (through parallel requests, maximum of 5 at once) and that MIME detection should be far better than s3cmd for typical web assets.
known issues
- doesn't actually run from the CLI
- will post an update soon to correct this