Version 23, released Friday, November 09, 2007
Changes:
* Friday, November 09, 2007: Incorporates the latest
release, SR20, of the USDA nutrient data. This necessitated
a minor change to the source code: in SR20, NDB number 07011
has bad data in the WEIGHT.txt table; Pantry discards this
data point automatically. SR20 features 7519 food items, up
from 7294 in SR19. For more details on what is new in SR20,
consult USDA at
http://www.nal.usda.gov/fnic/foodcomp/Data/SR20/SR20_doc.pdf

Narrative of changes:
This release incorporates the latest (September 2007)
nutrition data from the U.S. Department of Agriculture.

Version 22, released Saturday, October 13, 2007
Changes:
* Saturday, October 13, 2007: Changed file format for Pantry
native files, making files created with this version of
Pantry incompatible with earlier versions. To convert files
created with Pantry versions 19 through 21 to work with
version 22, use the program panconvert.py, which is included
in the examples directory. For instance, to convert a file
named quick, use python panconvert.py quick. The original
file is not changed; the new file is written to filename-new
--so, here, the converted file is written to "quick-new".
* Saturday, October 13, 2007: Rewrote code that converts
strings to numbers, which eliminates several bugs in this
area.
* Monday, October 08, 2007: Much streamlining was done on
Pantry code; except for changes in XML files below, there
are no changes in the user interface. However, Pantry will
now run more quickly under certain circumstances.
* Monday, October 08, 2007: In Pantry XML files, the yield
element has been eliminated. Instead, to indicate the yield
of a recipe, use the yieldGrams, yieldDesc, and servings
attributes on the recipe element.
* Monday, October 08, 2007: All nutrient elements in Pantry
RC files now must include the units attribute
* Sunday, October 07, 2007: Empty strings for pctRefuse and
qty traits are no longer valid in XML files.
* Monday, September 17, 2007: improved formatting of
directions reports

Narrative of changes:
This release cleans up a great deal of Pantry code, making
it much shorter overall. This makes the program run faster
under certain circumstances. Some changes were made in the
XML file format and in the configuration file format. The
Pantry native file format is incompatible with earlier
versions, but a converter is included to convert Pantry
native files made with versions 19, 20, and 21 so they will
work with version 22.

Version 21, released Monday, September 17, 2007
Changes:
* Monday, September 17, 2007: fixed bug - zero-length
nutrient values in XML files were causing crashes
* Sunday, September 16, 2007: cleaned up documentation;
fixed bug that was malforming the examples
* Sunday, September 16, 2007: --refuse now works properly
with fractions
* Sunday, September 16, 2007: All nutrient elements in XML
files now *must* include the units attribute
* Monday, September 10, 2007: added way to create custom
reports, but it is undocumented. If you want to use this,
you can study the source (of course) or let me know and then
I'll document it.
* Tuesday, September 04, 2007: eliminated path feature; to
get similar functionality,  you can use global aliases (in
zsh) or shell parameters (in any shell). To save typing in
XML files, you can use entities.
* Tuesday, August 28, 2007: eliminated default-nutrient-list
element from pantryrc; to get similar functionality, define
your own shell function or script

Narrative of changes:
This release cleans up the documentation. It also removes
the default-nutrient-list and path features from the
pantryrc file; these things are better implemented using
features of your shell. Other bugs were fixed.

Version 20, released Friday, August 24, 2007
Changes:
* Friday, August 24, 2007: fixed bug when adding recipes to
cabinets (recipes did not have a copy method)

Narrative of changes:
Fixed bug when adding recipes to files.

Version 19, released Thursday, August 23, 2007
Changes:
* Thursday, August 23, 2007: all XML files are now written
with a UTF-8 encoding
* Tuesday, August 21, 2007: Made minor change to file format
that will save some memory and disk space. However, this
change makes earlier Pantry native files incompatible with
this version. If this is a problem, let me know (pantry-
users@lists.sourceforge.net) and I can write a converter--
this would be only a few lines of code.
* Tuesday, August 21, 2007: xml and txt files no longer use
lseek
* Monday, August 20, 2007: --add and --edit now give a
warning when they prepend "Copy xx" to a food's comment
trait, rather than doing this silently.
* Monday, August 20, 2007: changed --edit so that it works
correctly with txt files

Narrative of changes:
Changed --edit so it works correctly with plain text data
files. Also, changed the file format to save disk space and
memory; however, this makes Pantry native files that Pantry
19 uses incompatible with earlier versions. If this is a
problem, let me know and I can write a converter. This
release also includes minor bugfixes and improvements to
error messages.

Version 18, released Saturday, August 18, 2007
Changes:
* Saturday, August 18, 2007: minor documentation bugfixes
and additions
* Friday, August 17, 2007: eliminated pantry-addTo. It was
difficult to document because it was a personal hack;
furthermore, its configuration data was cluttering up the
main pantryrc file. You can easily replicate its
functionality by writing your own shell script, shell
function, Perl or Python script, etc.

Narrative of changes:
This release eliminates pantry-addTo, primarily because it
was difficult to document.

Version 17, released Friday, August 17, 2007
Changes:
* Wednesday, August 08, 2007: fixed bug - --add was
searching the path
* Tuesday, August 07, 2007: changed error message when --add
option fails
* Tuesday, August 07, 2007: started keeping a changelog

Narrative of changes:
Implements a new build system, which end users will not
notice, but will allow for more frequent Pantry releases and
for an automatically-compiled changelog. All releases are
now accompanied by a change log. A few minor bugs were
fixed.

