All major and minor version changes will be documented in this file. Details of patch-level version changes can be found in commit messages.
- python ruff
- Update deps
- Update deps
- Fix
_getBinDirhttps://github.com/arnu515The function to get bin directory makes the entire path to lowercase, which will be a problem on systems like Linux, where the file system is case sensitive.
For example, /home/user/Documents/a/b/c gets converted to /home/user/documents/a/b/c. This works on Windows, because for it, files aren't case sensitive, but for linux, Documents and documents are two separate paths.
- Small performance increase using some output from the experimental branch
- Revert bug Deprecate
pyrlottie.run - Update pre-commit
- Bump pillow version (CVE-2022-22815, CVE-2022-22816, CVE-2022-22817)
- Update deps
- Add formal tests
- Deprecate
pyrlottie.run: Useasyncio.run(convMethod)in-place ofpyrlottie.run(convMethod).
- Add linux_aarch64
- Update build docs
- Use pre-commit to enforce reasonable standards + consistency
- Update readme with improved docs on installing and running python (fairly generic)
- Remove classifiers for license + python versions and rely on poetry to generate these
- Update tooling config (pyproject.toml)
-
Throw an
OSErrorif the user's environment is unsupported rather than exit -
Use
asyncio.Semaphoreto limit the number of processes spawned tomultiprocessing.cpu_count() * 2(previously unlimited)- However, this breaks
asyncio.run(convMethod)
Use `pyrlottie.run(convMethod)` or `asyncio.get_event_loop().run_until_complete(convMethod)` in place of `asyncio.run(convMethod)` See https://github.com/awestlake87/pyo3-asyncio/issues/19#issuecomment-846686814 for more information Run until the future (an instance of Future) has completed. If the argument is a coroutine object it is implicitly scheduled to run as a asyncio.Task. Return the Future’s result or raise its exception. Args: convMethod (Awaitable): Awaitable to run. eg. convSingleLottie(gLottieFile, destFiles={"test_data/convSingleLottie.webp"}) Returns: Any: the Awaitable's result or raise its exception.
- However, this breaks
-
build rlottie as a static object (lottie2gif)
$ ./lottie2gif_old ./lottie2gif_old: error while loading shared libraries: librlottie.so.0: cannot open shared object file: No such file or directory $ ./lottie2gif Usage: lottie2gif [lottieFileName] [Resolution] [bgColor] -
add documentation to preserve x bit for binaries when pip installing in wsl
- bugfix to scaling function
- minor bugfixes
- more verbose errors
- hopefully dll is included for windows
- First release. Significant speed and quality improvements over pylottie (between 1.5x and 5x in most cases)