From ebcb368900f86303eece8ab33688feb7d904f9d3 Mon Sep 17 00:00:00 2001 From: "Jordan.#2139" Date: Tue, 12 Nov 2024 12:49:08 -0500 Subject: [PATCH 1/3] v2.9.34 - Final - Depreciation Notice --- sonorancad/core/updater.lua | 6 ++++-- sonorancad/fxmanifest.lua | 2 +- sonorancad/version.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sonorancad/core/updater.lua b/sonorancad/core/updater.lua index 7fd9e75..8d9a7f7 100644 --- a/sonorancad/core/updater.lua +++ b/sonorancad/core/updater.lua @@ -38,7 +38,7 @@ local function doUpdate(latest) warnLog(("Failed to download from %s: %s %s"):format(releaseUrl, code, data)) end end, "GET") - + end function RunAutoUpdater(manualRun) @@ -58,7 +58,9 @@ function RunAutoUpdater(manualRun) end versionFile = string.gsub(versionFile, "{branch}", Config.updateBranch) local myVersion = GetResourceMetadata(GetCurrentResourceName(), "version", 0) - + if string.sub(myVersion, 1, 2) == "2." then + warnLog('SonoranCAD Core Version 2.X.X is now considered legacy and is no longer supported. Please update to the latest version to ensure compatibility and access to new features. Download the latest version here: https://sonoran.link/v3') + end PerformHttpRequestS(versionFile, function(code, data, headers) if code == 200 then local remote = json.decode(data) diff --git a/sonorancad/fxmanifest.lua b/sonorancad/fxmanifest.lua index c0ed335..60bc8f2 100644 --- a/sonorancad/fxmanifest.lua +++ b/sonorancad/fxmanifest.lua @@ -3,7 +3,7 @@ games {'gta5'} author 'Sonoran CAD' description 'Sonoran CAD FiveM Integration' -version '2.9.33' +version '2.9.34' server_scripts { 'core/http.js' diff --git a/sonorancad/version.json b/sonorancad/version.json index 257140a..6f757b0 100644 --- a/sonorancad/version.json +++ b/sonorancad/version.json @@ -1,4 +1,4 @@ { - "resource" : "2.9.33", + "resource" : "2.9.34", "testedFxServerVersion": "5932" } From 3644989ac5220183f0672865003671764168d9ab Mon Sep 17 00:00:00 2001 From: El Gato da Great Date: Tue, 12 Nov 2024 17:09:03 -0600 Subject: [PATCH 2/3] Depreciation Notice --- README.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/README.md b/README.md index 76791e7..d74a355 100644 --- a/README.md +++ b/README.md @@ -1,16 +1 @@ -# SonoranCADLuaIntegration - -The Sonoran CAD Lua integration framework includes dozens of drag-and-drop integration scripts for your gaming server. - -## Installation - -Please view the [plugin and framework installation guides](https://info.sonorancad.com/integration-plugins/integration-plugins) for more details. - -## API Resources - -Sonoran CAD's API offers direct access to your CAD data, making it very useful to use for integration with various scripts. Detailed API and push event information can be found [here](https://info.sonorancad.com/sonoran-cad/api-integration/api-endpoints/). - -## Development Bounties -Get PAID to contribute to the open source project!!! - -Sonoran Software offers 💵CASH💵 for contributing to the open source integration framework plugin library. Check out more information [here](https://info.sonorancad.com/sonoran-cad/developer-bounties). +# v2.X.X and earlier have been depreciated and are no longer supported. Please update to the latest version [here](https://github.com/Sonoran-Software/SonoranCADFiveM). From dc2f0881774a5cab1dbfdec6168679e6af02cc62 Mon Sep 17 00:00:00 2001 From: El Gato da Great Date: Tue, 12 Nov 2024 20:05:30 -0600 Subject: [PATCH 3/3] tweak(readme): update v3 link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d74a355..852c472 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# v2.X.X and earlier have been depreciated and are no longer supported. Please update to the latest version [here](https://github.com/Sonoran-Software/SonoranCADFiveM). +# v2.X.X and earlier have been depreciated and are no longer supported. Please update to the latest version [here](https://sonoran.link/v3).