Skip to content

Releases: rlaphoenix/pyd2v

v1.4.0

08 Oct 19:14
Compare
Choose a tag to compare

Previously released as 1.3.1 when it should be 1.4.0 as it has a breaking change.

⚠️Breaking Changes

  • Dropped support for Python 3.6.

Improvements

  • Listed the Version in the CLI help information.
  • Updated the dependencies to their latest versions.
  • Improved Building and Usage Documentation.

v1.3.0

26 Jun 00:16
Compare
Choose a tag to compare

⚠️Breaking Changes

  • D2V() object and loads now expect a path argument which may be None or a Path to a D2V object.
  • load now uses the new _get_d2v() (explained below) on the input file path (unless it's already a D2V).

Improvements

  • New static method _get_d2v() has been created, which can be used to generate a D2V for an input video file by path.
  • Path to the input D2V file is now stored inside the D2V object for referencing (D2V.path). As stated above,
    D2V() and loads will now ask for an optional Path.
  • All public-facing class methods now enforce the type of the arguments, as well as checks if the file actually exists
    and is not a directory.
  • Variables formatted into D2V()s repr is now also using their reprs as well. This improves its readability.
  • Use consistent double-quotes throughout pyproject.toml.

v1.2.0

10 Jun 11:26
Compare
Choose a tag to compare

⚠️Breaking Changes

  • Add load and loads class methods to D2V class giving the ability to parse from a file or string.
  • D2V() now expects a TextIO based object (e.g. open(mode="rt") or StringIO). You may wish to use the new
    load and loads commands instead if possible.

Bug Fixes

  • Cast flag file data as int, since it's an index to a file parsed into D2V.videos.

Improvements

  • Create this HISTORY.md, add in all previous missed releases with no history.
  • Add the ability to select data from the D2V when reading from the cli d2v terminal command.
    E.g. d2v vid.d2v settings.Aspect_Ratio
  • Add doc-string to cli d2v terminal command.
  • Optimize the code that actually parses the D2V, making it more concise and readable.
  • Update copyright years in the LICENSE file.

v1.1.0

10 Jun 11:25
Compare
Choose a tag to compare

New Features

  • Once installed, d2v will be an available terminal command. This can be used to read or parse then read a D2V file.

Improvements

  • Replace setuptools/setup.py with Poetry for a much better dependency and package management environment.
  • Delete now unnecessary bash scripts I used to use starting with v1.0.1 for setuptools usage (setuptools was annoying).
  • D2V class moved from __init__.py to d2v.py. It's generally recommended for the init file to only have needed code
    on import only, it's also generally less readable at a glance where the class was. It's still imported and set in
    __ALL__ so that from pyd2v import D2V is still possible.
  • General improvements and to the README information and structure.

v1.0.4

10 Jun 11:25
Compare
Choose a tag to compare

Improvements

  • Cast flag position, skip, vob, and cell data to integers.

v1.0.3

10 Jun 11:25
Compare
Choose a tag to compare

Bug fixes

  • Add a check for the final flag, ff terminator. This verifies end-of-stream. It's not an actual flag, so it should
    not be parsed as one either (or even kept).

v1.0.2

10 Jun 11:24
Compare
Choose a tag to compare

Improvements

  • Parse data info and flags at the bit-level.

v1.0.1

10 Jun 11:24
Compare
Choose a tag to compare

Bug fixes

  • Remove int parsing on Location values; they are HEX, not int.

v1.0.0

10 Jun 11:24
Compare
Choose a tag to compare
  • Initial release.