@@ -18,40 +18,27 @@ All notable changes to this project will be documented in this file.
18
18
- #1754 : Add Python support for set method ` update() ` .
19
19
- #1787 : Ensure ` STC ` is installed with Pyccel.
20
20
- #1656 : Ensure ` gFTL ` is installed with Pyccel.
21
- - #1830 : Add a ` pyccel.lambdify.lambdify ` function to accelerate SymPy expressions.
22
21
- #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.
26
22
- \[ INTERNALS\] Added ` container_rank ` property to ` ast.datatypes.PyccelType ` objects.
27
23
- \[ DEVELOPER\] Added an improved traceback to the developer-mode errors for errors in function calls.
28
24
29
25
### Fixed
30
26
31
27
- #1720 : Fix Undefined Variable error when the function definition is after the variable declaration.
32
- - #1762 : Fix array copy between different data types.
33
28
- #1763 Use ` np.result_type ` to avoid mistakes in non-trivial NumPy type promotion rules.
34
29
- Fix some cases where a Python built-in type is returned in place of a NumPy type.
35
30
- Stop printing numbers with more decimal digits than their precision.
36
31
- 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.
39
32
- #1732 : Fix multidimensional list indexing in Python.
40
33
- #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.
43
34
- #1821 : Ensure an error is raised when creating an ambiguous interface.
44
35
- #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 ` .
47
36
48
37
### Changed
49
38
50
39
- #1836 : Move ` epyccel ` module to ` pyccel.commands.epyccel ` and add support for shortcut import ` from pyccel import epyccel ` .
51
40
- #1720 : functions with the ` @inline ` decorator are no longer exposed to Python in the shared library.
52
41
- #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.
55
42
- \[ INTERNALS\] ` FunctionDef ` is annotated when it is called, or at the end of the ` CodeBlock ` if it is never called.
56
43
- \[ INTERNALS\] ` InlinedFunctionDef ` is only annotated if it is called.
57
44
- \[ 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.
61
48
- \[ INTERNALS\] Moved order from ` ast.basic.TypedAstNode ` to an internal property of ` ast.datatypes.PyccelType ` objects.
62
49
- \[ INTERNALS\] Use cached ` __add__ ` method to determine result type of arithmetic operations.
63
50
- \[ 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 ` .
66
51
- \[ INTERNALS\] Stop storing ` FunctionDef ` , ` ClassDef ` , and ` Import ` objects inside ` CodeBlock ` s.
67
52
- \[ INTERNALS\] Remove the ` order ` argument from the ` pyccel.ast.core.Allocate ` constructor.
68
53
- \[ 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.
77
62
78
63
### Deprecated
79
64
80
- - #1820 : Deprecated unused decorator ` @lambdify `
81
65
- #1786 : Remove support for ` real ` and ` integer ` as type annotations.
82
66
- #1812 : Stop allowing multiple main blocks inside a module.
83
67
- \[ INTERNALS\] Remove property ` ast.basic.TypedAstNode.precision ` .
84
68
- \[ INTERNALS\] Remove class ` ast.datatypes.DataType ` (replaced by ` ast.datatypes.PrimitiveType ` and ` ast.datatypes.PyccelType ` ).
85
69
- \[ INTERNALS\] Remove unused properties ` prefix ` and ` alias ` from ` CustomDataType ` .
86
70
- \[ 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 ` .
88
71
- \[ INTERNALS\] Remove unused parameters ` expr ` , ` status ` and ` like ` from ` pyccel.ast.core.Assign ` .
89
72
- \[ INTERNALS\] Remove ` pyccel.ast.utilities.builtin_functions ` .
90
73
- \[ INTERNALS\] Remove unused/unnecessary functions in ` pyccel.parser.utilities ` : ` read_file ` , ` header_statement ` , ` accelerator_statement ` , ` get_module_name ` , ` view_tree ` .
91
74
- \[ 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 ` .
92
106
- \[ INTERNALS\] Remove function ` Module.set_name ` .
93
107
- \[ INTERNALS\] Remove unused ` assign_to ` argument of ` CodePrinter.doprint ` .
94
108
0 commit comments