diff --git a/docs/release-notes.md b/docs/release-notes.md index 50c6f639..42316629 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,6 +1,10 @@ ← [README](README.md) # Release notes +## Upcoming release +* For the web UI: + * Added option to upload files using a file picker. + ## 3.3.2 Released 22 February 2020 for Stardew Valley 1.4.1 or later. @@ -27,6 +31,10 @@ Released 22 February 2020 for Stardew Valley 1.4.1 or later. * Fixed warning on MacOS when you have no saves yet. * Reduced log messages. +* For the web UI: + * Updated the JSON validator and Content Patcher schema for `.tmx` support. + * The mod compatibility page now has a sticky table header. + * For modders: * Added support for [message sending](https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Integrations#Message_sending) to mods on the current computer (in addition to remote computers). * Added `ExtendImage` method to content API when editing files to resize textures. @@ -37,10 +45,6 @@ Released 22 February 2020 for Stardew Valley 1.4.1 or later. * Updated dependencies (including Mono.Cecil 0.11.1 → 0.11.2). * Fixed dialogue propagation clearing marriage dialogue. -* For the web UI: - * Updated the JSON validator and Content Patcher schema for `.tmx` support. - * The mod compatibility page now has a sticky table header. - * For SMAPI/tool developers: * Improved support for four-part versions to support SMAPI on Android. * The SMAPI log now prefixes the OS name with `Android` on Android. diff --git a/src/SMAPI.Web/Program.cs b/src/SMAPI.Web/Program.cs index 5856fc98..5d13cdf3 100644 --- a/src/SMAPI.Web/Program.cs +++ b/src/SMAPI.Web/Program.cs @@ -16,6 +16,8 @@ namespace StardewModdingAPI.Web // configure web server WebHost .CreateDefaultBuilder(args) + .CaptureStartupErrors(true) + .UseSetting("detailedErrors", "true") .UseStartup() .Build() .Run(); diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs index 29086472..56ef9a79 100644 --- a/src/SMAPI.Web/Startup.cs +++ b/src/SMAPI.Web/Startup.cs @@ -192,8 +192,7 @@ namespace StardewModdingAPI.Web public void Configure(IApplicationBuilder app, IHostingEnvironment env) { // basic config - if (env.IsDevelopment()) - app.UseDeveloperExceptionPage(); + app.UseDeveloperExceptionPage(); app .UseCors(policy => policy .AllowAnyHeader() diff --git a/src/SMAPI.Web/Views/JsonValidator/Index.cshtml b/src/SMAPI.Web/Views/JsonValidator/Index.cshtml index a00c8387..7287e00b 100644 --- a/src/SMAPI.Web/Views/JsonValidator/Index.cshtml +++ b/src/SMAPI.Web/Views/JsonValidator/Index.cshtml @@ -28,14 +28,16 @@ { } - + + - + + - + +