Skip to content

Add when 3.0 compat #157

Closed
Closed

Description

@briancavalier

There were a few breaking API changes in when 3.0 that make it incompatible with wire 0.10. It should be an easy update.

Activity

  1. added this to the 0.10.7 milestone on Mar 21, 2014
  2. jeffrose commented on Mar 24, 2014

    @jeffrose

    I am currently seeing an issue with using wire 010.6 and when 3.0.1. A wire spec that was once working with 0.10.5/2.8.0 has stopped. Here is a quick sample...

    {
        appFoo: {
            create: 'foo'
        },
        fooFilter: {
            create: {
                module: 'fooFilter',
                args: {
                    $ref: { 'appFoo' }
                }
            }
        },
    
        $plugins: [ { module: 'wire/debug', trace: true } ]
    }

    When appFoo is passed into fooFilter it has the value 5000, which of course is not correct. :-)

  3. briancavalier commented on Mar 24, 2014

    @briancavalier
    MemberAuthor

    Hey @jeffeose, it's a known incompatibility. We're working on it. The bower.json indicates that you'll need 2.x, and we'll update that when we release a version that's compatible with when 3.0

  4. briancavalier commented on Mar 25, 2014

    @briancavalier
    MemberAuthor

    @jeffrose Sorry my last comment sounded kind of gruff, and if my original post wasn't clear--I see now that the way I worded it could imply that wire 0.10.x, where x > 0, are compatible with when 3. Unfortunately, right now all versions of wire are incompatible with all versions when >= 3.0.0. We're targeting next week for a compatibility release.

    Thanks for the nice, simple test case as well!

  5. jeffrose commented on Mar 25, 2014

    @jeffrose

    @briancavalier No problem. I did initially think that wire 0.10.6 was compatible with when 3.0.x, which is why I gave it a shot. Looking forward to updated release. :-)

  6. briancavalier commented on Apr 11, 2014

    @briancavalier
    MemberAuthor

    Just released wire 0.10.7 which adds when 3.x compatibility. Feel free to open new github issues if you find any problems. Thanks!

  7. unscriptable commented on Apr 11, 2014

    @unscriptable
    Member

    woohoo 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions