Skip to content

Latest commit

 

History

History
120 lines (74 loc) · 4.2 KB

changelog.md

File metadata and controls

120 lines (74 loc) · 4.2 KB
  • Support for deno.re. updater can now update https://deno.re/... imports.
  • The error log for type checking is now logged directly on the console. This fixes the problem of exceeding the maximum character length of a pull request description.
  • The pull request now contains the error log in the event that the type check has failed.
  • den.ooo is no longer supported.

  • include and exclude specific files and directories. You can specify files, directories and glob patterns to include or exclude.

  • updater accidentally created a schema.json file. This bug has now been fixed.

  • updater.json config file. You can now configure updater with this configuration file.

    {
      "$schema": "https://updater.mod.land/schema.json",
      "allowBreaking": true
    }

    The file must be in the root directory of your project or in the .github directory.

  • Short footnote in pull request, with the used version of updater and the number of updated imports.

  • denopkg.com imports are now updated correctly. v0.18.0 introduced support for denopkg.com imports, but updates for such imports previously failed.
  • updater's GitHub action now uses deno.land/x. This is due to the upcoming major update of den.ooo, which could cause an interruption.
  • Correct updating of side effect imports. v0.18.0 introduced an issue which basically replaced side effect imports with the URL without preserving the import statement.

    // before
    import 'https://esm.sh/[email protected]'
    // after
    https://esm.sh/[email protected]

    v0.18.1 now fixes this behavior and preserves the import statement.

    // before
    import 'https://esm.sh/[email protected]'
    // after
    import 'https://esm.sh/[email protected]'
  • Regenerate deno.lock. If your project has a deno.lock file, updater will now regenerate this file as well.

  • Update side effect imports. updater used to ignore such imports in the past due to a minor bug that occurred during the parsing of the regex matches. This issue has now been resolved.

    mdn reference

  • Support for denopkg.com. updater can now update https://denopkg.com/... imports.

  • Compatibility Checking

    updater now performs a basic compatibility check (with deno check) and adds a warning to the changelog if there are any issues.

  • Support for JSR

    updater can now handle jsr: imports. Please read the documentation to learn more.

  • Bug Fixes

    • Scoped NPM modules should now be updated correctly.
    • In the event of an error, response body streams are now properly aborted.
  • GitHub Action

    It's now easier than ever to integrate boywithkeyboard's updater into your workflow.

    name: update
    
    on:
      schedule:
        - cron: '0 0 * * *'
      workflow_dispatch:
    
    permissions:
      contents: write
      pull-requests: write
    
    jobs:
      update:
        runs-on: ubuntu-latest
    
        steps:
          - uses: actions/checkout@v4
    
          - name: Run updater
            uses: boywithkeyboard/updater@v0

    Read more