Skip to content

Latest commit

 

History

History
97 lines (60 loc) · 3.21 KB

HISTORY.md

File metadata and controls

97 lines (60 loc) · 3.21 KB

Release History

1.4.0 (1.3.1)

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.

1.3.0

⚠️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.

1.2.0

⚠️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.

1.1.0

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.

1.0.4

Improvements

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

1.0.3

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).

1.0.2

Improvements

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

1.0.1

Bug fixes

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

1.0.0

  • Initial release.