v3.5.0

@phillipskevin phillipskevin released this Mar 15, 2017 · 43 commits to master since this release

New Ecosystem Packages

Updated Core Packages

Updated Infrastructure Packages

Updated Ecosystem Packages

Updated legacy packages

Downloads

v2.3.29

@daffl daffl released this Feb 21, 2017 · 779 commits to master since this release

  • makes ../ skip past non-context contexts (#3017)

Downloads

Connect to feathers and merge model data easier

@justinbmeyer justinbmeyer released this Jan 11, 2017 · 121 commits to master since this release

  • Added can-connect-feathers to ecosystem. Use it to make a seamless connection to a real-time FeathersJS socket or http service layer. It also helps make sessions, login and logout very easy.

    // make a connection
    connect([..., feathersSession, ...],{
      Map: Session,
      ...
    });
    
    // get the session
    Session.current
    
    // login
    new Session( ... ).save();
    
    // logout
    Session.current.destroy();
  • can-connect 1.1.0 - Adds can-connect/helpers/map-deep-merge module. This is used to merge data into DefineMap and DefineLists with minimal changes:

    var deepMapMerge = require("can-connect/helpers/map-deep-merge");
    
    deepMapMerge( classRoom, {
      id: 5,
      name: "math",
      students: [{id: 1, name: "ilya"}, {id: 2, name: "Justin"}],
      teacher: {name: "Ms. Ramiya"}
    });
  • can-connect 1.2.0 - Adds can-connect/can/merge/merge behavior. This makes a connection use mapDeepMerge. Use it if you have nested model data!

    var canMergeBehavior = require("can-connect/can/merge/merge");
    ClassRoom.connection = connect([ ..., canMergeBehavior, ...], {
      Map: ClassRoom,
      ...
    })
  • can-define 1.0.14 - Use async setters like:

    var Type = define.Constructor({
      prop: {
          value: 2,
          set: function(num, resolve){
              resolve( num * num );
          }
      }
    });
  • can-define 1.0.15 - list.sort() doesn't clone objects.

  • can-stache 3.0.18 - supports foo[bar].baz and foo[%index].

  • Added can-validate-legacy

Downloads