Skip to content

Is v3.5.1 incompatible with v3.0.1?  #1824

@yodagg

Description

@yodagg

Version

3.5.1

Reproduction link

https://codepen.io/so-diao/pen/oNxGVvW

Steps to reproduce

https://codepen.io/so-diao/pen/oNxGVvW

What is expected?

What is actually happening?

I modified an old project package.json -> vuex: '^3.0.1' , npm i automatically downloaded the latest version (3.5.1) for me, but they are not compatible.

Why are incompatible changes occurring?

//  return jquery promise
actions: {
    fetch() {
        const Deferred = jQuery.Deferred()
        setTimeout(() =>{
            Deferred.resolve()
	}, 1500)
	return Deferred.promise()
    }
}

// v3.0.1 success
// v3.5.1 error
this.$store.dispatch('fetch').done(res =>{xxxxx})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions