Anki

Latest version: v24.11

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

Scan your dependencies

Page 4 of 10

2.1.60

Not secure
If updating from 2.1.57 or earlier, please see the important note in the 2.1.58 change notes.

- Add button to tag notes with missing media (thanks to Rumo).
- Fix slow editor startup for users with lots of fields (thanks to Hikaru).
- Fix a regression in 2.1.58 that broke TTS add-ons (thanks to Rumo).
- Fix HTML editor hiding when shown by default (thanks to Fabricio).
- Fix some widgets not indicating they're disabled (thanks to Matthias).
- Fix deck options selector not updating the current entry sometimes (thanks to Fabricio).
- Fix type box losing focus when switching IMEs (thanks to Hikaru).
- Fix 'toggle bury' not updating for automatically-buried cards.
- Improvements to lifecycle handling for add-ons accessing Svelte components (thanks to Matthias).

2.1.59

Not secure
This release has been yanked due to a packaging error. Please see 2.1.60 instead.

2.1.58

Not secure
This release fixes an issue in 2.1.57 that caused cards and deck presets
to be reset to the default ease, if you exported a .colpkg with compatibility
with older clients enabled, or used the downgrade and quit option, then opened
the collection again. For the former issue, this occurred to the collection you
were exporting from, and not just the .colpkg file. If you were affected by this,
running the following in the debug console after updating should restore your
cards to the ease they were at when you last reviewed them, if they were not
reviewed after the problem occurred. Please make a backup before proceeding.


updated = 0
for cid, old, new in mw.col.db.all("select id, factor, (select factor from revlog where cid=cards.id order by id desc limit 1) as factor2 from cards where type=2"):
if new and old != new:
card = mw.col.get_card(cid)
card.factor = new
mw.col.update_card(card)
updated += 1
print("updated", updated)


It will print the number of updated cards.

<https://docs.ankiweb.net/misc.html#debug-console>

Other changes in this update:

Custom sync server

- You can now customize the network timeout in the sync settings, which may be required
if you have a large collection and/or a slower device.
- Maximum sizes are no longer enforced when downloading from custom sync servers.

Type in the answer

- Fix type answer comparison being collapsed when extra characters in input.
- Revert to blanking out missed chars in provided text, like older releases.
- Wrap expected text in code block when no answer provided.

Importing

- When importing csv files, you can now limit duplicate matching to the deck cards are in (thanks to Rumo).
- Support UTF-8-BOM when importing CSV (thanks to Rumo).
- Duplicate handling policy can be specified in the csv file header (thanks to Rumo).

Scheduling

- It is no longer possible to enable burying of reviews without also burying new cards,
as Anki excludes buried cards up front, and needs to do so in a particular order
to avoid errors during review.
- Fix v3 deck-specific limits affecting the deck list/study screen in v2 mode.
- Show custom data from third-party schedulers in stats screen.
- Allow burying cards in the browser (thanks to Kaben).

Fixes

- Switch to a new Windows TTS implementation, which unblocks future upgrades,
and should perform better (thanks to Rumo).
- Work around a startup error some users were receiving on Windows.
- Fix currently-selected preset not being indicated in deck options (thanks to Fabricio).
- Fix error shown after toggling full screen.

2.1.57

Not secure
More UI improvements/fixes thanks to Matthias, including:

- The top toolbar area can now take on the color/background of the main window.
- The top toolbar appears more subtle during review.
- A new option in the preferences to automatically hide the top and bottom bar
during review.
- A new option in the preferences to enable a "minimalist" mode that makes the
UI more compact/less fancy.
- A new option in the preferences to switch between native styling and the Anki
theme (on Mac/Linux).
- The preferences screen has been redesigned to be easier to navigate.

Syncing has also been updated:

- Tweaks to the sync protocol that should be transparent when syncing with
AnkiWeb, but that will break syncing with third-party servers that haven't
been updated yet.
- The sync server bundled with Anki has been updated, and now supports syncing
media as well. More information is available on
<https://docs.ankiweb.net/sync-server.html>.

Other changes:

- Switch to a different library for handling type-in-the-answer comparisons,
which should give more reliable results, and not crash with certain inputs
(thanks to Rumo).
- Fix `introduced:x` not working correctly when negated (thanks to Rumo).
- Fix ctrl+enter not working when importing screen first opened.
- Fix image dimensions not being correctly constrained (thanks to Hikaru).
- Fix incorrect total/average in added graph.
- Fix newlines not appearing when importing a csv file with HTML disabled.
- Fix quotes preventing field descriptions from showing.
- Fix spaces not handled properly when entering text around MathJax (thanks to
Hikaru).
- Fix toolbar add-on breakages and introduce toolbar tray layout & API (thanks
to Aristotelis).
- Fix type-in-the-answer not supported nested cloze deletions.
- Increase delay when adjusting clipboard, which may improve compatibility on
some systems.
- Update Windows/Linux builds to Qt 6.4.2.
- Fix non-Latin text wrapping in deck options dropdown (thanks to Fabricio).
- Fix outer whitespace not being trimmed in type answer.
- Fix the future due graph counting learning cards on the wrong day.
- Fix deck options screen allowing invalid/blank input.
- HTML is now escaped in the deck list.

Dev related:

- Make it easier to override node/protoc binaries during a build (thanks to
Mani)

2.1.56

Not secure
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

Not secure
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.

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.