mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-01-12 22:46:42 +08:00
5.1 KiB
5.1 KiB
History
0.7.0
- Add ability to query by subproperty within GET event
- Add X-Requested-With header for AngularJS support
- Add auto https support to dpd.js client lib
- Removed Forever Monitor support from CLI
- Fix bug with repl causing typed characters to be printed twice and not executed correctly
- Fix bug where dashboard would not load if a config had not yet been created
- Fix issue where number query params for string type properties were not being converted to strings on server
- Fix MongoDB startup and settings
- Add check for $inc operands to ensure numbers before attempting to increment
- Add more core tests, and features to make mocking easier within tests
0.6.11
- Fixed bug where missing content-type header when updating a user threw an error.
0.6.10
- Fixed bug where query strings were not properly parsed.
- Fixed certain errors returned as HTML rather than JSON.
- Fixed bug where changing a property type from "number" to "string" made existing properties uneditable.
- Fixed bug where
changed()was returning true for values that had not changed. - Fixed certain error's returned as HTML rather than JSON.
- Data editor
- Fixed bug where data editor would expand as the page scrolls
- Fixed bug where the cursor would randomly move around while editing text
- Removed overlay for inline editing
0.6.9
- Fixed bug where
internal-clientwas not accessible from modules - Fixed restarts caused by 404s of unexpected http verbs
0.6.8
- Fixed CORS incorrectly requiring a referer header
- Added
dpd.once(name, fn)function to execute a realtime handler exactly once - Added
dpd.off(name, [fn])function to remove a realtime handler - Added
dpd.socketReady(fn)function to listen for the built-inconnectevent - Added
dpd.socketproperty to provide direct access to socket.io. - Fixed bug where username and password could be updated by an unauthenticated put.
- Usernames and passwords can be updated only by that user's session, a root session, or an internal request.
- Made
datafolder smaller by default indevelopmentenvironment - Added
cancelIf(),cancelUnless(),errorIf(), anderrorUnless()functions to event API for more declarative events - Added
hasErrors()function to event API - Added
isMe()function to event API - Fixed external prototype bug causing custom external prototypes to fail
- Removed docs from repository. They are now available at http://docs.deployd.com or https://github.com/deployd/docs.
0.6.7
- Added new data editor
- Fixed major bug where calling error() would not always cancel the request
- Fixed bug where PUT would fail without an error if you provided a query
- Changed root behavior - no longer ignores cancel() in events
- Fixed bugs preventing events from being
emit()ed to users in certain connection states - Fixed bug where boolean query values (?bool=true) were not treated as booleans
- Fixed unnecessary error when parsing JSON body
- Added more intelligent body parsing
- Added
changed()method in collection events - Added
previousobject in collection events - Fixed
dpd showkeyprompt for missing keys.json
0.6.6
- Added CORS support
- Exposed the server object to modules as
process.server - Fixed a rare bug where the first request after a login would not be authenticated
- Fixed minor bug when loading only node modules
0.6.5
- Fixed
process.sendbug - Remote DB Authentication
0.6.4
- Fixed incorrect Content-Length response header.
0.6.3
- Removed dependency on jQuery for dpd.js
- JSON-formatted "bad credentials" login error
- Improved error reporting on CLI when port is in use
- If in development mode, and no port has been specifically requested, CLI will retry with up to 5 different ports
- Fixed "no open connections" bug on startup
- Renamed
Db.connect()toDb.create() - Db connections are now lazy and only occur once a request is made
- Added 500 and 404 error pages
- Added module domain error handling for better module errors
- Added automatic reloading on error
- Dropped support for node 0.6
0.6.2
- Fixed rare but annoying bug where server would crash for no good reason ("Cannot set headers") on a request
0.6.1
- Bumped the default recursion limit to 2 levels
- Fixed rare case where a resource's dashboard would not load
- Fixed user events
- Fixed several validation bugs
- In a UserCollection /users/me will return 204 instead of 401
0.6.0
Breaking Changes
- Restructured Deployd app folder structure. Let us know if you need to migrate any 0.5 apps.
- Changed the "email" property of a UserCollection to "username", in order to be less opinionated about user logic.
New Features
- Rebuilt the dashboard
- You can now manage resources from any page on the dashboard. Navigation has also been improved
- You can now reorder properties in a collection
- Added custom resource API. You can now write your own resources and include them in your app. See the [docs] for examples and reference.
Major Bugfixes
- Fixed bug where your session could get elevated to root after using the Dashboard (causing cancel() in events to be ignored)