From 16f58fdde9cbd3195e16b6617bcc42b0276b38df Mon Sep 17 00:00:00 2001 From: Varun Shanbhag <30069380+VarunS2002@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:01:29 +0530 Subject: [PATCH] Release Version 5.6 - Updated Documentation for 5.6 - Updated Changelog for 5.6 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ NSE_Option_Chain_Analyzer.py | 2 +- README.md | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a35ee3..4be76ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@
+> # [5.6](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/tag/5.6) + +## Bug Fix Update + +- Bug Fixes: + - Fixed `JSONDecodeError` caused by the server now using a different encoding which requires the `brotli` package to + be to installed to be able to decode. + This is what causes the "Failed to fetch symbols. The program will exit now exit." error. + Issue: [#62](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/62) + , [#65](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/65) + , [#69](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/69) + , [#70](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/70) + - Fixed `TypeError` caused by breaking change in the newer versions of `tksheet`. + Issue: [#64](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/64) + , [#67](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/67) + - Fixed potential crash if you try to enable logging while running the `.exe` file +- Code changes: + - Updated request headers + - Minor code improvements +- Updated `requirements.txt`: + - Added `brotli` to library to support decoding data from NSE in the `br` encoding format + - Updated `requests` library version to exclude known vulnerable versions + - Updated `pandas` library version to prevent breaking changes in the future +- Updated documentation: + - Added `brotli` in dependencies + +
+ > # [5.5](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/tag/5.5) ## Bug Fix Update diff --git a/NSE_Option_Chain_Analyzer.py b/NSE_Option_Chain_Analyzer.py index da4f0df..8cec0e9 100644 --- a/NSE_Option_Chain_Analyzer.py +++ b/NSE_Option_Chain_Analyzer.py @@ -25,7 +25,7 @@ # noinspection PyAttributeOutsideInit class Nse: - version: str = '5.5' + version: str = '5.6' def __init__(self, window: Tk) -> None: self.intervals: List[int] = [1, 2, 3, 5, 10, 15] diff --git a/README.md b/README.md index be72769..da39ff2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## [Downloads](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases) -[![Latest: v5.5](https://img.shields.io/badge/release-v5.5-brightgreen)](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/download/5.5/NSE_Option_Chain_Analyzer_5.5.exe) +[![Latest: v5.6](https://img.shields.io/badge/release-v5.6-brightgreen)](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/download/5.6/NSE_Option_Chain_Analyzer_5.6.exe) ![Download-Count](https://img.shields.io/github/downloads/VarunS2002/Python-NSE-Option-Chain-Analyzer/total?color=blue) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)