You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`math.round` now is rounded "away from zero" in JS backend which is consistent
116
-
with other backends. see #9125. Use `-d:nimLegacyJsRound` for previous behavior.
125
+
with other backends. See #9125. Use `-d:nimLegacyJsRound` for previous behavior.
126
+
117
127
- Added `socketstream` module that wraps sockets in the stream interface
118
128
119
129
- Changed the behavior of `uri.decodeQuery` when there are unencoded `=`
@@ -127,26 +137,29 @@ with other backends. see #9125. Use `-d:nimLegacyJsRound` for previous behavior.
127
137
128
138
- Added `math.signbit`.
129
139
130
-
131
140
- Removed the optional `longestMatch` parameter of the `critbits._WithPrefix` iterators (it never worked reliably)
141
+
132
142
- In `lists`: renamed `append` to `add` and retained `append` as an alias;
133
143
added `prepend` and `prependMoved` analogously to `add` and `addMoved`;
134
144
added `remove` for `SinglyLinkedList`s.
135
145
136
146
- Deprecated `any`. See https://github.com/nim-lang/RFCs/issues/281
137
147
138
148
- Added `std/sysrand` module to get random numbers from a secure source
139
-
provided by the operating system.
149
+
provided by the operating system.
140
150
141
151
- Added optional `options` argument to `copyFile`, `copyFileToDir`, and
142
152
`copyFileWithPermissions`. By default, on non-Windows OSes, symlinks are
143
153
followed (copy files symlinks point to); on Windows, `options` argument is
144
154
ignored and symlinks are skipped.
155
+
145
156
- On non-Windows OSes, `copyDir` and `copyDirWithPermissions` copy symlinks as
146
157
symlinks (instead of skipping them as it was before); on Windows symlinks are
147
158
skipped.
159
+
148
160
- On non-Windows OSes, `moveFile` and `moveDir` move symlinks as symlinks
149
161
(instead of skipping them sometimes as it was before).
162
+
150
163
- Added optional `followSymlinks` argument to `setFilePermissions`.
151
164
152
165
- Added `os.isAdmin` to tell whether the caller's process is a member of the
@@ -196,10 +209,12 @@ provided by the operating system.
196
209
197
210
-`std/options` changed `$some(3)` to `"some(3)"` instead of `"Some(3)"`
198
211
and `$none(int)` to `"none(int)"` instead of `"None[int]"`.
212
+
199
213
- Added `std/jsfetch` module [Fetch](https://developer.mozilla.org/docs/Web/API/Fetch_API) wrapper for JavaScript target.
214
+
200
215
- Added `std/jsheaders` module [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers) wrapper for JavaScript target.
201
-
- Added `std/jsformdata` module [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData) wrapper for JavaScript target.
202
216
217
+
- Added `std/jsformdata` module [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData) wrapper for JavaScript target.
203
218
204
219
-`system.addEscapedChar` now renders `\r` as `\r` instead of `\c`, to be compatible
205
220
with most other languages.
@@ -208,7 +223,12 @@ provided by the operating system.
208
223
209
224
- Added `jscore.debugger` to [call any available debugging functionality, such as breakpoints.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger)
210
225
211
-
- Added `htmlgen.portal` for [making "SPA style" pages using HTML only.](https://web.dev/hands-on-portals)
226
+
- Added `htmlgen.portal` for [making "SPA style" pages using HTML only](https://web.dev/hands-on-portals).
227
+
228
+
- Added `ZZZ` and `ZZZZ` patterns to `times.nim``DateTime` parsing, to match time
229
+
zone offsets without colons, e.g. `UTC+7 -> +0700`.
230
+
231
+
212
232
213
233
214
234
## Language changes
@@ -229,6 +249,8 @@ provided by the operating system.
229
249
230
250
-`typedesc[Foo]` now renders as such instead of `type Foo` in compiler messages.
231
251
252
+
253
+
232
254
## Compiler changes
233
255
234
256
- Added `--declaredlocs` to show symbol declaration location in messages.
@@ -266,6 +288,8 @@ provided by the operating system.
266
288
267
289
- Added `unsafeIsolate` and `extract` to `std/isolation`.
268
290
291
+
292
+
269
293
## Tool changes
270
294
271
295
- The rst parser now supports markdown table syntax.
0 commit comments