Changes in 1.6: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{Changelogs}}
{{Changelogs}}
__NOTOC__
__NOTOC__
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/7
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9
* So far https://github.com/multitheftauto/mtasa-blue/compare/d9ee1af...master
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master
* Release announcement on forums: TBA


'''This changelog is partial and needs updating.'''


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


== Main Additions / Changes ==
 
== Backwards Compatibility ==
<section show="true">
<section show="true">
* Add [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''')
</section>
== Statistics ==
<section show="false">
These are some statistics since the [[Changes in 1.5.8|previous release]].
* This is the '''26<sup>th</sup>''' 1.x.x release, planned to be released 25.12.2020
* '''10<sup>th</sup>''' year anniversary update
* '''{{date difference|2020|10|11}}''' days
* '''2''' new functions
* '''0''' new events
* '''0''' deprecations
* '''0''' bug fixes and changes
* '''0''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master see comparison])
* '''0''' new open Mantis issues
* '''0''' resolved Mantis issues
* '''0''' closed Mantis issues
* '''3''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+created%3A%3E%3D2020-10-11 see list])
* '''0''' resolved GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aclosed+is%3Aissue+milestone%3A1.6 see list])
* '''0''' closed GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aclosed+is%3Aissue+closed%3A%3E%3D2020-10-11+no%3Amilestone see list])
* '''0''' new open GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+created%3A%3E%3D2020-10-11 see list])
* '''0''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+milestone%3A1.6+is%3Amerged see list])
* '''0''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aunmerged+closed%3A%3E%3D2020-10-11 see list])
* '''1''' contributors of which '''0''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2020-10-11&to=2021-10-11&type=c see list])
* '''82+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list])
* '''0''' vendor updates
<!--
  We don't have the https://www.mediawiki.org/wiki/Extension:Variables extension installed,
  so remember to update the date in all parts below.
-->
<sub>'''Note:''' Last update to these statistics was made
{{#ifeq: {{date difference|2020|10|12}} | 0 | today |
  {{#ifeq: {{date difference|2020|10|12}} | 1 | yesterday |
    {{date difference|2020|10|12}} days ago
  }}
}}.</sub>
</section>
== Scripting ==
=== 5 Backwards Incompatible Changes ===
=== 5 Backwards Incompatible Changes ===
These changes will take effect in 1.6:
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, to be consistent with [[fetchRemote]], the error code reported will be '''0'''. See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub #294].
* [[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 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].
* 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].
* 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].
* 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].
Line 62: Line 22:


This list is inconclusive and we may introduce more changes later.
This list is inconclusive and we may introduce more changes later.
=== Client ===
<section show="true">
==== 2 New Functions ====
* Add [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''')
<!--
==== New Events ====
* Placeholder
==== Deprecations ====
* Placeholder
==== New Arguments & Parameters ====
* Placeholder
==== Bug Fixes & Changes ====
* Placeholder
--></section>
<!--
=== Server ===
<section show="true">
==== New Functions ====
* Placeholder
==== New Events ====
* Placeholder
==== Deprecations ====
* Placeholder
==== New Arguments & Parameters ====
* Placeholder
==== Bug Fixes & Changes ====
* Placeholder
</section>
-->
<!--
=== Shared (''Client & Server side'') ===
<section show="true">
==== New Functions ====
* Placeholder
==== New Events ====
* Placeholder
==== Deprecations ====
* Placeholder
==== New Arguments & Parameters ====
* Placeholder
==== Bug Fixes & Changes ====
* Placeholder
</section>
</section>
-->


<!--
== Client ==
<section show="true">
=== Bug Fixes & Changes ===
* Placeholder
=== Vendor Updates ===
* Placeholder
</section>
-->
<!--
== Server ==
<section show="false">
=== Bug Fixes & Changes ===
* Placeholder
=== Vendor Updates ===
* Placeholder
</section>
== Shared ==
<section show="false">
=== Bug Fixes & Changes ===
* Placeholder
=== Vendor Updates ===
* Placeholder
</section>
== Resources ==
<section show="false">
* Placeholder
</section>
-->


== Extra information ==
== Extra information ==

Revision as of 10:18, 24 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/1.5.9...master


Backwards Compatibility

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.


Extra information

More detailed information available on our GitHub repositories: