Remove tracking of environment from osenv.nim v2 (#18575)

* Remove unnecessary environment tracking

* try to fix windows

* fix delEnv

* make putEnv work on windows even with empty values; improve tests: add tests, add js, vm testing

* [skip ci] fix changelog

Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com>
This commit is contained in:
Timothee Cour 2021-07-29 14:05:26 -07:00 • committed by GitHub
commit 6b3c77e7f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 240 additions and 186 deletions

View file

@ -97,11 +97,14 @@
The downside is that these defines now have custom logic that doesn't apply for
other defines.
- `std/os`: `putEnv` now raises if the 1st argument contains a `=`
- Renamed `-d:nimCompilerStackraceHints` to `-d:nimCompilerStacktraceHints`.
- In `std/dom`, `Interval` is now a `ref object`, same as `Timeout`. Definitions of `setTimeout`,
`clearTimeout`, `setInterval`, `clearInterval` were updated.
## Standard library additions and changes
- `strformat`: