From 2a0ba0eaf7499368e5195f8fbb49806a719cb1ec Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 28 Feb 2023 21:16:28 -0500 Subject: [PATCH 1/7] Bumped version --- project.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project.json b/project.json index 44d851f..8bb2654 100644 --- a/project.json +++ b/project.json @@ -12,7 +12,7 @@ "package": "net.nosial.tgbotlib", "description": "TgBotLib is a library for interacting with the Telegram Bot API", "company": "Nosial", - "version": "6.5.2", + "version": "6.5.3", "uuid": "b409e036-ab04-11ed-b32e-9d3f57a644ae" }, "build": { @@ -39,4 +39,4 @@ } ] } -} \ No newline at end of file +} -- 2.45.3 From cc22e23a0633ff2c1eaa8560627e33c044708d6e Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 28 Feb 2023 22:18:43 -0500 Subject: [PATCH 2/7] Removed unused destruct() --- src/TgBotLib/Bot.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/TgBotLib/Bot.php b/src/TgBotLib/Bot.php index ce3f992..44b6141 100644 --- a/src/TgBotLib/Bot.php +++ b/src/TgBotLib/Bot.php @@ -2333,19 +2333,4 @@ ]); return true; } - - /** - * Public Destructor - */ - public function __destruct() - { - try - { - $this->close(); - } - catch(Exception $e) - { - unset($e); - } - } } \ No newline at end of file -- 2.45.3 From 2e1f699e2958f22cec5be5a59599b7146e116cc2 Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 28 Feb 2023 22:19:16 -0500 Subject: [PATCH 3/7] Bumped version to 6.5.4 --- project.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.json b/project.json index 8bb2654..8689467 100644 --- a/project.json +++ b/project.json @@ -12,7 +12,7 @@ "package": "net.nosial.tgbotlib", "description": "TgBotLib is a library for interacting with the Telegram Bot API", "company": "Nosial", - "version": "6.5.3", + "version": "6.5.4", "uuid": "b409e036-ab04-11ed-b32e-9d3f57a644ae" }, "build": { -- 2.45.3 From ffe62c1ae287f2fe70c430a6305f752ec6b05f0a Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 28 Feb 2023 22:19:59 -0500 Subject: [PATCH 4/7] Updated CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ec31ef..1572558 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.5.4] - Unreleased + +### Changed + * Removed unused `__destruct()` method from `\TgBotLib\Bot` + ## [6.5.3] - Unreleased ### Fixed -- 2.45.3 From 72a09a26636a1a6d8438fb4dd7212c7495238a39 Mon Sep 17 00:00:00 2001 From: Netkas Date: Wed, 1 Mar 2023 19:14:35 -0500 Subject: [PATCH 5/7] Updated CHANGELOG.md --- .idea/runConfigurations/Build.xml | 10 ++++++++++ .idea/runConfigurations/Clean.xml | 8 ++++++++ .idea/runConfigurations/Install.xml | 10 ++++++++++ Makefile | 10 +++++----- 4 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 .idea/runConfigurations/Build.xml create mode 100644 .idea/runConfigurations/Clean.xml create mode 100644 .idea/runConfigurations/Install.xml diff --git a/.idea/runConfigurations/Build.xml b/.idea/runConfigurations/Build.xml new file mode 100644 index 0000000..a601571 --- /dev/null +++ b/.idea/runConfigurations/Build.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Clean.xml b/.idea/runConfigurations/Clean.xml new file mode 100644 index 0000000..5ba1469 --- /dev/null +++ b/.idea/runConfigurations/Clean.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Install.xml b/.idea/runConfigurations/Install.xml new file mode 100644 index 0000000..1fb616b --- /dev/null +++ b/.idea/runConfigurations/Install.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/Makefile b/Makefile index 6dbab58..e3f87d5 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -release: - ncc build --config="release" +build: + ncc build --config="release" --log-level debug install: - ncc package install --package="build/release/net.nosial.tgbotlib.ncc" --skip-dependencies --reinstall -y + sudo ncc package install --package="build/release/net.nosial.tgbotlib.ncc" --skip-dependencies --reinstall -y --log-level debug -uninstall: - ncc package uninstall -y --package="net.nosial.tgbotlib" \ No newline at end of file +clean: + rm -rf build \ No newline at end of file -- 2.45.3 From d06f012797f7c8ab7887049c051aa65e4bb30b23 Mon Sep 17 00:00:00 2001 From: Netkas Date: Wed, 1 Mar 2023 19:14:35 -0500 Subject: [PATCH 6/7] Updated Run Configurations --- .idea/runConfigurations/Build.xml | 10 ++++++++++ .idea/runConfigurations/Clean.xml | 8 ++++++++ .idea/runConfigurations/Install.xml | 10 ++++++++++ Makefile | 10 +++++----- 4 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 .idea/runConfigurations/Build.xml create mode 100644 .idea/runConfigurations/Clean.xml create mode 100644 .idea/runConfigurations/Install.xml diff --git a/.idea/runConfigurations/Build.xml b/.idea/runConfigurations/Build.xml new file mode 100644 index 0000000..a601571 --- /dev/null +++ b/.idea/runConfigurations/Build.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Clean.xml b/.idea/runConfigurations/Clean.xml new file mode 100644 index 0000000..5ba1469 --- /dev/null +++ b/.idea/runConfigurations/Clean.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Install.xml b/.idea/runConfigurations/Install.xml new file mode 100644 index 0000000..1fb616b --- /dev/null +++ b/.idea/runConfigurations/Install.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/Makefile b/Makefile index 6dbab58..e3f87d5 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -release: - ncc build --config="release" +build: + ncc build --config="release" --log-level debug install: - ncc package install --package="build/release/net.nosial.tgbotlib.ncc" --skip-dependencies --reinstall -y + sudo ncc package install --package="build/release/net.nosial.tgbotlib.ncc" --skip-dependencies --reinstall -y --log-level debug -uninstall: - ncc package uninstall -y --package="net.nosial.tgbotlib" \ No newline at end of file +clean: + rm -rf build \ No newline at end of file -- 2.45.3 From e7b9947094892a4638cb949eb0db771261517ff0 Mon Sep 17 00:00:00 2001 From: "Cybersecbyte [UFOLINUX]" Date: Tue, 7 Mar 2023 08:13:47 +0000 Subject: [PATCH 7/7] fixes for docs in dev branch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 077869b..3c8aacc 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Telegram Bot API version. The library can be installed using ncc: ```bash -ncc install -p "nosial/libs.tgbot=latest@n64" +ncc package install -p "nosial/libs.tgbot=latest@n64" ``` or by adding the following to your project.json file under the `build.dependencies` section: -- 2.45.3