From 0b23adf957ef2eef1e6ed0f51e72b2f0e9f8f55c Mon Sep 17 00:00:00 2001
From: LightArrowsEXE <Lightarrowsreboot@gmail.com>
Date: Sat, 7 May 2022 08:38:30 +0200
Subject: [PATCH] Bump to v0.4.2 (#102)

* Fix all docs errors

* Bump version

* docs: Change specific tagged version to latest version
---
 docs/changelogs/changelogs.rst | 63 ++++++++++++++++++++++++++++++++++
 docs/conf.py                   |  4 +--
 docs/index.rst                 |  2 +-
 setup.py                       |  4 +--
 4 files changed, 68 insertions(+), 5 deletions(-)

diff --git a/docs/changelogs/changelogs.rst b/docs/changelogs/changelogs.rst
index 611b4bee..16b86f9d 100644
--- a/docs/changelogs/changelogs.rst
+++ b/docs/changelogs/changelogs.rst
@@ -9,6 +9,69 @@ on Github should always be up-to-date.
 
 ------------------
 
+v0.4.2
+^^^^^^
+
+**lvsfunc now requires Python 3.10 and VapourSynth 58!**
+
+**Changelog**
+* setup.py updates, should now show extra info on pypi
+* Docs overhaul
+* Lots of docstrings updated to include additional information and warnings
+* Add shields to README
+* Create unittests for most lvsfunc functions
+* Move around certain functions (mainly to `types` and `util`)
+* `denoise` renamed to `noise`. Temporary alias still exists.
+
+**New additions**
+* `get_matrix_curve`
+    - Returns a `TransferCharacteristics` based on a given `matrix`.
+* `chickendream`
+    - A wrapper around the graining plugin, chickendream, a plug-in that implements a realistic film grain generator.
+* `check_variable_format`
+* `check_variable_resolution`
+    - Separated functionality from `check_variable` into their own functions. `check_variable` still checks both.
+* New custom exceptions. Please check [the documentation for a full list](https://lvsfunc.encode.moe/en/latest/submodules/exceptions.html).
+
+**Updates**
+* All masking functions now automatically limit their output (This means no weird masking shenanigans because of out-of-range values)
+* `get_matrix`: New option to return `types.Matrix` instead of an int. This will at some point become the default behaviour.
+* `tivtc_vfr`: Should now properly allow users to do an analysis pass without erroring (See: #90. Thanks @Setsugennoao and @RivenSkaye!)
+* `tivtc_vfr`: `mode=4` during the analysis pass can now be overridden
+* `ssim_downsample`: Automatically determine `curve` if None is passed
+* `taa`: Fix the wrong width being passed
+* `overlay_sign`: Fix float clip range issues
+* Remove the following aliases: `misc.get_matrix`, `misc.replace_ranges`, `misc.scale_thresh`, `recon.ChromaReconstruct`, `recon.crecon`, `recon.demangle`.
+* A lot of other minor changes and fixes
+
+* Move the following functions to `util`:
+    - misc.get_matrix
+    - misc.allow_variable
+    - misc.colored_clips
+    - misc.frames_since_bookmark
+    - misc.load_bookmarks
+    - misc.get_prop
+    - misc.check_variable
+    - misc.chroma_injector
+    - misc.get_neutral_value
+
+* Move the following types to `types`:
+    - CURVES
+    - CreditMask
+    - CustomScaler
+    - Direction
+    - F
+    - RegressClips
+    - Resolution
+    - ScaleAttempt
+    - SceneChangeMode
+    - T
+    - VideoProp
+
+
+------------------
+
+
 v0.4.1
 ^^^^^^
 
diff --git a/docs/conf.py b/docs/conf.py
index 150ec14f..4eb5c8f3 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -21,10 +21,10 @@
 author = 'LightArrowsEXE'
 
 # The short X.Y version
-version = '0.4.1'
+version = '0.4.2'
 
 # The full version, including alpha/beta/rc tags
-release = '0.4.1'
+release = '0.4.2'
 
 # -- General configuration ---------------------------------------------------
 
diff --git a/docs/index.rst b/docs/index.rst
index c9a5904c..d66ca241 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -18,7 +18,7 @@ About
 .. image:: https://img.shields.io/pypi/v/lvsfunc
     :target: https://pypi.org/project/lvsfunc/
 
-.. image:: https://img.shields.io/github/commits-since/Irrational-Encoding-Wizardry/lvsfunc/v0.4.1
+.. image:: https://img.shields.io/github/commits-since/Irrational-Encoding-Wizardry/lvsfunc/latest
     :target: https://github.com/Irrational-Encoding-Wizardry/lvsfunc/commits/master
 
 .. image:: https://img.shields.io/pypi/l/lvsfunc
diff --git a/setup.py b/setup.py
index 1649e2fa..fee52720 100755
--- a/setup.py
+++ b/setup.py
@@ -9,8 +9,8 @@
     install_requires = fh.read()
 
 name = "lvsfunc"
-version = "0.4.1"
-release = "0.4.1"
+version = "0.4.2"
+release = "0.4.2"
 
 setuptools.setup(
     name=name,