Skip to content

Commit 95f470f

Browse files
committed
Deploying to gh-pages from @ 6b0079b 🚀
1 parent f0ca832 commit 95f470f

File tree

3 files changed

+38
-15
lines changed

3 files changed

+38
-15
lines changed

_sources/changelog.md.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
### 2.0.1 (2024-07-01)
4+
5+
## Minor Changes
6+
7+
- Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
8+
n-D arrays but also made 1-D arrays raise. The standard does not explicitly
9+
disallow iteration on 1-D arrays, and the default Python `__iter__`
10+
implementation allows it to work, so for now, it is kept intact as working.
11+
312
## 2.0 (2024-06-27)
413

514
### Major Changes

changelog.html

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,19 @@
259259
<section class="tex2jax_ignore mathjax_ignore" id="changelog">
260260
<h1>Changelog<a class="headerlink" href="#changelog" title="Link to this heading"></a></h1>
261261
<section id="id1">
262-
<h2>2.0 (2024-06-27)<a class="headerlink" href="#id1" title="Link to this heading"></a></h2>
262+
<h2>2.0.1 (2024-07-01)<a class="headerlink" href="#id1" title="Link to this heading"></a></h2>
263+
</section>
264+
<section id="minor-changes">
265+
<h2>Minor Changes<a class="headerlink" href="#minor-changes" title="Link to this heading"></a></h2>
266+
<ul class="simple">
267+
<li><p>Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
268+
n-D arrays but also made 1-D arrays raise. The standard does not explicitly
269+
disallow iteration on 1-D arrays, and the default Python <code class="docutils literal notranslate"><span class="pre">__iter__</span></code>
270+
implementation allows it to work, so for now, it is kept intact as working.</p></li>
271+
</ul>
272+
</section>
273+
<section id="id2">
274+
<h2>2.0 (2024-06-27)<a class="headerlink" href="#id2" title="Link to this heading"></a></h2>
263275
<section id="major-changes">
264276
<h3>Major Changes<a class="headerlink" href="#major-changes" title="Link to this heading"></a></h3>
265277
<ul class="simple">
@@ -280,23 +292,23 @@ <h3>Major Changes<a class="headerlink" href="#major-changes" title="Link to this
280292
change the default version to 2023.12.</p></li>
281293
</ul>
282294
</section>
283-
<section id="minor-changes">
284-
<h3>Minor Changes<a class="headerlink" href="#minor-changes" title="Link to this heading"></a></h3>
295+
<section id="id3">
296+
<h3>Minor Changes<a class="headerlink" href="#id3" title="Link to this heading"></a></h3>
285297
<ul class="simple">
286298
<li><p>Calling <code class="docutils literal notranslate"><span class="pre">iter()</span></code> on an array now correctly raises <code class="docutils literal notranslate"><span class="pre">TypeError</span></code>.</p></li>
287299
<li><p>Add some missing names to <code class="docutils literal notranslate"><span class="pre">__all__</span></code>.</p></li>
288300
</ul>
289301
</section>
290302
</section>
291-
<section id="id2">
292-
<h2>1.1.1 (2024-04-29)<a class="headerlink" href="#id2" title="Link to this heading"></a></h2>
303+
<section id="id4">
304+
<h2>1.1.1 (2024-04-29)<a class="headerlink" href="#id4" title="Link to this heading"></a></h2>
293305
<ul class="simple">
294306
<li><p>Fix the <code class="docutils literal notranslate"><span class="pre">api_version</span></code> argument to <code class="docutils literal notranslate"><span class="pre">__array_namespace__</span></code> to accept
295307
<code class="docutils literal notranslate"><span class="pre">'2021.12'</span></code> or <code class="docutils literal notranslate"><span class="pre">'2022.12'</span></code>.</p></li>
296308
</ul>
297309
</section>
298-
<section id="id3">
299-
<h2>1.1 (2024-04-08)<a class="headerlink" href="#id3" title="Link to this heading"></a></h2>
310+
<section id="id5">
311+
<h2>1.1 (2024-04-08)<a class="headerlink" href="#id5" title="Link to this heading"></a></h2>
300312
<ul class="simple">
301313
<li><p>Fix the <code class="docutils literal notranslate"><span class="pre">copy</span></code> flag in <code class="docutils literal notranslate"><span class="pre">__array__</span></code> for NumPy 2.0.</p></li>
302314
<li><p>Add full <code class="docutils literal notranslate"><span class="pre">copy=False</span></code> support to <code class="docutils literal notranslate"><span class="pre">asarray()</span></code>. This is emulated in NumPy 1.26 by creating
@@ -305,8 +317,8 @@ <h2>1.1 (2024-04-08)<a class="headerlink" href="#id3" title="Link to this headin
305317
<li><p>Add broadcasting support to <code class="docutils literal notranslate"><span class="pre">cross</span></code>.</p></li>
306318
</ul>
307319
</section>
308-
<section id="id4">
309-
<h2>1.0 (2024-01-24)<a class="headerlink" href="#id4" title="Link to this heading"></a></h2>
320+
<section id="id6">
321+
<h2>1.0 (2024-01-24)<a class="headerlink" href="#id6" title="Link to this heading"></a></h2>
310322
<p>This is the first release of <code class="docutils literal notranslate"><span class="pre">array_api_strict</span></code>. It is extracted from
311323
<code class="docutils literal notranslate"><span class="pre">numpy.array_api</span></code>, which was included as an experimental submodule in NumPy
312324
versions prior to 2.0. Note that the commit history in this repository is
@@ -390,14 +402,16 @@ <h2>1.0 (2024-01-24)<a class="headerlink" href="#id4" title="Link to this headin
390402
<div class="toc-tree">
391403
<ul>
392404
<li><a class="reference internal" href="#">Changelog</a><ul>
393-
<li><a class="reference internal" href="#id1">2.0 (2024-06-27)</a><ul>
394-
<li><a class="reference internal" href="#major-changes">Major Changes</a></li>
405+
<li><a class="reference internal" href="#id1">2.0.1 (2024-07-01)</a></li>
395406
<li><a class="reference internal" href="#minor-changes">Minor Changes</a></li>
407+
<li><a class="reference internal" href="#id2">2.0 (2024-06-27)</a><ul>
408+
<li><a class="reference internal" href="#major-changes">Major Changes</a></li>
409+
<li><a class="reference internal" href="#id3">Minor Changes</a></li>
396410
</ul>
397411
</li>
398-
<li><a class="reference internal" href="#id2">1.1.1 (2024-04-29)</a></li>
399-
<li><a class="reference internal" href="#id3">1.1 (2024-04-08)</a></li>
400-
<li><a class="reference internal" href="#id4">1.0 (2024-01-24)</a></li>
412+
<li><a class="reference internal" href="#id4">1.1.1 (2024-04-29)</a></li>
413+
<li><a class="reference internal" href="#id5">1.1 (2024-04-08)</a></li>
414+
<li><a class="reference internal" href="#id6">1.0 (2024-01-24)</a></li>
401415
</ul>
402416
</li>
403417
</ul>

0 commit comments

Comments
 (0)