Skip to content

Commit 0d5c8c2

Browse files
authored
Update version and CHANGELOG for v1.12.0 (pyccel#1859)
Update the version in `version.py` to 1.12.0. Update the CHANGELOG to move the changes in pyccel#1858 to a new section for version 1.12.0.
1 parent 6f222d9 commit 0d5c8c2

File tree

2 files changed

+32
-18
lines changed

2 files changed

+32
-18
lines changed

CHANGELOG.md

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,40 +18,27 @@ All notable changes to this project will be documented in this file.
1818
- #1754 : Add Python support for set method `update()`.
1919
- #1787 : Ensure `STC` is installed with Pyccel.
2020
- #1656 : Ensure `gFTL` is installed with Pyccel.
21-
- #1830 : Add a `pyccel.lambdify.lambdify` function to accelerate SymPy expressions.
2221
- #1844 : Add line numbers and code to errors from built-in function calls.
23-
- #1867 : Add a `use_out` parameter to `pyccel.lambdify` to avoid unnecessary memory allocation.
24-
- #1867 : Auto-generate a docstring for functions generated via calls to `pyccel.lambdify`.
25-
- #1868 : Hide traceback for `epyccel` and `lambdify` errors.
2622
- \[INTERNALS\] Added `container_rank` property to `ast.datatypes.PyccelType` objects.
2723
- \[DEVELOPER\] Added an improved traceback to the developer-mode errors for errors in function calls.
2824

2925
### Fixed
3026

3127
- #1720 : Fix Undefined Variable error when the function definition is after the variable declaration.
32-
- #1762 : Fix array copy between different data types.
3328
- #1763 Use `np.result_type` to avoid mistakes in non-trivial NumPy type promotion rules.
3429
- Fix some cases where a Python built-in type is returned in place of a NumPy type.
3530
- Stop printing numbers with more decimal digits than their precision.
3631
- Allow printing the result of a function returning multiple objects of different types.
37-
- #1792 : Fix array unpacking.
38-
- #1795 : Fix bug when returning slices in C.
3932
- #1732 : Fix multidimensional list indexing in Python.
4033
- #1785 : Add missing cast when creating an array of booleans from non-boolean values.
41-
- #1218 : Fix bug when assigning an array to a slice in Fortran.
42-
- #1830 : Fix missing allocation when returning an annotated array expression.
4334
- #1821 : Ensure an error is raised when creating an ambiguous interface.
4435
- #1842 : Fix homogeneous tuples incorrectly identified as inhomogeneous.
45-
- #1853 : Fix translation of a file whose name conflicts with Fortran keywords.
46-
- Link and mention `devel` branch, not `master`.
4736

4837
### Changed
4938

5039
- #1836 : Move `epyccel` module to `pyccel.commands.epyccel` and add support for shortcut import `from pyccel import epyccel`.
5140
- #1720 : functions with the `@inline` decorator are no longer exposed to Python in the shared library.
5241
- #1720 : Error raised when incompatible arguments are passed to an `inlined` function is now fatal.
53-
- #1866 : Raise a more informative error when mixing scalar and array return types.
54-
- \[TESTS\] Filter out cast warnings in cast tests.
5542
- \[INTERNALS\] `FunctionDef` is annotated when it is called, or at the end of the `CodeBlock` if it is never called.
5643
- \[INTERNALS\] `InlinedFunctionDef` is only annotated if it is called.
5744
- \[INTERNALS\] Build `utilities.metaclasses.ArgumentSingleton` on the fly to ensure correct docstrings.
@@ -61,8 +48,6 @@ All notable changes to this project will be documented in this file.
6148
- \[INTERNALS\] Moved order from `ast.basic.TypedAstNode` to an internal property of `ast.datatypes.PyccelType` objects.
6249
- \[INTERNALS\] Use cached `__add__` method to determine result type of arithmetic operations.
6350
- \[INTERNALS\] Use cached `__and__` method to determine result type of bitwise comparison operations.
64-
- \[INTERNALS\] Removed unused `fcode`, `ccode`, `cwrappercode`, `luacode`, and `pycode` functions from printers.
65-
- \[INTERNALS\] Removed unused arguments from methods in `pyccel.codegen.codegen.Codegen`.
6651
- \[INTERNALS\] Stop storing `FunctionDef`, `ClassDef`, and `Import` objects inside `CodeBlock`s.
6752
- \[INTERNALS\] Remove the `order` argument from the `pyccel.ast.core.Allocate` constructor.
6853
- \[INTERNALS\] Remove `rank` and `order` arguments from `pyccel.ast.variable.Variable` constructor.
@@ -77,18 +62,47 @@ All notable changes to this project will be documented in this file.
7762

7863
### Deprecated
7964

80-
- #1820 : Deprecated unused decorator `@lambdify`
8165
- #1786 : Remove support for `real` and `integer` as type annotations.
8266
- #1812 : Stop allowing multiple main blocks inside a module.
8367
- \[INTERNALS\] Remove property `ast.basic.TypedAstNode.precision`.
8468
- \[INTERNALS\] Remove class `ast.datatypes.DataType` (replaced by `ast.datatypes.PrimitiveType` and `ast.datatypes.PyccelType`).
8569
- \[INTERNALS\] Remove unused properties `prefix` and `alias` from `CustomDataType`.
8670
- \[INTERNALS\] Remove `ast.basic.TypedAstNode._dtype`. The datatype can still be accessed as it is contained within the class type.
87-
- \[INTERNALS\] Removed unused and undocumented function `get_function_from_ast`.
8871
- \[INTERNALS\] Remove unused parameters `expr`, `status` and `like` from `pyccel.ast.core.Assign`.
8972
- \[INTERNALS\] Remove `pyccel.ast.utilities.builtin_functions`.
9073
- \[INTERNALS\] Remove unused/unnecessary functions in `pyccel.parser.utilities` : `read_file`, `header_statement`, `accelerator_statement`, `get_module_name`, `view_tree`.
9174
- \[INTERNALS\] Remove unused functions `Errors.unset_target`, and `Errors.reset_target`.
75+
76+
## \[1.12.0\] - 2024-05-08
77+
78+
### Added
79+
80+
- #1830 : Add a `pyccel.lambdify` function to accelerate SymPy expressions.
81+
- #1867 : Add a `use_out` parameter to `pyccel.lambdify` to avoid unnecessary memory allocation.
82+
- #1867 : Auto-generate a docstring for functions generated via calls to `pyccel.lambdify`.
83+
- #1868 : Hide traceback for `epyccel` and `lambdify` errors.
84+
85+
### Fixed
86+
87+
- #1762 : Fix array copy between different data types.
88+
- #1792 : Fix array unpacking.
89+
- #1795 : Fix bug when returning slices in C.
90+
- #1218 : Fix bug when assigning an array to a slice in Fortran.
91+
- #1830 : Fix missing allocation when returning an annotated array expression.
92+
- #1853 : Fix translation of a file whose name conflicts with Fortran keywords.
93+
- Link and mention `devel` branch, not `master`.
94+
95+
### Changed
96+
97+
- #1866 : Raise a more informative error when mixing scalar and array return types.
98+
- \[TESTS\] Filter out cast warnings in cast tests.
99+
- \[INTERNALS\] Removed unused `fcode`, `ccode`, `cwrappercode`, `luacode`, and `pycode` functions from printers.
100+
- \[INTERNALS\] Removed unused arguments from methods in `pyccel.codegen.codegen.Codegen`.
101+
102+
### Deprecated
103+
104+
- #1820 : Deprecated unused decorator `@lambdify`
105+
- \[INTERNALS\] Removed unused and undocumented function `get_function_from_ast`.
92106
- \[INTERNALS\] Remove function `Module.set_name`.
93107
- \[INTERNALS\] Remove unused `assign_to` argument of `CodePrinter.doprint`.
94108

pyccel/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
Module specifying the current version string for pyccel
33
"""
4-
__version__ = "1.11.2"
4+
__version__ = "1.12.0"

0 commit comments

Comments
 (0)