There will also be workbook.save_to_buffer() and workbook.save_to_path() methods.
This simplifies the constructor/destructor sequence and introduces a save() option that was often requested in the Python version but which I never implemented.
This is quite an invasive change on previous versions and I apologies for the inconvenience, but there is still a relatively small number of active users so it is best to make this change now.
In the next release (0.9.0) there is a major change to the constructor and destructor methods.
The API will change from having the filename in the constructor like this:
To having a
workbook::new()
without filename and aworkbook.save()
with a filename instead of aworkbook.close()
. LIke this:There will also be
workbook.save_to_buffer()
andworkbook.save_to_path()
methods.This simplifies the constructor/destructor sequence and introduces a
save()
option that was often requested in the Python version but which I never implemented.This is quite an invasive change on previous versions and I apologies for the inconvenience, but there is still a relatively small number of active users so it is best to make this change now.