Skip to content
Snippets Groups Projects
  1. Apr 16, 2015
  2. Apr 15, 2015
  3. Apr 14, 2015
  4. Apr 13, 2015
  5. Apr 10, 2015
  6. Apr 07, 2015
  7. Apr 03, 2015
  8. Apr 02, 2015
  9. Apr 01, 2015
  10. Mar 30, 2015
  11. Feb 19, 2015
  12. Jan 28, 2015
  13. Jan 27, 2015
  14. Jan 13, 2015
  15. Dec 11, 2014
  16. Dec 09, 2014
    • nweiz@google.com's avatar
      Restrict the version constraints on exported dependencies. · b9f12d6a
      nweiz@google.com authored
      This avoids a versioning issue where an exported dependency adds a
      feature and the exporting package's users' version constraints become
      invalidated.
      
      For example, suppose unittest 1.0.0 and matcher 1.0.0 exist. unittest
      has the constraint "matcher: '>=1.0.0 <2.0.0'" and exports matcher.
      Then matcher 1.1.0 is released with a new feature, and a user writes a
      new package, mypkg, which uses that feature. As per common practice,
      this package has the version constraint "unittest: '>=1.0.0 <2.0.0'"
      and no constraint on matcher. This constraint allows matcher 1.0.0,
      which doesn't support the new feature; this is a problem.
      
      Under the new scheme, unittest would have the constraint "matcher:
      '>=1.0.0 <1.1.0'". Then when matcher 1.1.0 is released, unittest 1.1.0
      would be released as well with the constraint "marcher: '>=1.1.0
      <1.2.0'".
      
      The tight lower bound ensures that the constraint "unittest: '>=1.1.0
      <2.0.0'" properly selects only versions of matcher that have features
      available in the version the user is testing against. The tight upper
      bound ensures that new features in a new version of matcher won't
      become available in unittest without a version upgrade.
      
      R=jmesserly@google.com, rnystrom@google.com
      
      Review URL: https://codereview.chromium.org//775413002
      
      git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@42223 260f80e4-7a28-3924-810f-c04153c831b5
      b9f12d6a
  17. Dec 08, 2014
  18. Nov 18, 2014
  19. Nov 14, 2014
  20. Oct 07, 2014
  21. Sep 18, 2014
  22. Aug 07, 2014
  23. Jul 23, 2014
  24. Jun 09, 2014
  25. Jun 02, 2014
  26. May 12, 2014
  27. Apr 02, 2014
  28. Mar 25, 2014
  29. Mar 24, 2014
Loading