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
<h1>Changelog<aclass="headerlink" href="#changelog" title="Link to this heading">¶</a></h1>
249
-
<sectionid="xx-xx">
250
-
<h2>2.3 (2025-XX-XX)<aclass="headerlink" href="#xx-xx" title="Link to this heading">¶</a></h2>
249
+
<sectionid="id1">
250
+
<h2>2.3.1 (2025-03-20)<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
251
+
<p>This is a bugfix release with no new features compared to 2.3. This release fixes an
252
+
issue with <codeclass="docutils literal notranslate"><spanclass="pre">where</span></code> for scalar arguments, found in downstream testing of the 2024.12
253
+
support.</p>
254
+
</section>
255
+
<sectionid="id2">
256
+
<h2>2.3 (2025-02-27)<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h2>
251
257
<sectionid="major-changes">
252
258
<h3>Major Changes<aclass="headerlink" href="#major-changes" title="Link to this heading">¶</a></h3>
253
259
<ul>
@@ -310,10 +316,10 @@ <h3>Contributors<a class="headerlink" href="#contributors" title="Link to this h
310
316
Tim Head</p>
311
317
</section>
312
318
</section>
313
-
<sectionid="id1">
314
-
<h2>2.2 (2024-11-11)<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
315
-
<sectionid="id2">
316
-
<h3>Major Changes<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h3>
319
+
<sectionid="id3">
320
+
<h2>2.2 (2024-11-11)<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h2>
321
+
<sectionid="id4">
322
+
<h3>Major Changes<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h3>
317
323
<ul>
318
324
<li><p>Preliminary support for the draft 2024.12 version of the standard is now
319
325
implemented. This is disabled by default, but can be enabled with the <aclass="reference internal" href="api.html#array-api-strict-flags"><spanclass="std std-ref">flags
@@ -336,19 +342,19 @@ <h3>Major Changes<a class="headerlink" href="#id2" title="Link to this heading">
336
342
</li>
337
343
</ul>
338
344
</section>
339
-
<sectionid="id3">
340
-
<h3>Minor Changes<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h3>
345
+
<sectionid="id5">
346
+
<h3>Minor Changes<aclass="headerlink" href="#id5" title="Link to this heading">¶</a></h3>
341
347
<ulclass="simple">
342
348
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">__array_namespace_info__()</span></code> now returns a class instead of a module. This
343
349
prevents extraneous names that aren’t part of the standard from appearing on
344
350
it.</p></li>
345
351
</ul>
346
352
</section>
347
353
</section>
348
-
<sectionid="id4">
349
-
<h2>2.1.3 (2024-11-08)<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h2>
350
-
<sectionid="id5">
351
-
<h3>Major Changes<aclass="headerlink" href="#id5" title="Link to this heading">¶</a></h3>
354
+
<sectionid="id6">
355
+
<h2>2.1.3 (2024-11-08)<aclass="headerlink" href="#id6" title="Link to this heading">¶</a></h2>
356
+
<sectionid="id7">
357
+
<h3>Major Changes<aclass="headerlink" href="#id7" title="Link to this heading">¶</a></h3>
352
358
<ulclass="simple">
353
359
<li><p>Revert the change to require NumPy >= 2.1 and Python >= 3.10 from
354
360
array-api-strict 2.1.2. array-api-strict now requires NumPy >= 1.21 and
@@ -363,19 +369,19 @@ <h3>Major Changes<a class="headerlink" href="#id5" title="Link to this heading">
363
369
</ul>
364
370
</section>
365
371
</section>
366
-
<sectionid="id6">
367
-
<h2>2.1.2 (2024-11-07)<aclass="headerlink" href="#id6" title="Link to this heading">¶</a></h2>
368
-
<sectionid="id7">
369
-
<h3>Major Changes<aclass="headerlink" href="#id7" title="Link to this heading">¶</a></h3>
372
+
<sectionid="id8">
373
+
<h2>2.1.2 (2024-11-07)<aclass="headerlink" href="#id8" title="Link to this heading">¶</a></h2>
374
+
<sectionid="id9">
375
+
<h3>Major Changes<aclass="headerlink" href="#id9" title="Link to this heading">¶</a></h3>
370
376
<ulclass="simple">
371
377
<li><p>array-api-strict now requires NumPy >= 2.1 and Python >= 3.10</p></li>
372
378
</ul>
373
379
</section>
374
380
</section>
375
-
<sectionid="id8">
376
-
<h2>2.1.1 (2024-11-07)<aclass="headerlink" href="#id8" title="Link to this heading">¶</a></h2>
377
-
<sectionid="id9">
378
-
<h3>Major Changes<aclass="headerlink" href="#id9" title="Link to this heading">¶</a></h3>
381
+
<sectionid="id10">
382
+
<h2>2.1.1 (2024-11-07)<aclass="headerlink" href="#id10" title="Link to this heading">¶</a></h2>
383
+
<sectionid="id11">
384
+
<h3>Major Changes<aclass="headerlink" href="#id11" title="Link to this heading">¶</a></h3>
379
385
<ulclass="simple">
380
386
<li><p>Remove the <codeclass="docutils literal notranslate"><spanclass="pre">__array__</span></code> method from array-api-strict arrays. This means they
381
387
will no longer be implicitly converted to NumPy arrays when passed to <codeclass="docutils literal notranslate"><spanclass="pre">np</span></code>
@@ -384,8 +390,8 @@ <h3>Major Changes<a class="headerlink" href="#id9" title="Link to this heading">
384
390
strict array to a NumPy array, use <codeclass="docutils literal notranslate"><spanclass="pre">np.from_dlpack(x)</span></code></p></li>
385
391
</ul>
386
392
</section>
387
-
<sectionid="id10">
388
-
<h3>Minor Changes<aclass="headerlink" href="#id10" title="Link to this heading">¶</a></h3>
393
+
<sectionid="id12">
394
+
<h3>Minor Changes<aclass="headerlink" href="#id12" title="Link to this heading">¶</a></h3>
389
395
<ulclass="simple">
390
396
<li><p>Use a more robust implementation of <codeclass="docutils literal notranslate"><spanclass="pre">clip()</span></code> that handles corner cases better.</p></li>
391
397
<li><p>Fix the definition of <codeclass="docutils literal notranslate"><spanclass="pre">sign()</span></code> for complex numbers when using NumPy 1.x.</p></li>
@@ -396,10 +402,10 @@ <h3>Minor Changes<a class="headerlink" href="#id10" title="Link to this heading"
396
402
</ul>
397
403
</section>
398
404
</section>
399
-
<sectionid="id11">
400
-
<h2>2.1 (2024-10-18)<aclass="headerlink" href="#id11" title="Link to this heading">¶</a></h2>
401
-
<sectionid="id12">
402
-
<h3>Major Changes<aclass="headerlink" href="#id12" title="Link to this heading">¶</a></h3>
405
+
<sectionid="id13">
406
+
<h2>2.1 (2024-10-18)<aclass="headerlink" href="#id13" title="Link to this heading">¶</a></h2>
407
+
<sectionid="id14">
408
+
<h3>Major Changes<aclass="headerlink" href="#id14" title="Link to this heading">¶</a></h3>
403
409
<ulclass="simple">
404
410
<li><p>The default version of the array API standard is now 2023.12. 2022.12 can
405
411
still be enabled via the <aclass="reference internal" href="api.html#array-api-strict-flags"><spanclass="std std-ref">flags API</span></a>.</p></li>
@@ -415,18 +421,18 @@ <h3>Major Changes<a class="headerlink" href="#id12" title="Link to this heading"
415
421
exception. (Thanks to <aclass="reference external" href="https://github.com/betatim">@betatim</a>).</p></li>
416
422
</ul>
417
423
</section>
418
-
<sectionid="id13">
419
-
<h3>Minor Changes<aclass="headerlink" href="#id13" title="Link to this heading">¶</a></h3>
424
+
<sectionid="id15">
425
+
<h3>Minor Changes<aclass="headerlink" href="#id15" title="Link to this heading">¶</a></h3>
420
426
<ulclass="simple">
421
427
<li><p>Avoid implicitly relying on <codeclass="docutils literal notranslate"><spanclass="pre">__array__</span></code> in some places. These changes should
422
428
not be usef visible.</p></li>
423
429
</ul>
424
430
</section>
425
431
</section>
426
-
<sectionid="id14">
427
-
<h2>2.0.1 (2024-07-01)<aclass="headerlink" href="#id14" title="Link to this heading">¶</a></h2>
428
-
<sectionid="id15">
429
-
<h3>Minor Changes<aclass="headerlink" href="#id15" title="Link to this heading">¶</a></h3>
432
+
<sectionid="id16">
433
+
<h2>2.0.1 (2024-07-01)<aclass="headerlink" href="#id16" title="Link to this heading">¶</a></h2>
434
+
<sectionid="id17">
435
+
<h3>Minor Changes<aclass="headerlink" href="#id17" title="Link to this heading">¶</a></h3>
430
436
<ulclass="simple">
431
437
<li><p>Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
432
438
n-D arrays but also made 1-D arrays raise. The standard does not explicitly
@@ -435,10 +441,10 @@ <h3>Minor Changes<a class="headerlink" href="#id15" title="Link to this heading"
435
441
</ul>
436
442
</section>
437
443
</section>
438
-
<sectionid="id16">
439
-
<h2>2.0 (2024-06-27)<aclass="headerlink" href="#id16" title="Link to this heading">¶</a></h2>
440
-
<sectionid="id17">
441
-
<h3>Major Changes<aclass="headerlink" href="#id17" title="Link to this heading">¶</a></h3>
444
+
<sectionid="id18">
445
+
<h2>2.0 (2024-06-27)<aclass="headerlink" href="#id18" title="Link to this heading">¶</a></h2>
446
+
<sectionid="id19">
447
+
<h3>Major Changes<aclass="headerlink" href="#id19" title="Link to this heading">¶</a></h3>
442
448
<ulclass="simple">
443
449
<li><p>array-api-strict has a new set of <aclass="reference internal" href="api.html#array-api-strict-flags"><spanclass="std std-ref">flags</span></a> that can
444
450
be used to dynamically enable or disable features in array-api-strict. These
@@ -457,23 +463,23 @@ <h3>Major Changes<a class="headerlink" href="#id17" title="Link to this heading"
457
463
change the default version to 2023.12.</p></li>
458
464
</ul>
459
465
</section>
460
-
<sectionid="id18">
461
-
<h3>Minor Changes<aclass="headerlink" href="#id18" title="Link to this heading">¶</a></h3>
466
+
<sectionid="id20">
467
+
<h3>Minor Changes<aclass="headerlink" href="#id20" title="Link to this heading">¶</a></h3>
462
468
<ulclass="simple">
463
469
<li><p>Calling <codeclass="docutils literal notranslate"><spanclass="pre">iter()</span></code> on an array now correctly raises <codeclass="docutils literal notranslate"><spanclass="pre">TypeError</span></code>.</p></li>
464
470
<li><p>Add some missing names to <codeclass="docutils literal notranslate"><spanclass="pre">__all__</span></code>.</p></li>
465
471
</ul>
466
472
</section>
467
473
</section>
468
-
<sectionid="id19">
469
-
<h2>1.1.1 (2024-04-29)<aclass="headerlink" href="#id19" title="Link to this heading">¶</a></h2>
474
+
<sectionid="id21">
475
+
<h2>1.1.1 (2024-04-29)<aclass="headerlink" href="#id21" title="Link to this heading">¶</a></h2>
470
476
<ulclass="simple">
471
477
<li><p>Fix the <codeclass="docutils literal notranslate"><spanclass="pre">api_version</span></code> argument to <codeclass="docutils literal notranslate"><spanclass="pre">__array_namespace__</span></code> to accept
472
478
<codeclass="docutils literal notranslate"><spanclass="pre">'2021.12'</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">'2022.12'</span></code>.</p></li>
473
479
</ul>
474
480
</section>
475
-
<sectionid="id20">
476
-
<h2>1.1 (2024-04-08)<aclass="headerlink" href="#id20" title="Link to this heading">¶</a></h2>
481
+
<sectionid="id22">
482
+
<h2>1.1 (2024-04-08)<aclass="headerlink" href="#id22" title="Link to this heading">¶</a></h2>
477
483
<ulclass="simple">
478
484
<li><p>Fix the <codeclass="docutils literal notranslate"><spanclass="pre">copy</span></code> flag in <codeclass="docutils literal notranslate"><spanclass="pre">__array__</span></code> for NumPy 2.0.</p></li>
479
485
<li><p>Add full <codeclass="docutils literal notranslate"><spanclass="pre">copy=False</span></code> support to <codeclass="docutils literal notranslate"><spanclass="pre">asarray()</span></code>. This is emulated in NumPy 1.26 by creating
@@ -482,8 +488,8 @@ <h2>1.1 (2024-04-08)<a class="headerlink" href="#id20" title="Link to this headi
482
488
<li><p>Add broadcasting support to <codeclass="docutils literal notranslate"><spanclass="pre">cross</span></code>.</p></li>
483
489
</ul>
484
490
</section>
485
-
<sectionid="id21">
486
-
<h2>1.0 (2024-01-24)<aclass="headerlink" href="#id21" title="Link to this heading">¶</a></h2>
491
+
<sectionid="id23">
492
+
<h2>1.0 (2024-01-24)<aclass="headerlink" href="#id23" title="Link to this heading">¶</a></h2>
487
493
<p>This is the first release of <codeclass="docutils literal notranslate"><spanclass="pre">array_api_strict</span></code>. It is extracted from
488
494
<codeclass="docutils literal notranslate"><spanclass="pre">numpy.array_api</span></code>, which was included as an experimental submodule in NumPy
489
495
versions prior to 2.0. Note that the commit history in this repository is
@@ -575,47 +581,48 @@ <h2>1.0 (2024-01-24)<a class="headerlink" href="#id21" title="Link to this headi
0 commit comments