Changes in 1.5.9: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Undo revision 72033 by Lvrent (talk))
Tag: Undo
mNo edit summary
Line 6: Line 6:




'''This changelog is partial and needs updating. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master'''
'''This changelog is partial and needs updating. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/c4b9a84...master'''




Line 12: Line 12:
<section show="true">
<section show="true">
* Added [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''')
* Added [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''')
</section>
== Backwards Incompatibility ==
<section show="true">
=== 5 Backwards Incompatible Changes ===
These changes will take effect in 1.6.0:
* [[callRemote]] callbacks currently set the error code to '''nil''' when there is no error. In 1.6.0, to be consistent with [[fetchRemote]], the error code reported will be '''0'''. See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub #294].
* Since July 2016 if you provide an invalid string like '''"randomstring"''' when a function expects a number, the string will be treated as '''0''' and raise a script warning. In 1.6.0 this will be an error. You will still be able to provide strings containing numbers (e.g. '''"100"''' and '''"12.34"'''), this change only affects invalid strings. See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub #1043].
* When providing a width and height of (0, 0) to [[createBrowser]] or [[guiCreateBrowser]] you will encounter a script error instead of a warning. The warning was introduced Feb 2019. See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub #1069].
* Some functions expect only unsigned integers (positive numbers), and since Jan 2016 providing negative numbers would be a warning. This will now be an error. See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub #1070].
* Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed. See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071].
This list is inconclusive and we may introduce more changes later.
</section>
</section>




== Statistics ==
== Statistics ==
<section show="true">
<section show="false">
These are some statistics since the [[Changes in 1.5.8|previous release]].
These are some statistics since the [[Changes in 1.5.8|previous release]].
* This is the '''26<sup>th</sup>''' 1.x.x release
* This is the '''26<sup>th</sup>''' 1.x.x release, planned to be released Oct 1, 2021.
* '''0''' days (planned to be released Oct 1, 2021)
* '''{{date difference|2020|10|11}}''' days
* '''16''' new functions
* '''16''' new functions
* '''3''' new events
* '''3''' new events
Line 36: Line 50:


<sub>'''Note:''' Last update to these statistics was made {{date difference human friendly|2021|09|08}}.</sub>
<sub>'''Note:''' Last update to these statistics was made {{date difference human friendly|2021|09|08}}.</sub>
</section>
== Scripting ==
<section show="true">
=== 5 Backwards Incompatible Changes ===
These changes will take effect in 1.6.0:
* [[callRemote]] callbacks currently set the error code to '''nil''' when there is no error. In 1.6.0, to be consistent with [[fetchRemote]], the error code reported will be '''0'''. See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub #294].
* Since July 2016 if you provide an invalid string like '''"randomstring"''' when a function expects a number, the string will be treated as '''0''' and raise a script warning. In 1.6.0 this will be an error. You will still be able to provide strings containing numbers (e.g. '''"100"''' and '''"12.34"'''), this change only affects invalid strings. See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub #1043].
* When providing a width and height of (0, 0) to [[createBrowser]] or [[guiCreateBrowser]] you will encounter a script error instead of a warning. The warning was introduced Feb 2019. See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub #1069].
* Some functions expect only unsigned integers (positive numbers), and since Jan 2016 providing negative numbers would be a warning. This will now be an error. See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub #1070].
* Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed. See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071].
This list is inconclusive and we may introduce more changes later.
</section>
</section>


Line 175: Line 175:




