Between 4.5 and 4.6, many structures in M_, options_ and elsewhere which used to be character vectors are now cell arrays. Other things have changed in a backward-incompatible way.
We need to compile the list of all those structures, and document that change in the release notes.
Edited
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
Activity
Sort or filter
Newest first
Oldest first
Show all activity
Show comments only
Show history only
Sébastien Villemotchanged title from Provide documentation and a compatibility layer for the move to cell arrays in various structures to Provide documentation and compatibility layers for the upgrading to 4.6
changed title from Provide documentation and a compatibility layer for the move to cell arrays in various structures to Provide documentation and compatibility layers for the upgrading to 4.6
Following up on our discussion at mattermost, I disagree with providing a compatibility layer for stoch_simul, discretionary_policy and simult_. There are very good reasons for not having oo_ (and others) global.
First of all, having globals will prevent future parallelization. For example, it would make a lot of sense to have simult_ parallel when doing GIRFs with a lot of replications. Having a compatibility layer will prevent this or lead to cryptical error messages that users will not understand.
Second, the globals have historically caused a lot of harm. I have seen teaching codes by important people that relied on the globals and resulted in wrong results. The compatibility layer would allow people to continue with this bad behavior instead of forcing them to update their code. Updating should not be that problematic, because the changes are straightforward and we have always provided good support to users.
Regarding kicking the can down that road to a future release, I think 4.6 is a good version to remove globals as far as possible (dynare_estimation and _steady_state.m-files come to mind). It will introduce multiple breaking changes like the macroprocessor and the cell arrays that will force users to modify legacy files in any case. At the same 4.6 will not introduce any important bug fixes relative to 4.5.7. So users have a reliable legacy version available that could be used if they want to run older codes.
Sébastien Villemotchanged title from Provide documentation and compatibility layers for the upgrading to 4.6 to Provide documentation for the upgrading to 4.6
changed title from Provide documentation and compatibility layers for the upgrading to 4.6 to Provide documentation for the upgrading to 4.6
@sebastien What is the best work-flow for this? Should we start a Wiki? In the past, that was a starting point for the text file announcing the changes. But I guess that this time, a pure text-file will not be sufficient as we may need some form of syntax highlighting or color schemes.
Is there a reason to do this instead of folding it into the New Features page (perhaps renaming it to Release Notes)? Matlab does this for their release notes under a section called "Functionality being removed or changed."
Note for example the tags that look like Matlab's that I have introduced for the macro processor changes...