Skip to content

v7.0.0

Choose a tag to compare

@sverweij sverweij released this 28 Aug 13:23
v7.0.0
87c74c7

🌟 features

  • edc3299 feature: adds ability to override saveExact=true for individual packages (#20)
  • 622d10e feature!: replace 'upem.donotup' with an 'upem.policies' section (#21) 🚨 BREAKING
  • a7a1a09 feature: adds support for 'wanted' update policy (#23)

Moving from upem.donotup to upem.policies

  • The upem.donotup supported strings and arrays of strings. With this version it doesn't anymore. This behaviour was undocumented and only exists for backwards compatibility.
  • the behaviour for upem.donotup still exists, only its syntax got updated a bit to make room for other update policies (e.g. #23)

Where you before would use

  "upem": {
    "donotup": [
      {
        "package": "slodash",
        "because": "slodash >4 is only compatible with node 23 and we still (have to) support node 10"
      }
    ]
  }

You now use

  "upem": {
    "policies": [
      {
        "package": "slodash",
        "policy": "pin",
        "because": "slodash >4 is only compatible with node 23 and we still (have to) support node 10"
      }
    ]
  }

So:

  • replace donotup with policies
  • to each policy add "policy": "pin", (if that's still what you intended)

👷 maintenance

  • 76aa17e build(npm): ⬆️ dependency-cruiser, eslint, eslint-plugin-import, eslint-plugin-jest, eslint-plugin-unicorn, husky, jest, lint-staged, prettier
  • e86a5c9 chore!: drops node 12 support (#22) 🚨 BREAKING (for when you still were on node 12)
  • 7121a8d chore!: set 'engines' to the real minimum for esm
  • dc11cbc chore: removes superfluous eslint comment