Skip to content

v2.3.0

Compare
Choose a tag to compare
@danielspaniel danielspaniel released this 02 Mar 13:07
· 1016 commits to master since this release
  • Massive overhaul of mock GET request Handlers
    • renamed andReturns() method to returns()
    • Now have consistent returns() method for each one
      • taking models, model, json, ids, id, or headers as options
    • deprecated returnsJSON, returnsModels, returnsIds
    • deprecated handle names for mock names
    • Added mockQueryRecord
    • Many of the ideas inspired by @xcambar from ideas in #157, #158, #159
  • renamed andFails to fails
  • can now import mockFind, mockFindAll ... etc methods from 'ember-data-factory-guy' top level import
  • use get() method to unwrap json make with build, buildList
    • used to be called unwrap()
    • More big thanks to @migbar for the help on this featuer
  • can now get access to mock handler being used by mockjax from mock object

READ the new documentation .. so much has changed, hard to list it all:

Biggest changes here: