deployd v0.8.0 Release Notes

  • ๐Ÿ› Bug Fixes

    • typeload: load custom resources from package.json if exists (f1f0738)
    • attach.js: mkdir resourcesPath if not exists (55cf4b36)
    • collection:
      • $push should work with arrays when inserting new records (077c2b97)
      • allow changed() function to work properly with collection properties of type object. (46f518dc)
    • config-loader: improve the 'resources' dir reading (67218018)
    • db:
      • update/delete should return count of records affected (6a8caad8)
      • Should not crash process when an invalid $fields query is passed. (ca68e153)
    • internal-client: exec resource.path is missing (c1acee8e)
    • script: null values in domain were changed to {} (26311eea)
    • session: correct usages of an emit queue. (53b226ad)
    • session.js: Refactor session creation code to use promises in order to fix a possible race condition while inserting a session to the database. (3080de2f)
    • โœ… tests: call done() properly from async function (061f16de)
    • โšก๏ธ correctly delete cookies, update cookies-dependency

    ๐Ÿ”‹ Features

    • collection: $addUnique for MongoDB $addToSet support (from yoneal PR #252) (730e980e)
    • config-loader server: customize server and public dirs through options (f17d296d)
    • core: wait for promises in events (964ec452)
    • dashboard: sort sidebar resources in alphabetical order (4cf89a63)
    • events: Expose ctx object to the event scripts (c0b39d3a)
    • server: add deployd.attach to extend http/expressjs/connect server and provide a middleware (29cf94b4)
    • session: get session by uid (ffb33bf5)
    • dpd.js add promises to client library