Skip to content

Releases: axodotdev/axoasset

0.9.4 - 2024-05-22

22 May 21:33
Compare
Choose a tag to compare

Maintenace

Updates several dependencies.

0.9.3 - 2024-04-16

18 Apr 16:48
Compare
Choose a tag to compare

๐Ÿ› ๏ธ Fixes

Reduces the dependency tree when the remote feature isn't in use by properly scoping the image dependency.

0.9.2 - 2024-04-15

15 Apr 22:16
Compare
Choose a tag to compare

๐Ÿ› ๏ธ Fixes

Fixes a branching error in the previous release which prevented the ZIP fix from being usable.

0.9.1 - 2024-03-26

02 Apr 16:02
Compare
Choose a tag to compare

๐Ÿ› ๏ธ Fixes

Recursive directory trees on Windows would be zipped with mangled filenames; this has been fixed by preprocessing the file names before passing them to the zip crate.

0.9.0 - 2024-03-14

02 Apr 16:01
Compare
Choose a tag to compare

๐ŸŽ Features

This fixes an issue parsing JSON from files containing a byte order mark. This is rare, but can occur with JSON files created in Windows with certain software, including data written to disk in PowerShell.

The underlying JSON parsing library used by axoasset doesn't currently support parsing JSON files that begin with a byte order mark. In this release, we strip it from files that contain it before passing it to serde in order to work around this limitation.

0.8.0 - 2024-03-06

05 Mar 23:41
Compare
Choose a tag to compare

๐ŸŽ Features

Adds the ability to decompress tarballs and ZIP files from LocalAsset. Users can extract an entire archive to a directory via the untar_gz_all/untar_xz_all/untar_zstd_all/unzip_all methods, or extract individual files to bytearrays of their contents via the untar_gz_file/untar_xz_file/untar_zstd_file/unzip_file methods.

0.7.0 - 2024-02-15

05 Mar 23:25
Compare
Choose a tag to compare

Updates dependencies, including a breaking upgrade to miette. Users of this crate will need to update to at least miette 6.0.0.

0.6.0 - 2023-10-31

31 Oct 20:41
Compare
Choose a tag to compare

๐ŸŽ Features

  • New reexports - mistydemeo, pr68

    Reexports toml, toml_edit and serde_json. Types from these three crates
    appear in certain axoasset function signatures.

0.5.1 - 2023-09-14

14 Sep 22:50
Compare
Choose a tag to compare

๐Ÿ› ๏ธ Fixes

  • Reduce dependency tree size - mistydemeo, pr66

    Reduces the size of axoasset's dependency tree by not installing unused
    features from the images dependency.

v0.5.0 - 2023-08-08

08 Aug 20:04
Compare
Choose a tag to compare

๐ŸŽ Features

  • Add a with_root argument to compression methods - Gankra, pr61

    The compression methods take a path to a directory to tar/zip up. The
    with_root argument specifies a root prefix of directories that the
    archive's contents should be nested under. If None then the dir's contents
    are flattened into the root of the archive.

    e.g. to make a tar.gz that matches the npm package format (which
    wants the tarball to contain a dir named "package"), you can
    compress: "path/to/contents/", Some("package")

  • Add more copying APIs to LocalAsset - Gankra, pr62

    LocalAsset now includes copy_named, copy_dir, and copy_dir_named.
    All copy functions were change to return a Utf8PathBuf instead of a PathBuf.