@@ -9,11 +9,13 @@ Change Log
99
1010      <p  class =" admonition-title"  > Deprecated </p >
1111
12-   :class: `~randomgen.generator.Generator ` and :class: `~randomgen.mtrand.RandomState `
13-   are **DEPRECATED **. You should be using :class: `numpy.random.Generator ` or
14-   :class: `numpy.random.RandomState ` which are better maintained. These will be
15-   maintained until after NumPy 1.21 (or 2 releases after NumPy 1.19) for users who
16-   cannot update NumPy.
12+   ``Generator `` and ``RandomState `` have been **REMOVED ** in 1.23.
13+   You should be using :class: `numpy.random.Generator ` or
14+   :class: `numpy.random.RandomState ` which are maintained. 
15+ 
16+ v1.23.0
17+ ======= 
18+ - Removed ``Generator `` and ``RandomState ``.
1719
1820v1.20.2
1921======= 
@@ -44,7 +46,7 @@ v1.20.2
4446
4547v1.20.1
4648======= 
47- - Fixed a bug that affects :func: ` ~randomgen.generator.Generator. standard_gamma ` when
49+ - Fixed a bug that affects `` standard_gamma ` ` when
4850  used with ``out `` and a Fortran contiguous array.
4951- Added :func: `~randomgen.generator.ExtendedGenerator.multivariate_complex_normal `.
5052- Added :func: `~randomgen.generator.ExtendedGenerator.standard_wishart ` and
@@ -105,20 +107,20 @@ v1.19.0
105107- Added support for broadcasting inputs in :class: `randomgen.generator.ExtendedGenerator.multivariate_normal `.
106108- Added support for the `++ ` variant of :class: `randomgen.xoroshiro128.Xoroshiro128 `.
107109- Fixed a bug the produced incorrect results in :func: `~randomgen.mt19937.MT19937.jumped `.
108- - Fixed multiple bugs in :class: ` ~randomgen.generator. Generator ` that were fixed in :class: `numpy.random.Generator `.
110+ - Fixed multiple bugs in `` Generator ` ` that were fixed in :class: `numpy.random.Generator `.
109111
110112v1.18.0
111113======= 
112- - :meth: ` ~randomgen.generator.Generator. choice ` pulled in upstream performance improvement that
114+ - `` choice ` ` pulled in upstream performance improvement that
113115  use a hash set when choosing without replacement and without user-provided probabilities.
114116- Added support for :class: `~randomgen.seed_sequence.SeedSequence ` (and NumPy's ``SeedSequence ``).
115117- Fixed a bug that affected both :class: `~randomgen.generator.Generator.randint `
116-   in :class: ` ~randomgen.generator. Generator ` and :meth: ` ~randomgen.mtrand.RandomState. randint `
117-   in  :class: ` ~randomgen.mtrand. RandomState ` when ``high=2**32 ``.  This value is inbounds for
118+   in `` Generator ``  and `` randint ` `
119+   in  `` RandomState ` ` when ``high=2**32 ``.  This value is inbounds for
118120  a 32-bit unsigned closed interval generator, and so  should have been redirected to
119121  a 32-bit generator. It  was erroneously sent to the 64-bit path. The random values produced
120122  are fully random but inefficient. This fix breaks the stream in :class: `~randomgen.generator.Generator 
121-   is the value for ``high` ` is used. The fix restores :class: ` ~randomgen.mtrand. RandomState ` to
123+   is the value for ``high` ` is used. The fix restores `` RandomState ` ` to
122124  NumPy 1.16 compatibility.
123125  only affects the output if ``dtype `` is ``'int64' ``
124126- This release brings many breaking changes.  Most of these have been
@@ -127,20 +129,16 @@ v1.18.0
127129  going into NumPy.
128130- Two changes that are more abrupt are:
129131
130-   * The ``.generator `` method of the bit generators raise
131-     ``NotImplementedError ``
132+   * The ``.generator `` method of the bit generators raise ``NotImplementedError ``
132133  * The internal structures that is used in C have been renamed.
133134    The main rename is ``brng_t `` to ``bitgen_t ``
134135
135136- The other key changes are:
136137
137-   * Rename ``RandomGenerator `` to :class: `~randomgen.generator.Generator `.
138-   * Rename :meth: `~randomgen.generator.Generator.randint ` to
139-     :meth: `~randomgen.generator.Generator.integers `.
140-   * Rename :meth: `~randomgen.generator.Generator.random_integers ` to
141-     :meth: `~randomgen.generator.Generator.integers `.
142-   * Rename :meth: `~randomgen.generator.Generator.random_sample `
143-     to :meth: `~randomgen.generator.Generator.random `.
138+   * Rename ``RandomGenerator `` to ``Generator ``.
139+   * Rename ``randint `` to ``integers ``.
140+   * Rename ``random_integers `` to ``integers ``.
141+   * Rename ``random_sample `` to ``random ``.
144142  * Change ``jump `` which operated in-place to
145143    :meth: `~randomgen.xoshiro256.Xoshiro256.jumped ` which
146144    returns a new ``BitGenerator ``.
@@ -163,40 +161,34 @@ v1.16.6
163161- Improved the performance of :class: `~randomgen.pcg64.PCG64 ` on Windows.
164162- Improved performance of :func: `~randomgen.dsfmt.DSFMT.jump ` and
165163  :func: `~randomgen.dsfmt.DSFMT.jumped `.
166- - Improves backward compatibility of :class: ` ~randomgen.mtrand. RandomState `
164+ - Improves backward compatibility of `` RandomState ` `
167165
168166
169167v1.16.5
170168======= 
171- - Fixed bugs in :func: `~randomgen.mtrand.RandomState.laplace `,
172-   :func: `~randomgen.mtrand.RandomState.gumbel `,
173-   :func: `~randomgen.mtrand.RandomState.logseries `,
174-   :func: `~randomgen.mtrand.RandomState.normal `,
175-   :func: `~randomgen.mtrand.RandomState.standard_normal `,
176-   :func: `~randomgen.mtrand.RandomState.standard_exponential `,
177-   :func: `~randomgen.mtrand.RandomState.exponential `, and
178-   :func: `~randomgen.mtrand.RandomState.logistic ` that could result in ``nan ``
179-   values in rare circumstances (about 1 in :math: `10 ^{53 }` draws).
180- - Added keyword ``closed `` to :func: `~randomgen.generator.Generator.randint `
169+ - Fixed bugs in ``laplace ``, ``gumbel ``, ``logseries ``, ``normal ``,
170+   ``standard_normal ``, ``standard_exponential ``, ``exponential ``, and ``logistic ``
171+   that could result in ``nan `` values in rare circumstances (about 1 in :math: `10 ^{53 }` draws).
172+ - Added keyword ``closed `` to ``randint ``
181173  which changes sampling from the half-open interval ``[low, high) `` to the closed
182174  interval ``[low, high] ``.
183- - Fixed a bug in :func: ` ~randomgen.mtrand.RandomState. random_integers ` that
175+ - Fixed a bug in `` random_integers ` ` that
184176  could lead to valid values being treated as invalid.
185177
186178v1.16.4
187179======= 
188- - Add a fast path for broadcasting :func: ` ~randomgen.generator.Generator. randint `
180+ - Add a fast path for broadcasting `` randint ` `
189181  when using ``uint64 `` or ``int64 ``.
190182- Refactor PCG64 so that it does not rely on Cython conditional compilation.
191- - Add :func: ` ~randomgen.generator.Generator. brng ` to access the basic RNG.
192- - Allow multidimensional arrays in :func: ` ~randomgen.generator.Generator. choice `.
193- - Speed-up :func: ` ~randomgen.generator.Generator. choice ` when not replacing.
183+ - Add `` brng ` ` to access the basic RNG.
184+ - Allow multidimensional arrays in `` choice ` `.
185+ - Speed-up `` choice ` ` when not replacing.
194186  The gains can be very large (1000x or more) when the input array is large but
195187  the sample size is small.
196- - Add parameter checks in :func: ` ~randomgen.generator.Generator. multinomial `.
197- - Fix an edge-case bug in :func: ` ~randomgen.generator.Generator. zipf `.
198- - Allow 0 for sample in :func: ` ~randomgen.generator.Generator. hypergeometric `.
199- - Add broadcasting to :func: ` ~randomgen.generator.Generator. multinomial ` (see
188+ - Add parameter checks in `` multinomial ` `.
189+ - Fix an edge-case bug in `` zipf ` `.
190+ - Allow 0 for sample in `` hypergeometric ` `.
191+ - Add broadcasting to `` multinomial ` ` (see
200192  `NumPy issue 9710  <https://github.com/numpy/numpy/pull/9710 >`_)
201193
202194v1.16.3
@@ -210,13 +202,10 @@ v1.16.2
210202  into NumPy, including removing:
211203
212204  * ``random_raw ``, which have been moved to the individual bit generators
213-   * ``random_uintegers ``, which can be replaced with
214-     :func: `~randomgen.generator.Generator.randint `.
205+   * ``random_uintegers ``, which can be replaced with ``randint ``.
215206
216- - Added :class: `~randomgen.mtrand.RandomState ` as a clone of NumPy's
217-   RandomState.
218- - Removed :class: `~randomgen.legacy.LegacyGenerator ` since this is no
219-   longer needed
207+ - Added ``RandomState `` as a clone of NumPy's RandomState.
208+ - Removed ``LegacyGenerator `` since this is no longer needed
220209- Fixed many small bugs, including in cffi and ctype interfaces
221210
222211v1.16.1
0 commit comments