Skip to content

Releases: hasundue/molt

0.19.8

07 Aug 05:41
Compare
Choose a tag to compare

What's Changed

  • chore: update dependencies by @github-actions in #221
  • fix(core/default): remove up-to-date versions in VersionBump.from by @hasundue in #230

Full Changelog: 0.19.7...0.19.8

0.19.7

07 Aug 04:27
Compare
Choose a tag to compare

What's Changed

  • docs(readme): add a link to molt-action, etc by @hasundue in #227
  • fix(cli): better handling of duplicated inputs by @hasundue in #228

Full Changelog: 0.19.6...0.19.7

0.19.6

04 Aug 00:49
Compare
Choose a tag to compare

What's Changed

  • fix(core,cli): error on JSR deps with yanked = false version by @hasundue in #226

Full Changelog: 0.19.5...0.19.6

0.19.5

03 Aug 13:24
Compare
Choose a tag to compare

What's Changed

  • fix(integration): resolvePackageRoot error on v-prefixed tag by @hasundue in #224

Full Changelog: 0.19.4...0.19.5

0.19.4

03 Aug 12:29
Compare
Choose a tag to compare

What's Changed

  • fix(integration/commits): error on v-prefixed tag by @hasundue in #223

Full Changelog: 0.19.3...0.19.4

0.19.3

02 Aug 09:21
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.19.2...0.19.3

0.19.2

01 Aug 00:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.19.1...0.19.2

0.19.1

31 Jul 00:35
Compare
Choose a tag to compare

What's Changed

  • fix: comments are removed from JSONC files by @hasundue in #208

Full Changelog: 0.19.0...0.19.1

0.19.0

29 Jul 12:55
Compare
Choose a tag to compare

What's Changed

The main focus of this release is to stabilize updating lock files and support bumping version ranges. That required a rewrite of the whole codebase of @molt/core and @molt/cli.

@molt/core

Breaking Changes

  • The API has been changed completely
    • Documentation is not complete yet. Please refer to the source code of the CLI for now.
  • Import resolution using an import map has been abandoned for the sake of simplicity (#181)
    • Will be re-implemented in the near feature
    • It does NOT mean that you cannot update dependencies in import maps. Molt can collect dependencies from import maps directly.

New Features

  • Updating lock files has been stabilized (as stable as other features)
  • Bumping version ranges is now supported
    • Molt uses a similar versioning strategy as increase-if-necessary in Dependabot to determine the new version range
  • Support updating type directives such as // @ts-types="..." (#184)

These changes are reflected in the CLI as well.

@molt/cli

Breaking Changes

  • deno.json or deno.jsonc and deno.lock are only searched from the current directory
  • --import-map has been abandoned in favor of --config
  • --prefix-lock has been abandoned for simplicity
  • --no-resolve has been abandoned and is now the default behavior
  • Files that import dependencies are no longer printed by default (use --referrer)
  • --write no longer prints the files that have been updated to stdout
  • --commit no longer prints the commit messages to stdout
  • --ignore and --only now accepts a single RegExp pattern instead of multiple strings
  • Now prints nothing when no updates found

New Features

  • Arguments are now optional. If no arguments are provided, it will
    1. Check for updates to dependencies in deno.json or deno.jsonc
    2. If a configuration file with dependencies is not available, it will collect dependencies from all .ts files under the current directory
  • Show spinners during operations:
    • Collecting dependencies
    • Checking for updates
    • Writing changes to files
    • Committing changes to git
    • Running pre-commit tasks

0.18.5

13 Jun 13:09
Compare
Choose a tag to compare

Changelog

  • fix(cli): prevent --unstable-lock from throwing for local imports ac0f030
  • fix(core): do not try to "update" local imports f728f74
  • refactor!: abandan @molt/lib/testing 797ea70
  • fix(core): ensure the unversioned to have a path after update 847e814
  • feat(core): give stringify an option to exclude version a0a2af3

0.18.4...0.18.5