mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(tauri-utils): sort csp/plugin/header config maps during codegen so generate_context! is deterministic (#14986)
* fix(tauri-utils): sort csp/plugin/header config maps during codegen so generate_context! is deterministic * add comments explaining rationale, and todo for removing the hack in v3
This commit is contained in:
7
.changes/fix-nondeterministic-context-codegen.md
Normal file
7
.changes/fix-nondeterministic-context-codegen.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'tauri-utils': 'patch:bug'
|
||||
---
|
||||
|
||||
Sort csp/plugin/header configs when generating HashMap constructors so that `generate_context!` is deterministic.
|
||||
|
||||
See: https://github.com/tauri-apps/tauri/issues/14978 for more information
|
||||
Reference in New Issue
Block a user