Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoform 6 --allow-incompatible-update #79

Open
nosizejosh opened this issue Apr 23, 2017 · 5 comments
Open

Autoform 6 --allow-incompatible-update #79

nosizejosh opened this issue Apr 23, 2017 · 5 comments

Comments

@nosizejosh
Copy link

@Pagebakers @samuelluis @zckly Hello Guys. HOw soon is the package going to be updated to work with Autoform 6. My project depends on both and currently meteor wizard only work with autoform 5. Can you suggest alternatives?

@Pagebakers
Copy link
Contributor

I haven't upgraded my project to version 6 yet, I'm also not sure when I will.

I'm happy to pull requests though.

What problems are you running in with AutoForm 6?

@nosizejosh
Copy link
Author

@Pagebakers thanks for replying, I get this error when i try to add the package

` => Errors while adding packages:

While selecting package versions:
error: Potentially incompatible change
required to top-level dependency:
aldeed:autoform 5.8.1, was 6.0.0.
Constraints on package
"aldeed:autoform":

  • aldeed:autoform@5.7.0 <-
    forwarder:autoform-wizard 0.9.1

To allow potentially incompatible
changes to top-level dependencies, you
must pass --allow-incompatible-update
on the command line.`

I cannot downgrade the autform as most parts of the project depend of the project depend on it. Please I need help.

@Pagebakers
Copy link
Contributor

Pagebakers commented Apr 25, 2017

Please try to run with --allow-incompatible-update and check if it's still working and I can do a quick version bump then :)

@nosizejosh nosizejosh changed the title Autoform 6 Autoform 6 --allow-incompatible-update Apr 25, 2017
@nosizejosh
Copy link
Author

I have tried and this is what i get due to the version constraints

J:\testApp3>meteor add forwarder:autoform-wizard --allow-incompatible-update
Updating package catalog [Prog => Errors while adding packages:

While selecting package versions:
error: Conflict: Constraint
aldeed:autoform@5.7.0 is not satisfied by
aldeed:autoform 6.0.0.
Constraints on package "aldeed:autoform":

  • aldeed:autoform@6.0.0 <- top level
  • aldeed:autoform@5.7.0 <-
    forwarder:autoform-wizard 0
 
from the change-log, not much changed from autoform 5.8 to 6, i believe you can go ahead and bump the version up, i really need it to work :(

> >6.0.0
> 
> This version is updated to work with the new SimpleSchema NPM package. It is not backwards compatible with the Meteor SimpleSchema package. See:
> 
> https://github.com/aldeed/node-simple-schema
> https://github.com/aldeed/meteor-simple-schema/blob/v2/CHANGELOG.md#200
> https://github.com/aldeed/meteor-collection2#important-note-the-version-in-this-repo-is-deprecated
> 5.8.1
> 
> Fix AutoForm.getValidationContext to return correct context when no formId argument is provided.
> 
> 5.8.0
> 
> You can now set singleMethodArgument=true as a form attribute on a method-update type form, and your method will be called with a single object argument with _id and modifier properties. You should do this if using the mdg:validated-method package.
> 
> 5.7.1
> 
> For "normal" type forms, don't end submission until this.done() is called.

@Pagebakers
Copy link
Contributor

Released version 0.10.0 for AutForm 6 support.

It should run just fine, but I don't have time to test it on my project as I'm traveling right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants