iwhd NEWS                                                   -*- outline -*-

* Noteworthy changes in release 1.5 (2012-03-10) [stable]

** Bug fixes

  iwhd now rejects an attempt to add attribute k/v pair to a nonexistent
  object.  Before, it would add the attribute, which would then make it
  appear (listing the parent bucket) as if the still-nonexistent object
  existed.


* Noteworthy changes in release 1.4 (2012-03-05) [stable]

** Bug fixes

  iwhd's json-formatted attribute listing incorrectly contained
  "attr_"-prefixed names as well as invalid URL components.


* Noteworthy changes in release 1.3 (2012-03-02) [stable]

** Changes in behavior

  iwhd --auto (-a) now uses mongod's --nojournal option when possible

** Infrastructure

  Translations now come from the translationproject.org, rather than
  from transifex.

  Build-related fixes and portability improvements via gnulib.


* Noteworthy changes in release 1.2 (2011-12-06) [stable]

** New features

  Add automatic qcow2 format detection to the dc-rhev-image helper
  utility.  This change allows you to use both raw and qcow2 images to
  create templates in a RHEV-M environment.


* Noteworthy changes in release 1.1 (2011-12-01) [stable]

** Bug fixes

  The response to a query like the following
    curl -H 'Accept: */json' http://H:9090/b/o/_attrs
  now includes an "object_body" URL of "http://H:9090/b/o/", which
  matches the XML-formatted one, rather than "http://H:9090/b/o/body".
  That same line now ends with a comma, too.
  [bug introduced in 0.91]

** Changes in behavior

  iwhd now rejects a --userlist file that is group- or other-readable
  or -writable.

  The request logging is reorganized. Now, 2 messages are logged for
  every request. They report the method, path, requested and actual size,
  and the HTTP result code.


* Noteworthy changes in release 1.0 (2011-10-31) [stable]

** Known issue (minor)

  iwhd is not very useful without mongod.  Ideally, iwhd would communicate
  its inability to do useful work during that period, and when mongod
  becomes usable again iwhd would, too.  However, currently, attempting
  to do things like create an object or an attribute in iwhd makes iwhd
  dereference NULL whenever mongod is unreachable.


* Noteworthy changes in release 0.991 (2011-10-20) [stable]

** Bug fixes

  Adjust oauth hash to account for the "oauth_body_hash" header.

** New features

  Add -u flag that specifies a file with a list of authorized users.
  This way, ps does not show the password, and several users may be
  on the list. The -U flag is now deprecated.


* Noteworthy changes in release 0.990 (2011-10-13) [stable]

** Bug fixes

  Remove the (unauthenticated) QUIT method.

** Infrastructure

  Correct spec file.


* Noteworthy changes in release 0.99 (2011-10-10) [stable]

** New features

  A preliminary support is added for authorization with two-legged OAuth.
  See the -o flag.

** Bug fixes

  iwhd now continues to work properly when mongo dies and is restarted.
  Before, it would dump core due to an unhandled SocketException.

  iwhd's /etc/init.d startup script now reports failure reliably, for
  example when failing to start because no MongoDB server is running.
  Before it would print [FAILED], but mistakenly exit 0 (successful).
  Now it exits with status 1.

  Adapt to a slight variation in the status report of a template import
  action in RHEV-M 2.x.

  dc-rhev-image now allows a RHEV-M import to take 10 minutes.
  Before, it would timeout after just 1 minute, which was often inadequate.

  object deletion now succeeds for an object whose FS-backed file has been
  removed behind iwhd's back.

** New features

  The RHEV-M import timeout interval is now configurable.
  You can set it via the optional new "timeout" key in /etc/iwhd/conf.js.


* Noteworthy changes in release 0.98 (2011-08-09) [stable]

** New features

  The log output may be rotated now (parameter `-l' has to be set).

** Bug fixes

  Make sure that Garbage Collection library keeps track of my_state and
  provider name, and does not free them from under us, leading to crashes.


* Noteworthy changes in release 0.97 (2011-07-12) [stable]

** New features

  A registration to RHEV-M now returns the ID and diagnostic messages
  in the body of reply to POST request. This permits to register the
  same image several times, and helps triaging any problems. The old
  "ami-id" attribute is retained and remains the same across registration
  back-end types.

** Bug fixes

  On Fedora systems, /etc/iwhd/conf.js is not overwritten anymore when
  upgrading the package (added %config(noreplace)).

  Do not leave a value of "pending xxxx" remain in "ami-id" attribute
  in case of an error in registration process. When we did, no application
  or human administrator could tell if there was an error or a hung
  registration.

** Infrastructure

  Adapt to jansson-1.2's new, incompatible changed API, so we can build
  both with it and the older API.


* Noteworthy changes in release 0.96 (2011-06-15) [stable]

** New features

  Added VMware vSphere registration back-end. Type is "fs-vmw".

  The RHEV-M registration back-end can now import a just-uploaded template
  into a master storage domain. See new POST parameter "cluster".

** Bug fixes

  iwhd will segfault or hang less often during garbage-collection.
  [bug introduced in 0.91, partially fixed in 0.94]

  the iwhd init script start function would mistakenly succeed even when
  mongod failed to start in time.  Now, when mongod fails to start, that
  "start" function also fails.

  It is now possible to use Windows.Domain\Administrator as a user name
  in a cloud with Windows credentials. The backslash was causing an
  internal error due to improper JSON escaping.


* Noteworthy changes in release 0.95 (2011-05-17) [stable]

  Tested and ensured a support of registration in RHEV-M 2.2.


* Noteworthy changes in release 0.94 (2011-05-06) [stable]

** Bug fixes

  iwhd no longer segfaults during garbage-collection
  [bug introduced in 0.91]

  iwhd now emits syntactically valid JSON output for the root query.
  Before, it omitted the "providers": tag before the list of
  provider descriptions. [bug introduced in the beginning]


* Noteworthy changes in release 0.93 (2011-04-08) [stable]

** New features

  Condor back-end

** Bug fixes

  RHEV-M registration did all the right things, but returned code 400.


* Noteworthy changes in release 0.92 (2011-03-15) [stable]

** New features

  RHEV-M back-end

** Bug fixes

  attempting to delete a nonexistent bucket now elicits a 404 response
  Before, it was not possible to distinguish empty and nonexistent buckets.

  attribute lists are more useful (XML syntax fixes, URL fixes)

** New APIs

  GET http://host/B/O/_attrs now lists attributes of object O in bucket B.
  Before, you would have had to use another, undocumented technique.

** Infrastructure

  include a fedora-style init script


* Noteworthy changes in release 0.91 (2011-02-10) [stable]

** Bug fixes

  not itemized, this time

** New features

  new option: --autostart (-a) to automatically start back-end services

** New APIs

  Change the primary provider to P (an existing provider name):
    curl -X PUT http://_providers/P/_set_primary

  Get primary provider name:
    http://host:$port/_providers/_primary

** Infrastructure

  use gnulib

  use libgc for garbage collection
