Repository navigation
SampSharp 1.0.0-prerelease2
Pre-release
Pre-release
·
9 commits
to main
since this release
This release solves a number of bugs and crashes.
Most notable changes:
- The EntryPoint you'll have added manually in 1.0.0-prerelease1 can be removed
- Added support for a number of nullable parameter types in command parameters, such as
int?,float?, etc. - Support for the
IConfigurationabstraction was added - Fixed player gang zones being visible to other players
- Fixed various use-after-free crashes
- (breaking)
IConfigurationwas added as 2nd paramter in the ConfigureServices function
For a full list of changes, see the commit log.
public class Startup : IEcsStartup
{
public void Initialize(IStartupContext context)
{
context.UseEntities().UseCommands();
}
public void ConfigureServices(IServiceCollection services, IConfiguration configuration) // <-- the 2nd parameter was added
{
}
public void Configure(IEcsBuilder builder)
{
}
}What's Changed
- Ensure release package includes Windows SampSharp.pdb artifact by @Copilot in #571
- Pack SampSharp analyzer packages as Roslyn analyzers (not regular libs) by @Copilot in #570
- Improve configurations for workflows and IDE by @ikkentim in #572
- Improves devcontainer by @ikkentim in #573
- Add Nullable support to command parameter parser selection by @Copilot in #575
- Fix typo in 'unknown error' message in managed-host.cpp by @ikkentim in #576
- Added IConfiguration to ECS by @ikkentim in #577
- Fix launchSettings arguments for paths containing spaces by @NeekoGta in #578
- Add launch instructions for VS Code by @ikkentim in #579
- Bind configuration section 'Logger' to logger, added mapping options for LogLevel by @ikkentim in #581
- Adjust logger namespaces by @ikkentim in #584
- Fix
SampSharp.EcsGameMode.OpenMptemplate startup signature and remove redundant usings by @Copilot in #583 - Make per player pickups/gang zones methods specific to owner by @ikkentim in #585
- Get environment from standard environment variable names by @ikkentim in #586
- Cleanup the test mode a little bit by @ikkentim in #587
- Improve test coverage and fix found bugs by @ikkentim in #588
- Fix use-after-free bugs in components by @ikkentim in #589
- Update branding to 1.0.0-prerelease2 by @ikkentim in #590
New Contributors
Full Changelog: 1.0.0-prerelease1...1.0.0-prerelease2