Release notes
*Sourced from [ScriptHookVDotNet2's releases](https://github.com/crosire/scripthookvdotnet/releases).*
> ## ScriptHookVDotNet v2.10.9
> #### Changelog
> - Improved performance of the loader and native calls
> - Fixed memory offsets that were changed in 1.0.1604.0
> - Fixed some methods such as `UI.Notify` not showing entire texts when texts contains any non-ASCII characters and the lengths in UTF-8 are more than 99 bytes
> - Fixed `Native.Function.Call` throwing a `NullReferenceException` when the method calls from a thread other than the main thread of script and `nativeCall` fails. Now the method throws `InvalidOperationException` in that situation.
> - Extended the acceptable range of `Vehicle.HighGear` in 1.0.1604.0 to between 0 and 10 (inclusive), since the maximum supported vehicle gear is changed to 10 in 1.0.1604.0.
> - Updated enums with ped, vehicle hashes, weapons, and weapon components
> - Updated `BlipColor` and `BlipSprite` to add missing enums
> - Fixed the `StrangersAndFreaks` and `ArmoredTruck` values of `BlipSprite`
> - Added summaries to some enums in `BlipColor` and `BlipSprite` (most of them are wrongly named)
> - Updated `GameVersion` enum to contain newer versions
>
> ## ScriptHookVDotNet v2.10.8
> #### Changelog
> - Updated `GameVersion` enum to contain newer versions
Commits
- [`8b34181`](https://github.com/crosire/scripthookvdotnet/commit/8b34181a20d0b59915e54aadb270d556a5340a5e) Merge branch 'dev_v2'
- [`5e0f6d5`](https://github.com/crosire/scripthookvdotnet/commit/5e0f6d560afbd98394bba126c6c476d8fa2de052) Revert "Dispose SemaphoreSlim objects in scripts"
- [`0420fb3`](https://github.com/crosire/scripthookvdotnet/commit/0420fb3cee44641239a54eeb7976f9705139746d) Merge branch 'dev_v2'
- [`725b877`](https://github.com/crosire/scripthookvdotnet/commit/725b8778505362f2cfb1e6a11db1491e3b691a38) Remove trailing Whitespace
- [`bcfa78d`](https://github.com/crosire/scripthookvdotnet/commit/bcfa78db878480bf11d42d51a42a2fcb2bb3a044) Dispose SemaphoreSlim objects in scripts
- [`12ccfb6`](https://github.com/crosire/scripthookvdotnet/commit/12ccfb61727afc696b8c8ee62d48a8c6ad339dd6) Merge branches 'improve-performance-v2' and 'hotfix-v2' into dev_v2
- [`dcfb8cc`](https://github.com/crosire/scripthookvdotnet/commit/dcfb8cc6107e9d2c65c67996a918d1bdec72c986) Throw exception when a non-main thread calls Function.Call
- [`955f997`](https://github.com/crosire/scripthookvdotnet/commit/955f997ad9ea57cfc0e5e21b7d2524711370c51e) Improve performance of context switching
- [`c3cdaa3`](https://github.com/crosire/scripthookvdotnet/commit/c3cdaa32f6754e5c9e959bd63a8c047e4e4073c3) Add null check for arguments to NativeTask.Run
- [`fce180b`](https://github.com/crosire/scripthookvdotnet/commit/fce180bca01fbd7ffbbdd7cc3399b2e7504c852a) Increase HighGear limit in b1604 or later
- Additional commits viewable in [compare view](https://github.com/crosire/scripthookvdotnet/compare/v2.10.7...v2.10.9)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps ScriptHookVDotNet2 from 2.10.7 to 2.10.9.
Release notes
*Sourced from [ScriptHookVDotNet2's releases](https://github.com/crosire/scripthookvdotnet/releases).* > ## ScriptHookVDotNet v2.10.9 > #### Changelog > - Improved performance of the loader and native calls > - Fixed memory offsets that were changed in 1.0.1604.0 > - Fixed some methods such as `UI.Notify` not showing entire texts when texts contains any non-ASCII characters and the lengths in UTF-8 are more than 99 bytes > - Fixed `Native.Function.Call` throwing a `NullReferenceException` when the method calls from a thread other than the main thread of script and `nativeCall` fails. Now the method throws `InvalidOperationException` in that situation. > - Extended the acceptable range of `Vehicle.HighGear` in 1.0.1604.0 to between 0 and 10 (inclusive), since the maximum supported vehicle gear is changed to 10 in 1.0.1604.0. > - Updated enums with ped, vehicle hashes, weapons, and weapon components > - Updated `BlipColor` and `BlipSprite` to add missing enums > - Fixed the `StrangersAndFreaks` and `ArmoredTruck` values of `BlipSprite` > - Added summaries to some enums in `BlipColor` and `BlipSprite` (most of them are wrongly named) > - Updated `GameVersion` enum to contain newer versions > > ## ScriptHookVDotNet v2.10.8 > #### Changelog > - Updated `GameVersion` enum to contain newer versionsCommits
- [`8b34181`](https://github.com/crosire/scripthookvdotnet/commit/8b34181a20d0b59915e54aadb270d556a5340a5e) Merge branch 'dev_v2' - [`5e0f6d5`](https://github.com/crosire/scripthookvdotnet/commit/5e0f6d560afbd98394bba126c6c476d8fa2de052) Revert "Dispose SemaphoreSlim objects in scripts" - [`0420fb3`](https://github.com/crosire/scripthookvdotnet/commit/0420fb3cee44641239a54eeb7976f9705139746d) Merge branch 'dev_v2' - [`725b877`](https://github.com/crosire/scripthookvdotnet/commit/725b8778505362f2cfb1e6a11db1491e3b691a38) Remove trailing Whitespace - [`bcfa78d`](https://github.com/crosire/scripthookvdotnet/commit/bcfa78db878480bf11d42d51a42a2fcb2bb3a044) Dispose SemaphoreSlim objects in scripts - [`12ccfb6`](https://github.com/crosire/scripthookvdotnet/commit/12ccfb61727afc696b8c8ee62d48a8c6ad339dd6) Merge branches 'improve-performance-v2' and 'hotfix-v2' into dev_v2 - [`dcfb8cc`](https://github.com/crosire/scripthookvdotnet/commit/dcfb8cc6107e9d2c65c67996a918d1bdec72c986) Throw exception when a non-main thread calls Function.Call - [`955f997`](https://github.com/crosire/scripthookvdotnet/commit/955f997ad9ea57cfc0e5e21b7d2524711370c51e) Improve performance of context switching - [`c3cdaa3`](https://github.com/crosire/scripthookvdotnet/commit/c3cdaa32f6754e5c9e959bd63a8c047e4e4073c3) Add null check for arguments to NativeTask.Run - [`fce180b`](https://github.com/crosire/scripthookvdotnet/commit/fce180bca01fbd7ffbbdd7cc3399b2e7504c852a) Increase HighGear limit in b1604 or later - Additional commits viewable in [compare view](https://github.com/crosire/scripthookvdotnet/compare/v2.10.7...v2.10.9)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.