zimki | all bloggers | admin login | recent entries for Stig Brautaset
 
Zimki 1.4 released

Stig Brautaset on Tue Oct 10 2006 14:35:01 GMT+0100 (GMT)

These are fixes and changes introduced in the Zimki 1.4 release.

New features

  • The instance search function has some new term modifiers:
    • 'not', to find instances where an attribute is not some value.
    • 'gte', to find values greater than or equal to the passed value
    • 'lte', to find values less than or equal to the passed value
  • New feed library, written in pure JavaScript, zimki.render.feed. The new library must be imported before you can use it (use zimki.library.require('library', 'feed.js'); to do that).
  • JavaScript instances now have nextBy and previousBy functions on them, to get the next and previous instances of that class, sorted by some (choosable) attribute.
  • zimki.publishAPI is a new method. This is similar to zimki.publishService, but instead of named arguments your method will receive a dictionary containing the arguments passed to it.
  • The XML API methods have been rewritten in JavaScript. This is all part of the plan to release Zimki as Open Source in the near future.
  • The XML API test page now introspects user-provided methods as well as the default ones provided by Zimki.
  • When something unexpected happens, throw real JavaScript Error objects so we get proper stack traces.
  • You can now add and remove users' group relationships using group names instead of group ids.

Deprecations

  • The old zimki.render.rss library has been deprecated with this release. Please use the new zimki.render.feed library instead (the old one will continue to work as before for now, but will eventually be phased out).

Bugfixes

  • The Zimki backup files now properly store non-ascii characters.
  • Benchmarking identified a few bottlenecks which we have since eliminated.
  • If your JavaScript does not compile, you will now get a proper error when trying to use the XML Api page, instead of the appearance that the page simply don't work.
  • Zimki is now more strict on what characters you can use in an API Key alias. Also, it now checks the validity of aliases on creation as well as on updates.
  • Fixed a caching bug that could cause recently-updated objects to toggle between returning their new and previous values.

Gotcha's

Zimki doesn't store big object attributes in files any more. This turned out to catch some people out, as weirdly-named files appeared in their filestore unexpectedly.

leave a comment

name
email
comment