=== 2 Vendor Update ===
=== 2 Vendor Updates ===
* Updated curl from 7.72.0 to 7.78.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2285 #2285] by '''patrikjuvonen''')
* Updated curl from 7.72.0 to 7.78.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2285 #2285] by '''patrikjuvonen''')
* Updated pcre from 8.39 to 8.44 ([https://github.com/multitheftauto/mtasa-blue/pull/2246 #2246] by '''patrikjuvonen''')
* Updated pcre from 8.39 to 8.44 ([https://github.com/multitheftauto/mtasa-blue/pull/2246 #2246] by '''patrikjuvonen''')

Revision as of 14:26, 8 September 2021

MTA:SA Releases Changelog Pages
1.0 1.0.0 • 1.0.1 • 1.0.2 • 1.0.3 • 1.0.4
1.1 1.1.0 • 1.1.1
1.2 1.2.0
1.3 1.3.01.3.11.3.21.3.31.3.41.3.5
1.4 1.4.01.4.1
1.5 1.5.01.5.11.5.21.5.31.5.41.5.51.5.61.5.71.5.81.5.9
1.6 1.6.01.6.1


This changelog is partial and needs updating. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/c4b9a84...master


Main Additions / Changes

Click to collapse [-]


Backwards Incompatibility

Click to collapse [-]

5 Backwards Incompatible Changes

These changes will take effect in 1.6.0:

  • callRemote callbacks currently set the error code to nil when there is no error. In 1.6.0, to be consistent with fetchRemote, the error code reported will be 0. See GitHub #294.
  • Since July 2016 if you provide an invalid string like "randomstring" when a function expects a number, the string will be treated as 0 and raise a script warning. In 1.6.0 this will be an error. You will still be able to provide strings containing numbers (e.g. "100" and "12.34"), this change only affects invalid strings. See GitHub #1043.
  • When providing a width and height of (0, 0) to createBrowser or guiCreateBrowser you will encounter a script error instead of a warning. The warning was introduced Feb 2019. See GitHub #1069.
  • Some functions expect only unsigned integers (positive numbers), and since Jan 2016 providing negative numbers would be a warning. This will now be an error. See GitHub #1070.
  • Since Aug 2015, we replaced the custom mtalocal:// URL scheme with http://mta/resourceName/blah.html. This mtalocal:// URL scheme will now be removed. See GitHub #1071.

This list is inconclusive and we may introduce more changes later.


Statistics

Click to expand [+]


Client

Click to collapse [-]

Undocumented changes

Waiting to be added to the changelog with proper description.


22 New Functions


4 New Events


2 New Arguments & Parameters


27 Bug Fixes & Changes


3 Vendor Updates

  • Updated BASS libraries (#2291 by Dutchman101)
  • Updated CEF from 85.3.12+g3e94ebf (Chromium 85.0.4183.121) to 92.0.27+g274abcf (Chromium 92.0.4515.159) (See commit 71d4165 by patrikjuvonen)
  • Updated and replaced CEGUI-integrated FreeType by adding it as its own dependency (def86d0 and 2b70f96 by Jusonex)


Server

Click to collapse [-]

3 New Events


10 Bug Fixes & Changes

  • Fixed wrong SQLite column in getAccountsByIP (#1734 by emre1702)
  • Improved help command in server console (#1639 by Unde-R)
  • Improved checksum error messages for internal HTTP servers (#1778 by qaisjp)
  • Events onVehicleStartEnter, onVehicleEnter, onVehicleStartExit and onVehicleExit now return peds as well (#1748 by Zangomangu)
  • Fixed respawning of blown vehicles (7963997 by botder)
  • Fixed info command displaying two statuses of a running resource (#2292 by theSarrum)
  • Added exit code to shutdown function (#2298 by botder)
  • Refactored CPlayerManager::IsValidPlayerModel() (#2250 by delinx)
  • Added missing ColShape.elementsWithin server-side (#2186 by Pirulax)
  • Added source map compatibility in CResourceHTMLItem (#2207 by PauloKim1246)


1 Vendor Update

  • Updated sqlite from 3.32.3 to 3.36.0 (#2284 by patrikjuvonen)


Shared (Client & Server)

Click to collapse [-]

2 New Arguments & Parameters

  • Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel to setWaterLevel (#1402 by TheNormalnij)
  • Added new optional inputBlocked argument for showChat (#2170 by Pieter-Dewachter)
  • Added second parameter withExplosion for blowVehicle (#2102 by botder)


5 Bug Fixes & Changes

  • Fixed vehicle driver desynchronization after carjacker dies (#1907 by Zangomangu)
  • Fixed empty files returning an invalid checksum (966de4e by botder)
  • Trim keybind whitespace to avoid duplicates (#2124 by patrikjuvonen)
  • Added extra checks in CXMLImpl::ParseString to avoid crash when invalid XML data supplied (#2282 by Lpsd)
  • Added aes128 encryption support to encodeString/decodeString (#2235 by drop-club)
  • Fixed testLineAgainstWater works incorrectly outside of game boundaries (#2192 by Allerek)


2 Vendor Updates

  • Updated curl from 7.72.0 to 7.78.0 (#2285 by patrikjuvonen)
  • Updated pcre from 8.39 to 8.44 (#2246 by patrikjuvonen)


Extra information

More detailed information available on our GitHub repositories: