Problem/Motivation

We are currently using cspell 6.2.3. cspell 6.8.1 was released on Augustus 26th, 2022.

Steps to reproduce

Proposed resolution

Update to cspell and regenerate the dictionary.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3306441

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Spokje created an issue. See original summary.

Spokje’s picture

Version: 9.5.x-dev » 10.0.x-dev
Spokje’s picture

Issue summary: View changes
Spokje’s picture

For the 9.5.x MR:

$ yarn-lock-diff -o old.yarn.lock -n yarn.lock
┌──────────────────────────────┬────────────────────────┬─────────────────────────────────┐
│ package name                 │ old version(s)         │ new version(s)                  │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @babel/code-frame            │ [...], 7.18.6          │ [..., 7.18.6], 7.16.7           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @babel/helper-hoist-variabl… │ [...], 7.18.6          │ [..., 7.18.6], 7.16.7           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @babel/traverse              │ [...], 7.19.0, 7.18.13 │ [..., 7.19.0], 7.18.13, 7.17.10 │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @babel/types                 │ [...], 7.19.0, 7.18.13 │ [..., 7.19.0], 7.18.13, 7.17.10 │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/cspell-bundled-dicts │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/cspell-pipe          │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/cspell-types         │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-ada             │ 2.0.0                  │ 2.0.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-bash            │ 2.0.3                  │ 2.0.4                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-companies       │ 2.0.7                  │ 2.0.13                          │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-cpp             │ 3.2.0                  │ 3.2.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-css             │ 2.0.0                  │ 2.1.0                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-en_us           │ 2.2.10                 │ 2.3.3                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-filetypes       │ 2.1.0                  │ 2.1.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-fonts           │ 2.0.1                  │ 2.1.0                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-html            │ 3.0.2                  │ 3.3.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-lorem-ipsum     │ 2.0.0                  │ 2.0.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-npm             │ 3.0.1                  │ 3.1.2                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-public-licenses │ 1.0.5                  │ 1.0.6                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-ruby            │ 2.0.1                  │ 2.0.2                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-software-terms  │ 2.1.11                 │ 2.2.6                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-typescript      │ 2.0.0                  │ 2.0.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @types/node-fetch            │ 2.6.2                  │ -                               │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ commander                    │ 9.3.0                  │ 9.4.0                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ comment-json                 │ 4.2.2                  │ 4.2.3                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ cspell-gitignore             │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ cspell-glob                  │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ cspell-grammar               │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ cspell-io                    │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ cspell-lib                   │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ cspell-trie-lib              │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ cspell                       │ 6.2.3                  │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ fast-equals                  │ 4.0.1                  │ 4.0.3                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ form-data                    │ [..., 4.0.0], 3.0.1    │ [...], 4.0.0                    │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ minimatch                    │ 5.0.1                  │ 5.1.0                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ vscode-languageserver-textd… │ 1.0.5                  │ 1.0.7                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/cspell-service-bus   │ -                      │ 6.8.1                           │
├──────────────────────────────┼────────────────────────┼─────────────────────────────────┤
│ @cspell/dict-sql             │ -                      │ 1.0.4                           │
└──────────────────────────────┴────────────────────────┴─────────────────────────────────┘

And the 10.0.x MR:

$ yarn-lock-diff -o old.yarn.lock -n yarn.lock
┌──────────────────────────────┬─────────────────────┬────────────────┐
│ package name                 │ old version(s)      │ new version(s) │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-bundled-dicts │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-pipe          │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-types         │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-ada             │ 2.0.0               │ 2.0.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-bash            │ 2.0.3               │ 2.0.4          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-companies       │ 2.0.7               │ 2.0.13         │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-cpp             │ 3.2.0               │ 3.2.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-css             │ 2.0.0               │ 2.1.0          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-en_us           │ 2.2.10              │ 2.3.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-filetypes       │ 2.1.0               │ 2.1.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-fonts           │ 2.0.1               │ 2.1.0          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-html            │ 3.0.2               │ 3.3.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-lorem-ipsum     │ 2.0.0               │ 2.0.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-npm             │ 3.0.1               │ 3.1.2          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-public-licenses │ 1.0.5               │ 1.0.6          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-ruby            │ 2.0.1               │ 2.0.2          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-software-terms  │ 2.1.11              │ 2.2.6          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-typescript      │ 2.0.0               │ 2.0.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @types/node-fetch            │ 2.6.2               │ -              │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ commander                    │ 9.3.0               │ 9.4.0          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ comment-json                 │ 4.2.2               │ 4.2.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-gitignore             │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-glob                  │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-grammar               │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-io                    │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-lib                   │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell-trie-lib              │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ cspell                       │ 6.2.3               │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ fast-equals                  │ 4.0.1               │ 4.0.3          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ form-data                    │ [..., 4.0.0], 3.0.1 │ [...], 4.0.0   │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ minimatch                    │ 5.0.1               │ 5.1.0          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ vscode-languageserver-textd… │ 1.0.5               │ 1.0.7          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/cspell-service-bus   │ -                   │ 6.8.1          │
├──────────────────────────────┼─────────────────────┼────────────────┤
│ @cspell/dict-sql             │ -                   │ 1.0.4          │
└──────────────────────────────┴─────────────────────┴────────────────┘

Spokje’s picture

Version: 10.0.x-dev » 9.5.x-dev
Spokje’s picture

Title: Update to the latest cspell version » Update to the latest cspell version (6.8.1)

Spokje’s picture

Assigned: Spokje » Unassigned
Status: Active » Needs review

Not gonna lie, expected a bit more drama/differences between the branches.
Turns out, there are only a few words difference in the dictionary between 9.5 and 10.0.

Spokje’s picture

lauriii’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll
lauriii’s picture

Spokje’s picture

Assigned: Unassigned » Spokje
Status: Needs work » Needs review
Spokje’s picture

Status: Needs review » Needs work

Not my day for status changing apparently... Back to NW

Spokje’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll

Updated both MRs and #4.

At some point GitLab will catch up and kick off a 9.5.x test.

Spokje’s picture

Assigned: Spokje » Unassigned
longwave’s picture

Status: Needs review » Reviewed & tested by the community

MRs look good to me, RTBC assuming tests pass.

Spokje’s picture

Spokje’s picture

Rebased the 9.5.x MR.

  • lauriii committed 31916e9 on 10.1.x
    Issue #3306441 by Spokje: Update to the latest cspell version (6.8.1)
    

  • lauriii committed fd18011 on 10.0.x
    Issue #3306441 by Spokje: Update to the latest cspell version (6.8.1)
    
    (...

  • lauriii committed ecbe3ad on 9.5.x
    Issue #3306441 by Spokje: Update to the latest cspell version (6.8.1)
    
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Confirmed locally there are no regressions by running yarn spellcheck:core after the changes in all branches in a clean environment.

Committed 31916e9 and pushed to 10.1.x and cherry-picked to 10.0.x. Also Committed ecbe3ad and pushed to 9.5.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.