Anki

Latest version: v24.4.1

Safety actively analyzes 629994 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

2.1.56

If updating from Anki 2.1.49 or below, please see the [2.1.50 change notes](https://github.com/ankitects/anki/releases/tag/2.1.50) first.

New features/improvements:

- Cloze deletions can now be nested inside other cloze deletions (thanks to TRIAEIOU).
- Inactive cloze deletions can now be styled with .cloze-inactive (thanks to TRIAEIOU).
- Graphs in large collections now load approximately twice as quickly.
- Add-on config help is now shown in a webview (thanks to Abdo).

Fixes:

- Fix error popping up 12 hours after starting Anki on macOS and some Linux machines.
- Fix unreadable text when searching in sidebar.
- Fix fcitx not working on Linux Qt6 package.
- Fix old graphs failing to appear.
- Fix dark mode display issues on macOS/Qt5.
- Don't display a 'timestamps in the future' message after a bulk import.
- Fix cloze buttons being disabled in MathJax editor.
- Fix images not being constrained to window width when image shrinking disabled.
- Fix incorrect macOS minimum version in Qt5 build.
- Fix lack of highlight for marked cards in day mode.
- Fix pop-up menu in editor sometimes flashing (thanks to Hikaru).
- Fix some issues entering text via IME around MathJax area (thanks to Hikaru).
- Fix some regressions with the graphs when saving to a PDF.
- Fix truncated text on some buttons.
- Fix two mpv issues on Windows (thanks to Kelciour).
- Tweak focus highlight of some widgets (thanks to Abdo).

For devs:

- Improve web building/reloading experience (thanks to Aristotelis).
- Fix an issue building the code with the latest git version.
- Fix aqt type completion not working with PyPI wheel.

2.1.55

If updating from Anki 2.1.49 or below, please see the [2.1.50 change notes](https://github.com/ankitects/anki/releases/tag/2.1.50) first.

Lots of UI improvements, thanks to Matthias:

- The theme has been reworked, especially on Windows/Linux.
- A number of screens like the deck list, editor, deck options and graphs have been re-styled.
- Added an option for fields to show the HTML editor by default.
- Fields can now be collapsed/expanded. The animation can be disabled in the preferences.
- HTML tag auto-close can now be toggled via settings button in editor.
- Improve layout for RTL languages.
- The editor in the browse screen can now be shown on the right.
- The tags area can now be collapsed/expanded (thanks also to Henrik).
- On macOS, dark mode now uses the default macOS styling; you can optionally force behavior
like the other platforms with the following in the debug console: `mw.pm.set_force_custom_styles(True)`.
- Many other small tweaks.

V3 scheduler improvements, thanks to Rumo:

- Custom scheduling now supports per-card data, enabling
things like [FSRS](https://forums.ankiweb.net/t/how-did-i-publish-a-paper-in-acmkdd-as-an-undergraduate-a-fantastic-research-experience-on-spaced-repetition-algorithm-open-source-the-code-and-dataset/23387).
- Decks can now specify daily limits independently of the deck preset. You can either specify a permanent
override, or one that will reset when the next day comes around.
- The Hard button on the first step is now capped to a maximum of 1 day greater than Again.
- You should no longer see strange behavior when changing learning steps while cards are in learning.

Import/export improvements, thanks to Rumo:

- The new import/export code is now the default.
- When scheduling is included, filtered decks are no longer converted to normal decks.
- When a deck is specified in a CSV import, it's now created if missing.
- Keep content of unmapped fields when importing CSV.
- Various other fixes.

Other improvements:

- `introduced:x` now ignores manual reschedulings (thanks to Rumo).
- Anki now opens to the previously-active profile (thanks to Sam).
- Card info now refreshes as a card is reviewed (thanks to Rumo).
- Close MathJax editor when Esc is pressed (thanks to Abdo).
- Double-click on an editor pane to equally split the two sides (thanks to Aristotelis).
- Improve Anki's error handling, including some more informative error messages (thanks to Rumo).
- Improvements to the MathJax editor (thanks to Henrik).
- Make dvipng use transparent background by default (thanks to gnnoh).
- Preload images on the front side of a card to reduce pop-in (thanks to Kelciour).
- Remember previous choices in reposition dialog (thanks to Sam).
- The build system now uses ninja instead of bazel.
- The MathJax preview can now be turned off.
- The maximum answer time can now be set below 30 seconds.
- The way your typed text is compared with the correct answer has been tweaked.
- The zoom level is no longer reset when moving between screens.
- Updated to Qt 6.4 on Windows/Linux.
- You can now control whether images are automatically shrunk or not in the editor.

Fixes:

- Add screen can be closed with Cmd+W on macOS (thanks to Sam).
- Add tooltip to More button (thanks to Hikaru).
- Cmd+Shift+C cloze shortcut should be more responsive on macOS now.
- Fix {{CardFlags}} not working with flags 5-7
- Fix an error showing when making network connections on macOS after leaving Anki open for a few days.
- Fix browser sidebars appearing in wrong order in RTL mode (thanks to Abdo).
- Fix certain installed TTS voices on Windows causing errors.
- Fix daily counts being included in apkg import.
- Fix fields sticking in add screen when they shouldn't (thanks to Henrik).
- Fix flicker when remapping imported notetype field (thanks to Rumo).
- Fix font size not being removed when pasting between fields.
- Fix incorrect header text alignment in Qt 6.3.1 (thanks to Rumo).
- Fix non-admin users having trouble with Anki on macOS.
- Fix reviewer shortcuts being inaccessible due to IME
- Fix scheduler change not reflected after normal sync.
- Fix scrolling with keys/keyboard event listeners not working on answer side (thanks to Hikaru).
- Fix sidebar appearing as small window in some cases (thanks to Hikaru).
- Fix slow field pin/unpin with large notetype (thanks to Rumo).
- Fix styling of pop-over arrows (thanks to BlueGreekMagick).
- Fix the UI getting stuck at startup when multiple pop-ups appear (thanks to Sam).
- Fixed an issue with the night theme class (thanks to BlueGreenMagick).
- Fixed indent/outdent shortcuts not working properly.
- Fixed inverted ctrl+right/left handling in RTL fields again (thanks to Abdo).
- Fixed shortcuts to select all/delete tags not working (thanks to Hikaru).
- Fixed some issues with dragging tags/decks onto other tags/decks (thanks to Abdo).
- Improve handling of invalid UTF-8 in DB check.
- Improve the appearance of the note/card switch toggle (thanks to Aristotelis).
- Make it easier to read add-on errors (thanks to Abdo).
- Possible fix for error when copying text in editor
- Preserve background color when copy+pasting between fields.
- Preserve background-color when pasting external content in light mode.
- Suppress the "Unknown error" message that the web toolkit can output on Windows.
- Various other fixes.

2.1.54

If updating from Anki 2.1.49 or below, please see the [2.1.50 change notes](https://github.com/ankitects/anki/releases/tag/2.1.50) first.

A new CSV importer & exporter, thanks to Rumo:

- Shows a preview based on the selected field separator.
- Column mapping includes field text for reference.
- Multiple decks and notetypes can now be imported/exported at once, as columns can be mapped to deck or notetype name.
- Supports exporting and importing a unique identifier for a note, to use instead of a matching first field. This removes the need for the 'add note id' add-on.
- Extends the header syntax so that files can specify metadata such as the desired field separator, and the mapping of fields.
- The new functionality is not enabled by default, and can be enabled with a checkbox in the preferences screen. This also enables
the new apkg import/export code introduced in 2.1.52. If you use the Special Fields add-on, you will need to disable this option
in order to use the add-on.

2.1.53

If updating from Anki 2.1.49 or below, please see the [2.1.50 change notes](https://github.com/ankitects/anki/releases/tag/2.1.50) first.

Editor Improvements

- Rework image resizing (thanks to Henrik). Images expand to the editor width by default now,
and images that are resized for the editor will remain that way if you switch fields, or
navigate to a different note and back.
- Existing height constraints on images are stripped when resizing (thanks to BlueGreenMagick).
- The MathJax editor now provides buttons/shortcuts to cloze-delete selected text (thanks to Henrik).
- MathJax preview now hides cloze markers.
- Style tags are no longer stripped when editing (thanks to Henrik).
- `<br>` tags in MathJax are now handled correctly (thanks to Henrik).
- MathJax in the review screen now supports mathtools, and available packages in editor and review screen match (thanks to Henrik).
- Move focus into HTML editor when hiding normal editor (thanks to Henrik).
- Image tags now have the alt property preserved when pasting.

Other Improvements

- Fixed the Qt6 version crashing on some machines.
- Custom study no longer includes child decks in available card count in v3 scheduler.
- Fixed an error sometimes appearing in the browser when deleting notes (thanks to Rumo).
- Fixed automatic backups popping up progress window when Anki minimized.
- Fixed cards not being generated after template edits.
- Fixed deck options top bar disappearing as you scroll down.
- Fixed duplicate Anki icons appearing in dock on macOS.
- Fixed duplicate first character in certain ibus configurations (thanks to wisherhxl).
- Fixed future due graph incorrectly including new cards.
- Fixed initially-incorrect tooltip position in graphs (thanks to BlueGreenMagick).
- Fixed some MathJax directives failing to render in editor.

2.1.52

If updating from Anki 2.1.49 or below, please see the [2.1.50 change notes](https://github.com/ankitects/anki/releases/tag/2.1.50) first.

Editor Improvements

- Ctrl/Cmd+A in tag editing area now selects all tags (thanks to BlueGreenMagick).
- Fixed backspace sometimes removing multiple images at once (thanks to Henrik).
- Fixed copying and pasting MathJax on Windows (Qt6).
- Fixed handling of `<` and `>` symbols in MathJax (thanks to Henrik).
- Fixed intermittent editor loading failures when add-ons have injected a large amount of code.
- Fixed pasting of local files of unsupported types that contain spaces (thanks to Abdo).
- Fixed some formatting being lost when copying between fields on Windows (Qt6).
- Fixed various issues with tag editing (thanks to BlueGreenMagick and Henrik).
- Pressing tab on the last field now moves focus to tag area (thanks to Henrik).
- Reduce size of editor buttons on Windows/Linux (thanks to Henrik).
- Tags copied from the tag editor are no longer joined together when pasted into the add tags/remove tags dialogs (thanks to Henrik).
- The Qt5 Mac build now caps tag autocomplete matches to 10, as showing more is extremely slow in the old toolkit version.

Other Improvements

- Update Qt to 6.3.0, which fixes slow loading of large images, and inertial scrolling on macOS.
- Fixed an error when previewing cards and selecting multiple cards (thanks to Rumo).
- Fixed Anki needing to close when invalid modification times encountered by the browser on Windows.
- Fixed colpkg imports not being cancellable (thanks to Rumo).
- Fixed current working directory changing on apkg export.
- Fixed custom browser font not being honored (Qt6).
- Fixed custom study applying the previously-input limit, instead of the current one.
- Fixed due graph showing wrong date for review cards in a filtered deck with rescheduling disabled.
- Fixed grey background in type answer text + dark mode (thanks to Matthias).
- Fixed v3 scheduler allowing one extra card when review limit reached (thanks to Rumo).
- Lists on cards are now aligned to the left by default (thanks to Matthias).
- Removed the highlight on the Show Answer and Good buttons.
- Reset page zoom when moving between different screens.
- The Qt6 Linux build now defaults to X11/XWayland instead of Wayland due to some [remaining issues](https://github.com/ankitects/anki/issues/1767); you can force-enable Wayland with ANKI_WAYLAND=1.

For Developers

- The `field_filter` hook can now check if it's running for the question or answer side (thanks to Abdo).
- Added a `av_player_will_play_tags` hook (thanks to Abdo).
- Make it easier to search in fields programmatically (thanks to Abdo).

New Apkg Import/Export

This build also includes a new implementation of apkg importing and exporting, thanks to Rumo. Some advantages:

- Undo/redo is now supported.
- Faster imports (especially for decks with a lot of note content).
- Support for older clients can be optionally disabled, which results in smaller
apkg files, and faster imports.
- Flags are removed when scheduling is excluded.

The new functionality is hidden behind a feature flag, and **not active by default**.
You can try it out by using `mw.pm.set_new_import_export(True)` in the [debug console](https://docs.ankiweb.net/misc.html#debug-console).
To revert to the old behaviour, replace True with False.

Things to note:

- This is new code that has received limited testing so far, so please use `File>Create Backup` before trying it out.
Any testing/feedback you can provide would be appreciated.
- While active, it is not currently possible to import/export files other than apkg/colpkg.
- The Special Fields add-on will not work while this functionality is enabled.

2.1.51

If updating from Anki 2.1.49 or below, please see the [2.1.50 change notes](https://github.com/ankitects/anki/releases/tag/2.1.50) first.

Changes:

- Reviews in the V3 scheduler can now optionally be sorted by relative overdueness (thanks to Abdo).
- Remember original card position when using 'set due date' on a card (thanks to Rumo).
- Improve editor startup time, especially with many fields (thanks to Henrik).

Fixes:

- Fixed compatibility with older macOS versions.
- Fixed an issue that was breaking some add-ons when running on Windows without using anki-console.bat
- Anki now closes the Browse screen before full sync or colpkg import/export, so it doesn't show errors.
- Automatically re-enable disabled add-ons when user explicitly reinstalls them, and improve conflict handling (thanks to Aristotelis).
- Fixed an issue with the search history when clicking on items in the sidebar (thanks to Rumo).
- Fixed card layout screen opening too wide if card template name was long (thanks to Sam).
- Fixed compatibility with 'card info during review' and similar add-ons.
- Fixed formatting being turned off when pressing shift (thanks to Henrik).
- Fixed full sync not being triggered when changing sort field.
- Fixed illegible calendar buttons in dark mode on Mac/Linux.
- Fixed stats PDF being illegible when saving in dark mode after scrolling down (thanks to Luka).
- Use `<b>` and `<i>` formatting tags, instead of `<strong>` and `<em>`.

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.