CarrierWave v2.2.0 Release Notes

Release Date: 2021-02-23 // about 3 years ago
  • โž• Added

    ๐Ÿ—„ Deprecated

    • #(content_type|extension)_whitelist, #(content_type|extension)_blacklist are deprecated. Use #(content_type|extension)_allowlist and #(content_type|extension)_denylist instead (@grantbdev #2442, 4c3cac75)

    ๐Ÿ›  Fixed

    • Calculate Fog expiration taking DST into account (@mshibuya, f90e14ca, #2059)
    • Set correct content type on copy of fog files (@ZuevEvgenii #2503, 6682f7ac, #2487)
    • ๐Ÿ›  Fix fog-google support to pass acl_header for public read if fog is public (@yosiat #2525, #2426)
    • ๐Ÿ›  Fix various URL escape issues by escaping on URI parse error only (@mshibuya 3faf7491, #2457, #2473)
    • Fix instance variables @versions_to_* not initialized warning (@mshibuya c10b82ed, #2493)
    • Fix SanitizedFile#move_to wrongly detects content_type based on the path before move (@mshibuya a42e1b4c, #2495)
    • ๐Ÿ›  Fix returning invalid content type on text files (@inkstak #2474, #2424)
    • Skip content type and extension filters where possible (@alexpooley #2464)
    • ๐Ÿ›  Fix file's #url being called twice, which might be costly for non-local files (@skyeagle #2519)
    • ๐Ÿ›  Fix mime type detection failing with types which contain + symbol, such as image/svg+xml (@sylvainbx #2489)
    • ๐Ÿ›  Fix #cached? to return boolean instead of @cache_id value (@kmiyake #2510)
    • ๐Ÿ›  Fix mime type detection for MS Office files (@anthonypenner #2447)

    ๐Ÿ”’ Security