Intro & Downloads

Downgrading

Beta versions may sometimes change your collection in a way that is not compatible with older Anki versions. If you wish to switch back to an older version, please go to the File>Switch Profile menu item, and click on Downgrade & Quit in the current version first.

Problems

If you run into any issues, please let us know on the beta testing section of the user forums.

Packaged Builds

You can get the latest packaged beta from AnkiWeb.

Via PyPI/pip

If you have a local Python 3.8 or 3.9 installation, you can also install beta builds directly with pip.

Anki will be installed in a local Python folder called 'pyenv'.

Mac/Linux
$ python3.8 -m venv pyenv
$ pyenv/bin/pip install --upgrade pip
$ pyenv/bin/pip install --upgrade --pre aqt
$ pyenv/bin/anki

Repeat the last step if you wish to start the same Anki version again. Repeat the last two steps to update to the latest beta and start it.

Windows
c:\> python -m venv \pyenv
c:\> pyenv\scripts\pip install --upgrade pip
c:\> pyenv\scripts\pip install --upgrade --pre aqt
c:\> pyenv\scripts\anki

Repeat the last step if you wish to start the same Anki version again. Repeat the last two steps to update to the latest beta and start it.

2021 Scheduler

Please see the FAQ page.

Changes in 2.1.45

Release Candidate 2

Build e7189f4a / 2021-07-24.

  • Fix numpad enter in type answer screen.
  • Avoid escaping non-Latin text in image filenames (thanks in part to Hikaru).
  • Find and replace / rename with parent options in the sidebar (thanks to Rumo).
  • F3/F4 in card layout screen go to next/previous template (thanks to Evandro).
  • Set due date uses the deck's configured starting ease (thanks to cyphar).
  • Fix preview shortcut when fields not focused (thanks to Henrik).
  • Strip invalid unicode from filenames in media check.
  • Fix skipped entry on mousedown in browser search history (thanks to Rumo).
  • Handle buggy hooks in the reviewer (thanks to Henrik & Hikaru).
  • Fix flags not being excluded on export (thanks to Alex).
  • Fix notes with missing cards causing a fatal browser error.
  • As always, thanks to the translators who've contributed translations.
  • Minor other changes.

Release Candidate 1

Build 60f6fccc / 2021-07-13.

  • Fix red duplicate background being included in copy+paste (thanks to Hikaru).
  • Fix copy/cut affecting whole line in HTML editor (thanks to Hikaru).
  • Fix spurious error when importing v1 scheduling deck into v1 collection.
  • Tweaks to deck config/editor API (thanks to Henrik).
  • An add-on compat fix for the browser (thanks to Rumo).
  • More friendly message when importing v2 deck into v1 collection.
  • Allow cloze: in non-cloze notetypes for now.
  • Miscellaneous other changes.

Beta 6

Build 6ffa7440 / 2021-07-04.

  • Pre-load images on answer side (thanks to Hikaru).
  • Updated sidebar and editor icons (thanks to Henrik).
  • Fixed revert confirmation sometimes getting stuck in deck options (thanks to Henrik).
  • Fixed unnecessary percent-escaping of images in HTML editor.

Beta 5

Build 0f7a230f / 2021-06-29.

  • Fixed the packaging issue in beta 4 that was preventing startup.
  • Show deck options in two columns on wider screens (thanks to Matthias, Hikaru & Henrik).
  • Sidebar search now scrolls to first match (thanks to Abdo & Rumo).
  • Reverted a change that was causing some add-ons that modify the reviewing screen to break.
  • Show error before uploading if collection larger than AnkiWeb's limits.
  • Handle invalid card template numbers in DB check.
  • Fixed error message when confirming cloze deletion in normal note type.
  • Fixed expanding/collapsing tags triggering refresh (thanks to Rumo).
  • Fixed night mode preset dialogs in deck options (thanks to Henrik).
  • Fixed some issues with preserving selected item in sidebar (thanks to Rumo).

Beta 3

Build 18843e71 / 2021-06-25.

  • Fixed remembered tags not being applied to subsequently added cards after actions like toggling a pin/deleting a deck/etc.
  • Fixed toggling of night mode preview in day mode (thanks to hkr).
  • Fixed incorrect field content issue with HTML editor (thanks to Henrik).
  • Exclude deck and tag expand/collapse from undo queue; fixes automatic scroll to Current Deck in Browser.
  • Fixed .apkg importer allowing import of V2 collection with scheduling into a V1 collection.
  • Disable cloze and math buttons in HTML editor.

Beta 2

Build b693bdbf / 2021-06-24.

Known issues:

  • If adding cards with tags, toggling a pin will clear the saved tags, but they will still be shown in the UI. To make sure the tags are still added, to subsequent cards, please click in the tags area after toggling a pin.

Browser updates:

  • Added an option in the Preferences screen to customize the starting search text (eg, to start with "deck:current").
  • More reliably scroll to the current card.
  • New tag icons and associated backend work (thanks to Henrik).

HTML editor, thanks to Henrik:

  • Now appears inline, instead of in a separate pop-up.
  • Supports syntax highlighting, and showing opening/closing tags.

Change notetype:

  • Supports multiple undo.
  • Can match old and new fields by name.
  • Allows mapping a source field to more than one destination fields, allowing you to clone the contents of a field.

Other features:

  • Warn user when they attempt to use cloze markers inappropriately (thanks to Rumo).
  • Support system SSL certs on Linux.
  • Improved add-on support for the new deck options screen (thanks to Henrik).
  • Changed v3 scheduler label from "experimental" to "beta".

Fixes:

  • Fixed resource leak in sound code (thanks to Kelciour).
  • Fixed incorrect font on Windows (thanks to Kelciour).
  • Fixed crash when pressing the copy shortcut with no active selection.
  • Make the color selector inactive when no field is selected (thanks to hkr), and make it apply color immediately (thanks to Henrik).
  • Fixed creation of filtered decks from Browser (thanks to Rumo).
  • Fixed escaping of hyphens in searches (thanks to Rumo).
  • Fixed 'Set Due Date' not remembering provided input.
  • Fixed incorrect card count when removing multiple templates.
  • Fixed an issue compiling on recent Python 3.9 installs.
  • Fixed field pin status being forgotten when opening Cards screen (thanks to Henrik).
  • Reduce chances of a flash when revealing answer on cards with images.
  • Miscellaneous other changes.

Beta 1

Build 5bd2dc65 / 2021-06-08.

Changes:

  • Added an option to the v3 scheduler to sort new cards in reverse order.
  • Added a Card Info option to the review screen.
  • Reduced editor toolbar size on Macs.
  • When opening the Browse screen with an active study card, the whole deck is now shown (thanks to Rumo).

Fixes:

  • Fixed audio getting stuck when pausing near end (thanks to kelciour).
  • Fixed current review card sometimes changing when making edits.
  • Fixed deck options tooltip appearance (thanks to Matthias).
  • Fixed selected deck not being honored when importing text file.
  • Fixed styling changes not being reflected in preview.
  • Fixed timebox window getting stuck when it appeared at start of study.
  • Fixed various links to the manual (thanks to cherryblossom000).

Alpha 4

Build be9bbf21 / 2021-06-02.

Known issues:

  • Changes to styling section in card layout screen not reflected in preview.

v3 scheduler changes:

  • The v3 scheduler can now be toggled in the Preferences screen.
  • Review cards can now optionally be shown in subdeck order.
  • Fixed 'deck priority' for new cards not following subdeck order.

Other features/behaviour changes:

  • Updated text colour and highlight colour buttons, thanks to Henrik and Matthias.
  • Added 3 new flag colours, thanks to Rumo.
  • Sidebar items can be dragged onto the Saved Searches area to add them as a favourite, thanks to Rumo.
  • Added a new menu item to clone the current deck options.
  • Custom study now limits the tag selection to 100 tags or fewer.
  • Extra checks are now done when updating a card template, such as detecting when a cloze notetype is missing a cloze directive, or two templates have identical question sides, thanks to Rumo.
  • Editor toolbar styling improvements, thanks to Henrik and Matthias.
  • The "sync required" indicator is now updated immediately, and will turn off if you undo the first change made after a sync.
  • Removed the superfluous "keep input" option from the Fields dialog.
  • When opening deck option from the study screen, you'll now be asked which deck you want if the card is in a subdeck.
  • Support ctrl+numpad enter to add cards.

Fixes:

  • Fixed an error/crash occurring when timeboxing was enabled.
  • Fixed deck options screen mishandling steps shorter a minute.
  • Fixed remembered tags not being applied to subsequently-added notes.
  • Fixed an error being shown when exporting cards/decks with a non-default deck configuration.
  • Fixed changes to the current field not being saved when saving the deck options.
  • Fixes for building on linux-arm64 (thanks to qubist-pixel-ux).
  • Force x11 mode when the packaged build is run on a system that tells Qt to use Wayland, as Wayland is not currently supported by the packaged build.
  • When a fatal error occurs, close Anki instead of allowing it to remain in a stuck state.
  • Fix formatting of some error messages, thanks to Rumo.
  • Various behinds-the-scenes changes thanks to Henrik and Rumo.
  • Miscellaneous other changes.

Alpha 3

Build f91f00a5 / 2021-05-24.

  • Fix new ease not being applied when failing a review card in the v3 scheduler.
  • The [...] in cloze deletions is now read as "blank" by TTS (thanks to Rumo).
  • Flags can now be renamed in the sidebar (thanks to Rumo).
  • Improvements to the handling of shortcuts in the editor (thanks to Henrik).
  • Improve cards/notes switch appearance (thanks to Rumo & Kleinerpirat).
  • Various tweaks to the Deck Options screen.
  • When Browse screen is opened, default to the first sidebar mode.
  • Add night mode styling to 'type in the answer' box, and improve legibility of comparison.
  • Fix Find&Replace searching in incorrect field.
  • Fix missing cumulative overlays in graphs.
  • Fix strange characters in Deck Options titlebar (thanks to Abdo).
  • Fix Unbury action missing cards in child decks.
  • Fix wrong stock note type being added (thanks to Abdo).
  • Horizontal scrolling in the browse screen is less jumpy (thanks to Rumo).
  • Report changed card count when changing deck/flag in Browse screen.
  • Fix actions like a sort column change clearing the undo history.

Alpha 2

Build b9a4908b / 2021-05-19.

  • Fixed a bug that was causing the Undo action to force a full sync.
  • You can now redo undone actions. The Redo menu item will be hidden for actions that don't support the new undo code, including reviews in the v1/v2 scheduer.
  • Changed the shortcut for Undo in the Browse screen to match the main window.
  • Fixed an error when switching between cards and notes modes (thanks to Rumo).
  • Various tweaks to the appearance of the deck options screen (some thanks to Henrik).
  • Fixed Custom Study when the v3 scheduler is enabled.
  • Compatibility tweaks to fix the breakage of some add-ons.

The Fields/Cards text in the editor is currently a bit large, and it'll likely be tweaked in the future.

Alpha 1

Build 10bfb95f / 2021-05-17.

There have been a lot of under-the-hood changes in this release, and there may be some rough edges at the moment.

Undo handling:

  • Most actions now support multiple undo steps. You can change a card template, delete some notes, bury a card, then undo each of those steps if you wish.
  • Actions that support multiple undo steps will now save the changes immediately, meaning that if Anki crashes, the changes you made in the last few minutes will no longer be lost.
  • Actions that don't support the new undo handling (eg, Check Database), will clear the undo history.
  • Add-ons will clear the undo history if they modify the database directly, or use routines that don't support undoing. There are some new routines available to add-ons to make operations undoable, but add-ons may need to be updated to use them.

Scheduling changes:

  • An experimental new scheduler.
  • The deck list now shows the learning count separately.
  • On new collections, the v2 scheduler is now the default.

Browser changes, thanks to Rumo:

  • The sidebar now has two modes. The default allows clicking on items to search for them. The other mode allows you to select multiple items at once, so you can drag & drop or delete multiple items.
  • The browse screen can now be toggled between showing cards, and showing notes.
  • When showing notes, some columns will show an aggregate over all the cards of a note.
  • Added an introduced:x search to locate cards first studied in the last x days.
  • Column rendering has been moved into the backend, and will be faster than before (but is still limited by the speed of the graphics toolkit).
  • A fair bit of the browser code has been changed, and some add-ons like the "Advanced Browser" add-on will need to be updated to support the new approach.

Editor changes, thanks to Henrik:

  • The editing toolbar has been reimplemented in a way that will allow easier improvements in the future.
  • The toolbar's icons and style have been updated.
  • The editor now provides bullet and numbered list buttons.
  • The editor now provides buttons to control text alignment and indent.
  • Sticky fields can now be toggled on/off from the editing screen.
  • Editor shortcuts are handled differently, and the current approach does not work well on non-QWERTY keymaps. This will likely change before a stable release.
  • A new API is available for add-ons, but this has not been finalized yet.

State handling:

  • When you make changes, the user interface should update more consistently now. Adding a new tag to a note will update the sidebar in the Browse screen for example, and when you review a card that is shown there, the columns will update.
  • The Browse screen no longer refreshes a search automatically. When you make a change, the column text may update, but the number of rows will not change. Deleted cards show "(deleted)" until you search again.
  • The main window no longer shows a "waiting for editing to finish" screen. When you make changes such as editing a note, the main window will dim, and will automatically refresh when you return to it.

The deck options screen has been reimplemented:

  • (Re)learning steps are now shown with units, eg 10m or 4d.
  • Deck options are now shown on one scrollable page.
  • Extra help is available for most options.
  • It is easy to see at a glance which options have been changed from the default, and individual options can be reverted to the default setting.
  • Warnings will be shown for some common issues (eg, review limit too low compared to new cards).
  • Some of the more advanced options have been moved to a separate "Advanced" section.
  • The old options can be accessed with a Shift+click, since it will take a while for add-ons to be updated to support the new screen.
  • The deck description is now accessible via a button in the overview screen, instead of via the deck options.

Other changes:

  • Numerous behind-the-scenes improvements from Henrik and Rumo.
  • The Find&Replace option in the Browse screen can now be used on tags as well.
  • You can now choose which add-ons you want to update (thanks to BlueGreenMagick).
  • Fix text with single quote not being escaped in export (thanks to Ryan).
  • Other fixes and improvements thanks to Abdo, Glutanimate, Arthur and Shaun.
  • The Card Info screen ignores manual rescheduling when calculating the average time.
  • Performance improvements and other miscellaneous fixes.

Changes in 2.1.44

Beta 1

Build b2b3275f / 2021-05-04.

  • Search text is no longer automatically quoted/interspersed with ANDs.
  • Fix two backslashes being treated as one in MathJax.

Changes in 2.1.43

Beta 1

Build 0fbae6bc / 2021-03-27.

  • The reviewing screen will now wait for up to 100ms for images to load before showing, and waits until images have been loaded before scrolling to the answer.
  • The default fade-in on the review screen has been removed.
  • Fix DB check incorrectly identifying an issue after lapsing a card with a non-zero interval % in the V1 scheduler.
  • Fix editing toolbar being initially active (thanks to Henrik).
  • Fix some error messages (thanks to Rumo).
  • Fix expand/collapse triggering click in sidebar (thanks to BlueGreenMagick).
  • Update translations, thanks to the translators.
  • Fix "Forgot Card" message.
  • Fix deck list not updating after deleting.

Changes in 2.1.41

Add-On Notes

Add-on authors, please see https://forums.ankiweb.net/t/add-on-porting-notes-for-anki-2-1-41/7390

Beta 7

Build 3ba08d11 / 2021-03-04.

  • Fix a freeze when answering a card with a missing parent deck.
  • Fix an error that could occur when syncing between 2.1.41 and older clients, then downgrading.

Beta 6

Build 92aaaf71 / 2021-03-02.

  • Fix 2.1 scheduler review counts not matching deck list.
  • Fix a focusing issue in the editor (thanks to Henrik).

Beta 5

Build 14cc81f8 / 2021-03-01.

  • Filtered deck screen now has a link to show cards not matched by search (thanks to Rumo, Abdo).
  • Support Alt+number to switch between clozes in the card layout screen (thanks to Abdo).
  • Fix images not shrinking to fit editor field (thanks to Henrik).
  • Fix a focus handling issue in the editor (thanks to Henrik).
  • Fix incorrect review counts in the 2.1 scheduler when parent decks had a smaller limit than their children.
  • Fix early review cards remaining in new queue after upgrading to 2.1 scheduler.
  • Improve error message when trying to nest under a filtered deck (thanks to Rumo).
  • Use monospace font in HTML editor.

Beta 4

Build 46e9720e / 2021-02-21.

Scheduler updates:

  • The V1->V2 upgrade process no longer resets cards that are in learning, or removes cards from filtered decks.
  • Users on the old scheduler will now see a message at the top of the deck list prompting them to update to the Anki 2.1 scheduler.
  • New users will see the message too. Enabling it by default would be a smoother experience, but that needs to wait until AnkiDroid 2.15 is released as stable, with support for the newer timezone handling.
  • There is no option to downgrade to the V1 scheduler anymore, though you can still do so by downgrading to an older Anki version first.

Fixes:

  • Fix tag replacement/deletion matching substrings (thanks to Abdo).
  • Fix images not shrinking to fit in fields (thanks to Henrik).
  • Fix "saved searches" getting selected when clicking in empty area of sidebar (thanks to BlueGreekMagick).
  • Reposition dialog's "shift cards" option now defaults to off.

Beta 3

Build b3b40933 / 2021-02-12.

  • Sidebar:

    • Drop multiple selection, and switch back to the old clicking behaviour. Multiple selection can be tackled again in a future update.
    • "Due" now shows only cards due that day.
    • Added "Overdue" item.
  • "Set due" now leaves the review intervals alone unless '!' is provided.

  • Fix stale preview in card layout screen (thanks to Henrik).

  • Ignore manually scheduled cards in hour graph.

Beta 2

Build 599d4634 / 2021-02-09.

  • Sidebar changes:

    • Multiple selection. Currently only works with tag and deck drag&drop.
    • Ctrl/Alt/Shift options to add/modify the search now require a right click instead of a left click, to avoid conflicts with multiple selection.
    • Move "Current Deck" to Decks
    • Click on Decks to show whole collection.
    • Click on Flags to show any flag.
    • Click on Tags to show all non-empty tags.
    • Added "Untagged" under Tags.
  • "Set Due Date" changes:

    • Interval can optionally be reset for review cards.
    • Input now remembered.
  • Editor tweaks to make things easier for add-ons (thanks to Henrik).

  • Fix slowdown after large "check media" report.

  • Fix 'rsbackend' errors in some add-ons.

  • Fix compatibility with fastbar add-on.

  • Markdown rendering of deck config is now opt-in - once enabled, it will change the handling of both the overview and congrats screen. When not enabled, the congrats screen will not show the description.

Beta 1

Build 704b5e58 / 2021-02-07.

This beta includes all the changes from 2.1.39beta1 - please see its change notes as well.

Changes since 2.1.39beta1:

  • The editor's code has been reworked, thanks to Henrik:

    • <br> tags will now be used by default instead of the previous <div> tags, which solves some issues with multiple lines in cloze deletions and MathJax.
    • Invalid field content can no longer spill out into the editing area.
    • Other behind-the-scenes changes have been made at the same time, and some add-ons that alter the editor will need updating.
  • Browser sidebar improvements:

    • Added a search bar, thanks to Abdo.
    • The remaining items in the Filter button have been moved into the sidebar, and the Filter button removed.
    • Tags and decks can now be dragged and dropped.
    • Each section can now be expanded/collapsed.
    • Add-ons that were adjusting the sidebar or filter button may need updating.
  • Search improvements, thanks to Rumo:

    • Filtered decks can now be created from a browser search, and vice versa.
    • Better ergonomics for developers.
  • Reworked the Reschedule tool:

    • Split into separate "Forget" and "Set Due Date" actions
    • "Set Due Date" now adjusts intervals of review cards, instead of resetting them.
    • Changed the "Delete Tags" shortcut; Ctrl+Shift+D now changes the due date.
    • Added the action to the review screen as well.

Other changes:

  • The tags field in the editor now autocompletes from anywhere in a tag name, not only the start.
  • The title bar on Macs will now turn dark when night mode is activated.
  • Improvements to the graphs, thanks to Henrik.
  • Add deck description back to congrats screen, with caveats.
  • Add opus to media list in editor.
  • Other improvements with thanks to Rumo, Henrik, Abdo, Arthur and Maksim.

For developers:

  • Almost all of the Python codebase now has type hints. 🎉

Changes in 2.1.39beta2

Build 576f0043 / 2021-01-30.

This beta is closer to 2.1.38 than the previous beta - it contains a bunch of bugfixes from beta 1, but feature changes have been cut, and will come back in 2.1.40. This is expected to be released as stable without further changes, if no issues are found in the next couple of days.

Please make sure to downgrade with beta 1, before opening beta 2.

Changes since 2.1.38 stable:

  • Fix the Reposition command not preserving the browser sort order.
  • Fix some issues causing the sync indicator to show unnecessarily (thanks to Rumo).
  • Fix a spurious warning about a full sync when renaming card templates.
  • Fix Anki not working after installing on Linux over a previous install.
  • Don't log card resets when exporting.
  • Fix congrats screen not showing when learning cards were due soon.
  • Updated bundled lame and mpv on Windows and Mac builds.
  • Other fixes and improvements, with thanks to Henrik, Rumo, Abdo, Arthur, Guillem, Meredith, Gustavo and Daniel.

Changes in 2.1.39beta1

Build 32278813 / 2021-01-26.

New features:

  • Browser improvements:
    • Tags now show in a tree (thanks to Abdo).
    • New context menu actions to rename or remove tags and their children, rename decks, manage notetypes, and rename/remove saved searches (thanks to Abdo and BlueGreenMagick).
    • The preview button in the browse screen has moved into the editing area (thanks to Henrik).
    • With the improved sidebar, a number of options have been removed from the Filter button.
  • Search improvements:
    • Searches are new rewritten into a canonical format (eg one two becomes "one" AND "two") (thanks to Rumo).
    • Search error messages are now much more specific (thanks to Rumo).
    • is:learn, is:due and prop:due now handle more cases, such as suspended cards (thanks to Henrik).
    • Added prop:pos search to search for new card position (thanks to Abdo).
    • Added a shortcut to replace part of a search with a different search (eg changing the selected deck) (thanks to Rumo).
    • Support resched:x for searching for cards that were manually rescheduled in x days (thanks to Henrik).
    • Support prop:rated/resched to search for rated/rescheduled cards over specific time periods (thanks to Henrik).
  • Graph improvements:
    • A number of the graphs can now be clicked on to search for the cards displayed by the graph (thanks to Henrik).
    • The starting day of week can now be altered in the Calendar graph (thanks to Henrik).
    • The Card Counts graph now supports toggling separate suspended/buried counts (thanks to Henrik).
    • The intervals and ease graphs now covers more cases, such as suspended cards (thanks to Henrik).
    • Place less emphasis on outliers in the Calendar graph (thanks to Henrik).
  • Edit/More buttons auto-hide when window is small (thanks to Henrik).
  • The editor will now favour BR tags over DIVs (thanks to Henrik).
  • A basic sync server is now built into Anki. It does not yet support media. Docs are in the docs/ folder of the source tree.

Bugfixes:

  • Fix the Reposition command not preserving the browser sort order.
  • Fix some issues causing the sync indicator to show unnecessarily (thanks to Rumo).
  • Fix a spurious warning about a full sync when renaming card templates.
  • Fix Anki not working after installing on Linux over a previous install.
  • Don't log card resets when exporting.
  • Fix congrats screen not showing when learning cards were due soon.
  • Updated bundled lame and mpv on Windows and Mac builds.
  • Other fixes and improvements thanks to Henrik, Rumo, Abdo, Arthur, Guillem, stayingpeachy, Daniel, khonkhortisan and Kerrick.

For developers:

  • JS libraries like jQuery have been updated (thanks to Henrik).
  • Add (untested) support for ARM64 Linux.
  • orjson is turned back into an optional requirement (though is still recommended, as it's faster).
  • The sidebar code has been moved from from browser.py into sidebar.py, which may break some add-ons.

Changes in 2.1.38beta4

Build 355e4cd5 / 2020-12-23.

If no issues are discovered, this will likely be released as 2.1.38 stable in a few days.

  • Reduce the default fade time in the review screen.
  • The ANGLE video driver can now be selected in the Preferences on Windows.
  • Fix some instances of sync indicator remaining on after sync.

For developers:

  • Protobuf binaries are now used to speed up the initial build.
  • Fix Windows build on Python 3.9 (but 3.8 is still recommended).

Changes in 2.1.38beta3

Build d600bd58 / 2020-12-21.

  • All built-in Windows TTS voices should now be supported on recent Windows 10 releases (thanks to Ryan).
  • Work around --text-fg appearing in fields.
  • Record a short amount of extra time when stopping recording with the new recording driver, and remove the qtrecorder option.
  • Fix link in about screen (thanks to Abdo).
  • Possible fix for sync button becoming blue without changes (thanks to Rumo).
  • Don't throw error when computer hostname is invalid.
  • Other minor changes (thanks to Henrik & k12sh)

Changes in 2.1.38beta2

Build 38406862 / 2020-12-18.

  • Add another approach for recording audio that should avoid the leading 300ms silence that was in beta1.
  • You can now choose between recording drivers in the preferences screen, with 'qtrecorder' being similar to the beta1 approach, and 'pyaudio' being similar to previous Anki versions. If you find some work better than others, please let us know. No restart is required after changing the option and closing the preferences screen.
  • Fix '1' being shown instead of the correct number in some Russian translations.

Changes in 2.1.38beta1

Build 56ac71ff / 2020-12-16.

  • Switch audio recording libraries. Please try recording audio on a card and let us know if there are any issues.
  • Fix the Reposition tool in the Browse screen not following the sort order.
  • Fixed invisible characters when adding new card templates (thanks to Henrik).
  • Fixed duplicate check getting confused by non-breaking spaces (thanks to abdo).

For developers:

  • Fixed Python code completion, and added some info to docs/development.md
  • ./run now runs Anki with Python warnings enabled - PRs that fix any that come up would be welcome (thanks cecini for the first!)
  • PyAudio is no longer required for recording.

Changes in 2.1.37rc1

Build fe4fda70 / 2020-12-10.

Will become the next stable release in a few days if no further issues are found.

  • Fix filtered decks not respecting sort order.
  • Fix automatic scrolling to the answer (thanks to Henrik).
  • Ease in the deck options now has a 131% minimum.

Changes in 2.1.36beta5

Build c505894b / 2020-12-07.

This is expected to be released as stable in a day or two without further changes, if no issues are discovered.

  • Support building with Python 3.9 on Mac/Linux.
  • Make it a bit easier to run Anki from source, and run it with optimizations.

Changes in 2.1.36beta4

Build 5313447c / 2020-11-30.

This is nearing a stable release, so if you encounter any issues please let us know on the forums.

  • The handling of wildcards and escape characters in search has been reworked to be more consistent, thanks to Rumo.
  • Various fixes to translation handling, such as the translation of early startup messages, thanks to Abdo.
  • Fixed some issues with adding/renaming decks (thanks to Cecini).
  • Fix duplicate search when sort field is not first field (thanks to Abdo).
  • Fix sync colour not updating after sync.
  • Thanks (as always) to people who contributed translations.
  • Other minor fixes.

Changes in 2.1.36beta3

Build c1d15a8e / 2020-11-18.

  • MathJax has been updated to V3, thanks to Henrik. It should render faster than before. Please report any issues you notice.
  • Anki's translation system has been updated. This should not have caused any user-visible changes, but if you notice any regressions please let us know.
  • Fix issues with "find duplicates" (thanks to Abdo)

For developers:

  • Gettext is no longer required to build Anki, as all strings have been migrated to Fluent.
  • Python wheels have been provided on the beta download site - you should be able to install them with "pip install /path/to/.whl". Please report any issues you have with them.

Changes in 2.1.36beta2

Build e0550b60 / 2020-11-12.

The way Anki is built and packaged has been reworked for this release, which should make developing Anki easier moving forward. These changes should be mostly invisible to end users, but if you notice any problems introduced in this beta, please let us know on the forums.

As part of these changes, the alternate Windows and Mac builds have been discontinued. If you're still using a 32-bit OS or a macOS version below 10.13, 2.1.35 is the last version that will work on your setup.

For developers, please see https://forums.ankiweb.net/t/changing-ankis-build-system-to-bazel/4737. Python 3.8 is now the minimum supported version, so feel free to go wild with the walrus operator.

Other changes:

  • Thanks to all the people who have contributed bugfixes and code/doc updates: Abdo, Lukkea, Akshara, Kelciour, David, Henrik, Colin, Johan, Piotr, Andreas, Arthur, Alan, RumovZ, Cecini, Soren, Krish, and ianki, in no particular order. For the full list of changes, please see https://github.com/ankitects/anki/. If I've missed someone, please let me know!
  • The main card area is now focused instead of the bottom area during review, which allows using the keyboard to scroll (thanks to Henrik).
  • A separate mpv process is now used to play videos on Windows, which should solve issues with playing getting stuck (thanks to Kelciour).
  • Fix error when switching to note type with fewer fields
  • Fix corrupt indexes when checking database.
  • Fix invalid utf8 in notes when checking database.
  • Fix invisible scrollbar in night mode + browser.

Changes in 2.1.36beta1

Build 53a984ba / 2020-10-02.

  • Normal and night mode theming now uses CSS variables, making it easier to use and override in add-ons.
  • Congrats screen, burying/suspending, filtered deck building/emptying, and card reposition/reset have been reworked, but should (mostly) function as before. Please report any issues you encounter.
  • When cards are rescheduled in the browse screen, a review entry log is now created.
  • Various improvements, thanks hgiesel, cyphar, kaczmarj and Arthur.

Changes in 2.1.35beta1

Build 84dcaa86 / 2020-09-30.

  • Fix a bug in Anki 2.1.29+ that caused excessive memory and CPU usage on long-running operations that show a progress bar, such as importing.
  • Roll back Mac and Windows builds to Qt 5.14 again, as there are still issues with 5.15.
  • Fix display issue in graphs on alternate Mac build.
  • Fix preview not updating on multiple selection (thanks to abdo).
  • Fix old content appearing when flagging immediately after typing.
  • Fix some handling of * in searches.
  • Sidebar now correctly escapes some characters (thanks to abdo).

Changes in 2.1.34beta2

Build 8af8f565 / 2020-09-22.

  • Fix a bug in Anki 2.1.28+ where a newly created deck config would default to an ease of 130%. When updating, Anki will automatically change any deck configs with an ease of 130% back to 250%, and change any cards using those deck configs with a low ease back to an ease of 250%. If you have deliberately set an initial ease of 130%, please change it to 131% or greater prior to upgrading, so that Anki leaves your settings alone. Users who updated from an older Anki version and did not add new deck configurations should not be affected. Thanks to Aleksa for discovering the issue.
  • Roll back most of the non-bugfix scheduling changes from the previous beta, so that this can be released as stable after a couple of days of testing.

Changes in 2.1.34beta1

Build 133fe851 / 2020-09-21.

  • Update the standard builds to the latest GUI toolkit version. Please report any improvements or regressions you notice.
  • Dropped audio plays automatically again (thanks to abdo).
  • Revert to older sound playing behaviour to work around issues (thanks to kelciour)
  • Various improvements, thanks hgiesel, cyphar, kaczmarj and Arthur.
  • Normal and night mode theming now uses CSS variables, making it easier to use and override in add-ons.
  • Congrats screen, burying/suspending, filtered deck building/emptying, and card reposition/reset have been reworked, but should (mostly) function as before. Please report any issues you encounter.
  • When cards are rescheduled in the browse screen, a review entry log is now created.
  • is:due now stops at now+learn ahead limit, instead of end of day.
  • Various bugfixes.

Changes in 2.1.33beta2

Build 4662a9fe / 2020-08-28.

  • Fix cards not being unburied if leaving Anki open and the first action of a new day is a sync.
  • Access More button in review screen with 'm' (thanks to ANH).
  • Audio no longer plays when dropped/pasted (thanks to ANH).
  • Fix next learn message in congrats screen.

Changes in 2.1.33beta1

Build 7bcec00e / 2020-08-26.

  • Fix drag&drop into existing content (thanks to ANH).
  • Fix text in export file selector (thanks to ANH).
  • Fix timeouts in full syncs and media syncs again.

Changes in 2.1.31beta3

Build 85d99f73 / 2020-08-21.

  • Full syncs and media syncs now terminate more quickly when the connection breaks.
  • Improve support for getting proxies from Windows registry.

Changes in 2.1.31beta2

Build 2b1bcda9 / 2020-08-21.

  • Fix mpv failing to play audio after it's restarted, thanks to Kelciour.
  • Fix Find&Replace window sizing.
  • Fix 'stale notetype' error after sync+add.
  • Code improvements from ANH, Evandro and Thomas.
  • Minor graph tweaks.

Changes in 2.1.31beta1

Build 680b5e4b / 2020-08-19.

  • Show card counts in pie graph, and other minor graph tweaks.
  • Fix crash when dragging & dropping, thanks to ANH25.
  • Fix sync error+lost review when undoing in v2 filtered deck with scheduling off.
  • Close "edit current" when current card deleted.
  • Code improvements, thanks to Arthur, Evandro and Henrik.
  • Find&replace completion is now case sensitive.
  • Fix crash when recovering notes with missing notetype.
  • Fix handling of nested legacy template directives.
  • Fix issues with bulk tag removal.
  • Remove embedded direction markers in RTL cloze deletions.
  • Strip nul characters from tags.

Changes in 2.1.30beta3

Build 83637199 / 2020-08-08.

  • Standard Windows build tweaked to hopefully fix issues introduced by Windows update.
  • Standard Mac build rolled back to Qt 5.14, to fix "show windows in tabs" not working.
  • More fixes for syncing bad data from older clients.
  • Catch negative review times in DB check.

Changes in 2.1.30beta2

Build 818012e0 / 2eee4cb0 / 2020-08-05.

Update 2020-08-06: Windows build repackaged to fix failure to start.

  • Add right axis to graphs.
  • Fix some young cards being shown as mature in reviews graph.
  • Fix negated conditonals being non-negated when renamed.
  • Fix automatic logout not working when auth failure occurs.
  • Fix 'add mobile class' not working properly.
  • Fix some syncing errors that could happen until Check Database was run.
  • Other graph tweaks/fixes.
  • Big thanks to Matt and phwoo who submitted a bunch of code improvements recently.

Changes in 2.1.30beta1

Build 1353590a / 2020-07-31.

  • Fix early reviews not appearing in review graph.
  • Fix hour graph problem in timezones west of UTC.
  • Card counts graph now always shows table.
  • Fix move into/out of filtered decks not syncing.
  • Handle multiple same-numbered clozes in cloze-only filter.
  • Fix deck list and graphs not including v2 scheduler cards with rescheduling disabled.
  • Added night mode and mobile class toggles in card layout screen (thanks to ANH25).
  • Code improvements (thanks to Matt, phwoo, Evandro and aplaice).
  • Refresh tag list after clearing empty tags.
  • Other minor fixes.

Changes in 2.1.29beta4

Build 88fee1b7 / 2020-07-27.

  • Fix an issue introduced by the previous change to the future due graph.
  • Don't show an error when card contains an empty URL.

Changes in 2.1.29beta3

Build 15c9cd91 / 2020-07-26.

  • Fix due reviews in filtered deck showing incorrectly in future due graph.
  • Another attempt at addressing the AltGr issue on Windows.

Changes in 2.1.29beta2

Build ca8265a6 / 61e8611b / 2020-07-24.

  • Roll standard Windows build back to Qt 5.14.1 for now (fixes performance problems)
  • Graphs now instruct user to use Check Database if data can't be read.
  • Future due graph now includes today's learning cards.
  • Fix preview not updating when editing text in the Browse screen.
  • Fix mpv taking time to start (thanks to Kelciour)
  • Code/build improvements (thanks to Evandro & Matt).
  • Other minor tweaks.

Changes in 2.1.29beta1

Build 1b441f50 / 2020-07-21.

  • Add cloze-only: template filter, which can be combined with TTS to speak only the elided part.
  • Fix 1+ day learning cards not being included in future due graph.
  • Start media sync after full sync finishes.
  • Use right-to-left direction in webviews when using RTL interface language.
  • Support the terminal command that enables dark mode again.
  • Code tidy-ups (thanks to Arthur).
  • Close gracefully on SIGTERM.

Changes in 2.1.28beta6

Build 7d8818f8 / 2020-07-17.

This is a candidate for the next stable release.

  • Add range selectors to button + hour graphs.
  • Make it easier for add-ons to modify the graphs (thanks to Aristotelis).
  • Code testing tidy-ups (thanks to Arthur).

Changes in 2.1.28beta5

Build 61017a2e / 2020-07-16.

  • Minor tweaks to graph tooltips and axis labels.
  • Ctrl/cmd+number selects decks/note types in list (thanks to Alexander).
  • Translation updates (thanks as always to the volunteer translators).

Changes in 2.1.28beta4

Build 116aeead / 2020-07-13.

  • More graph tweaks.
  • Fixed is:review not including relearning cards.
  • Scroll media log to bottom at start (thanks to kelciour)
  • Update some dependencies, and other minor changes.

Changes in 2.1.28beta3

Build 93425be8 / 2020-07-07.

  • Fix add-on regression (thanks to Evandro).
  • Various graph tweaks.

Changes in 2.1.28beta2

Build cfc33815 / 2020-07-06.

  • Various tweaks to the graphs.
  • Update local media server (thanks to Evandro).
  • Use Qt colour picker on Linux (thanks to Andreas).
  • Fix some add-ons being broken.
  • Other minor fixes.

Changes in 2.1.28beta1

Build 4d23a69e / 2020-07-01.

  • The stats screen has been rewritten - feedback on the beta thread would be appreciated.
  • The old stats are accessible by shift+clicking on Stats.
  • Add edited:x search for matching notes edited in last x days.
  • Improvements to mpv handling (thanks to Kelciour).
  • Windows build fix (thanks to Evandro).
  • Various other fixes, including contributions from BlueGreenMagick, Arthur, neitrinoweb and kenden.

Changes in 2.1.28alpha3

Build f44597bb / 2020-06-09.

  • The standard Mac build now uses Qt 5.15 - please report any regressions. The file size is a bit larger than it needs to be, and may be improved in the future.
  • The Linux build now uses Qt 5.15 - please report any regressions.
  • DB check now shows progress.
  • Fixed duplicate/empty field check.
  • Fixed audio being included in FrontSide.
  • Clearer error message on failed regex search.
  • Find & Replace remembers input (thanks to Evandro).
  • Code improvements (thanks to BlueGreenMagick, Thomas and Andrew).
  • Support input.conf for mpv
  • Fixed '&' being changed in image filenames in HTML editor.
  • Fixed exports getting broken by Windows carriage returns in note fields.
  • Miscellaneous other fixes.

Changes in 2.1.28alpha2

Build ebce044b / 2020-06-02.

Reworked collection syncing. Some warnings:

  • While it has had some testing, please take frequent backups, and keep an eye out for (and report) any problems.
  • The checking stage at the end of the sync may be slower than normal, as some checks that are normally disabled have been re-enabled for safety.

Sync changes:

  • Normal syncs and media syncs can operate in parallel, speeding up startup and shutdown.
  • Normal syncs no longer need to close open windows like the Browse screen, or close & re-open the collection.
  • Full syncs now show a progress bar.
  • Full syncs can now be cancelled, and both normal and full syncs cancel more quickly.

Other changes:

  • Windows standard version has been updated to Qt 5.15.
  • Audio player on Windows has been switched back to mpv. Please report any issues you have playing audio files/videos.
  • Fixed deck deletion, and allow "deleting" the default deck (it comes back empty).
  • Fixed custom study not saving.
  • Card layout screen divider can now be adjusted (thanks to Evandro).
  • Fixed duplicate rendering in card layout screen (thanks to Evandro).
  • Fix for a previewing issue (thanks to Evandro).
  • Fixed off-by-one in field drag&drop (thanks to BlueGreenMagick)
  • Other minor fixes.

Changes in 2.1.28alpha1

Build 97eadb78.

  • Performance improvements to:

    • Startup and shutdown (the first startup will be slow as your collection is updated).
    • The Browse screen.
    • The deck list.
    • The note types screen.
    • The card templates screen.
    • The database check.
  • Card generation changes:

    • Card generation now supports negated conditionals, and a mix of required and optional fields.
    • When adding/importing, if a normal note doesn't generate any cards, Anki will now add a blank card 1 instead of refusing to add the note.
    • Please bear in mind that if you take advantage of these features, older Anki clients may report the cards are blank, or try to clean them up when you use the Empty Cards feature.
    • Cloze numbers over 499 are no longer supported.
  • Card template screen:

    • Changes are now accumulated, and can be saved or discarded when you close the screen.
    • The front, back, and styling are no longer shown at the same time. You can switch between them with ctrl+1/2/3 or cmd+1/2/3.
    • Added a search bar to search for text in the template or styling.
    • Added a dropdown to change the previewed cloze number.
    • Added a checkbox to toggle the filling of empty fields for preview.
    • You can now delete a card template even if some notes are only using that template - they will be given a blank card 1 instead.
  • Scheduling:

    • The deck list no longer caps counts to 1000.
    • The overview and study screen no longer caps counts to 1000.
    • The deck list will no longer show a parent count higher than the limit set on the parent.
  • Empty cards screen:

    • Notes will not be deleted by default.
    • Empty cards are grouped by note type.
    • Empty cards can be clicked on to reveal them in the browse screen.
  • Database check:

    • Notes with the wrong field count are now recovered instead of being deleted.
    • Notes with missing note types are now recovered instead of being deleted.
    • Notes with missing cards are now recovered instead of being deleted.
  • Unicode normalization:

    If you are studying rare CJK characters and wish to prevent them from being converted into modern equivalents, the following in the debug console will stop Anki from normalizing note text.

    mw.col.conf["normalize_note_text"] = False
    

Other changes:

  • Fields screen now accumulates changes, which can be saved or discarded when you close the screen.
  • Updated a few screens to show progress bars instead of hanging the UI.

Changes in 2.1.24beta9

Build 359b9f5c.

  • You can use w:something to search on word boundaries, eg:
    • w:dog
      search for "dog" on a word boundary - will match "dog", but not "doggy" or "underdog".
    • w:dog*
      will match "dog" and "doggy", but not "underdog".
    • w:*dog
      will match "dog" and "underdog", but not "doggy".
  • Fixed clicking on links in add-on configuration documentation.

Changes in 2.1.24beta8

Build 683f664d.

  • Fixed adding and removing deck option groups.

Changes in 2.1.24beta7

Build ec6c0f86.

  • Move the scheduling options in the preferences to a separate tab, so options fit on the screen even on devices with small screens.
  • Fix pauses caused by a regression in the previous beta.

Changes in 2.1.24beta6

Build 394f7c63.

This beta changes the macOS dark mode handling of the standard build:

  • Anki now solely relies on the night mode setting in the preferences to decide whether to show in light or dark mode. Some users wanted to run Anki in light mode while keeping the rest of their system dark, and there were various display problems when dark mode was changed after Anki started that couldn't be easily worked around.

  • Users who only use dark mode, and preferred the native look of widgets in dark mode, can achieve the previous appearance by running the following command in the terminal:

    defaults write net.ankiweb.dtop NSRequiresAquaSystemAppearance -bool no
    

    And the following in the debug console:

    mw.pm.meta["dark_mode_widgets"] = True
    

    This is hidden behind a debug console command because it requires the user ensure their system is always set to the same light/dark mode as Anki.

Other changes:

  • The macOS standard build is built with a newer SDK. If you notice any regressions, please let me know.
  • Fixed Anki closing after a full sync on collection load.
  • Fixed an error being shown when replaying audio.
  • Fixed filtered decks displaying an error in older Anki versions after downgrading.
  • Fixed add-ons with multiple branches not updating properly.
  • Change the way cloze deletions in RTL fields are handled, which should address some corner cases.
  • Fix editor buttons not being highlighted (thanks to Simone).
  • Improve invalid HTML/JS error messages (thanks to Evandro).
  • Fixed a useless log file being created when exporting.
  • Allow selecting add-on config help text (thanks to ijgnd).

Changes in 2.1.24beta5

Build 0c5f22f4.

  • New load/save handling for note types and decks. This should be transparent; if you notice any issues, please let me know.
  • Avoid scrolling if the selected browser row is still visible after an operation.
  • Handle renamed cloze fields when previewing (thanks to BlueGreenMagick).
  • Fix a case where decks could be sorted incorrectly (thanks to Arthur).
  • Fix some bugs introduced by the recent previewing changes.
  • Allow dragging fields to change their position (thanks to BlueGreenMagick).
  • Add socks support to media sync.
  • Improvements to debug console (thanks to BlueGreenMagick).
  • Build improvements (thanks to Evandro).
  • Fix deck option changes not marking collection as changed.
  • Fix deck_browser_did_render hook.
  • Fix interface getting stuck when a corrupt collection was encountered.

Changes in 2.1.24beta4

Build 16ab351b.

  • Updated tag handling:
    • non-wildcard searches now do full unicode case folding (eg 'tag:masse' matches 'Maße').
    • wildcard searches do simple unicode case folding.
    • tag list in browse screen now uses unicode case folding.
  • Fix 'is:due' search not combining with other searches properly.
  • Fix searches for things like deck:current not reflecting current state.
  • Fix duplicate searches.
  • Be more tolerant of deck IDs stored in the wrong format by older Anki versions.
  • Fix an error that could occur when performing an operation in the browse screen then immediately closing it.
  • Clean up the previewing code (thanks to Arthur). Add-ons that modify the preview screen will need updating.
  • Prepare for uploading releases to PyPI (thanks to Evandro).
  • Improve the handling of deck deletions (thanks to Arthur).
  • Avoid decimal place in steps lists where possible.
  • Add a compatibility shim for named args to avoid breaking some add-ons.
  • Updated config handling. While there should be no immediate breakages, if you're an add-on author and store lists or dicts in Anki's config, please see 676f4e74a.

Changes in 2.1.24beta3

Build d3964603.

Updated the way cards and deck options are loaded and saved. Most add-ons should not be affected, but a few will need minor tweaks. If you run into any issues and can reproduce them when add-ons are disabled, please let me know.

Other changes:

  • Media syncs no longer take time to abort.
  • Fixed media sync waiting forever when connection dropped.
  • Fixed an issue where regular syncs could fail to end.
  • Fixed current card sometimes not being centered when searching.
  • Don't force a full sync when DB check finds cards with a high due number.
  • A tweak which should fix some broken add-ons from preventing the collection from being loaded.
  • GitHub now checks Windows and Mac builds as well (thanks to Evandro).
  • More hooks (thanks to Arthur).
  • Fix tag searches in custom study (thanks to zjosua).
  • Don't throw an error when user has an embedded null in a note field.
  • Left-align tags in the browser.
  • Ignore .DS_Store files in the media trash folder.
  • Remove the check for ':' in DB queries.

Changes in 2.1.24beta2

Build b1a8107a.

Please see beta 1 for most of the changes.

  • The media check will now fix file references in fields that broke because a filename was shortened as part of a sync.
  • Fixed error when reviewing (thanks to zjosua).
  • Fixed reverse sort order for some browser columns.
  • Fixed the UI displaying badly when macOS dark mode changes while Anki is running.
  • Don't show a popup when a network error occurs while syncing media.
  • Fixed the collection_did_load add-on hook.
  • Fixed searches for "(something )" with a trailing space not working.
  • Fixed the wrong language shown in the preferences screen for some languages.

Changes in 2.1.24beta1

Build 9dda5cf6.

2.1.24 focuses on changes to the database layer and searching code.

Searching:

  • You can now use re:something to search via regular expression, eg:
    • re:\bdog\b will search for the word 'dog'. It has a word boundary character (\b) at the start and end, so it will match 'a dog', but not 'a doggy'.
    • front:re:t+1 would match "t1", "tt1" and so on in the Front field
    • When searching by regex, unicode case folding is used, so searching for re:über will show a card that has "Über" on it.
  • nc:something (short for "no combining") can be used to search while ignoring accents, eg nc:uber will match both "über" and "Über". This behaves the same way as the "Ignore Accents" add-on, but is about 16x faster.
  • You can now sort on the deck, card template, note type and tags columns.
  • You can now use wildcards when limiting the search to a field, eg field*:something.
  • You can now use wildcards when searching for a card template or note type by name.
  • rated:x searches are now capped to a year instead of a month.
  • You can now escaped double-quotes in a search - eg "foo\"bar"
  • Single-quote searches are no longer supported.
  • A version of Advanced Browser that works with this beta has been made available here. Not everything has been tested, and sorting on some fields will not currently work properly.
  • Because the searching code has been rewritten, add-ons that modify the search code will need to be updated to support 2.1.24. Unfortunately it is no longer possible to override the Finder class - add-ons will need to use the new hooks in the browser screen to either rewrite the search text, or perform their own lookups instead.

Database changes (mainly of interest to add-on developers):

  • Anki now uses Rust's sqlite libraries instead of Python's.
  • The 'db' object on the collection retains most of the same API as before, minimizing the amount of immediate code changes that are required.
  • Some less-used features like named sqlite bindings ("where column = :foo") and custom sql functions are no longer supported.
  • The old database code remains in db.py, and add-ons can continue to use it for accessing their own databases.
  • The database is now behind a mutex, and can be safely accessed from a background thread.
  • Various screens like the database check have been updated to run on a background thread, so they no longer lock up the UI while they're running.
  • The database progress handler has been removed. Anki previous had sqlite call back into Python periodically during long-running DB operations so it could drain the UI queue, but this would vary in choppyness depending on the type of DB operation being performed, and it was the cause of some crashes in the past. Add-ons that perform long-running operations should instead use mw.taskman.run_in_background() or their own threading solution moving forward.

Other changes:

  • Anki will now wait for a media sync to complete or be aborted before closing the collection.
  • Fixed progress dialogs failing to appear in a timely manner.
  • Allow the type answer arrow to be styled (thanks to Evandro).
  • More hooks (thanks to Arthur).

A lot has changed in this beta, so some issues may have slipped through the cracks. If you run into any problems, please let me know.

Changes in 2.1.22beta2

Build 0ecc189a.

  • Fixed problems playing audio on Windows. Users using the gtts add-on will need to update it.
  • Clear the audio queue when moving between cards with autoplay off.
  • Fixed play icons not appearing in browser preview when autoplay off.
  • Restored grey styling of zeros in the deck list that got lost in the night mode changes.
  • Fixed an error shown when running in Spanish.
  • Fixed fields containing a filename with non-Latin text from being corrupted when editing HTML (thanks to Evandro).
  • Support for validating add-on config schemas (thanks to Arthur).
  • Fixed a change that broke some add-ons.
  • Fixed the wrong language being selected in the preferences screen.
  • Removed the 'too many decks' message in the deck list screen.
  • Possible fix for issue playing audio from flash drive.
  • Fixed Anki getting stuck when importing an invalid file.

Changes in 2.1.22beta1

Build 131d37dc.

Please use File>Export to back up your collection with media before trying this beta. While big problems are unlikely, a backup is always a good thing to have.

  • All the changes from 2.1.21beta1 to 3
  • The new timezone handling is now exposed as an option in the preferences screen. Please avoid using this if you use AnkiDroid: https://anki.tenderapp.com/kb/anki-ecosystem/timezone-handling-changes
  • Instead of automatically clearing the media trash after 7 days, the media check screen now displays how many files are in the trash folder, and allows you to either empty the trash, or restore it back into the media folder.
  • Fixed repetitive sync errors when long filenames in media folder and media check not run.
  • More code improvements (thanks to Alan)
  • More add-on hooks (thanks to Arthur and Glutanimate)
  • More Windows build improvements (thanks to Evandro)
  • Rotate log files.
  • Ignore http(s) links when checking media.
  • Fix a resource leak introduced in an earlier beta.
  • Fix inversion of iOS drawings in night mode.

Changes in 2.1.21beta4

Build f1734a47.

This has been released as 2.1.21 stable without the below changes - please see the 2.1.21 change notes.

Changes in 2.1.21beta3

Build 8960d12a.

  • Media syncing now logs to collection2.log in your profile folder. If you experience any problems with syncing, please attach your log in a support ticket and describe the problem (giving an example filename) so I can investigate.
  • Fix time spans over 12 months not being displayed in years.
  • Files deleted via the media check no longer trigger a rescan on next sync.
  • Fix the standard Mac build not displaying properly when dark mode active, and updated the docs to explain how you can force light mode in Anki while system dark mode is active.
  • Fix an oversight that was breaking some add-ons unnecessarily.
  • More translation work.
  • More type hints in the code (thanks to Alan).
  • Improvements for building on Windows (thanks to Evandro).
  • Support '/' separator in add-on web paths on Windows (thanks to BlueGreenMagick)
  • Fix tags that are in the wrong encoding as part of the DB check.
  • Display a more helpful warning when mpv/mplayer not installed.

Changes in 2.1.21beta2

Build 65ec9d19.

  • More work on the handling of translations, including tweaks to the way the answer buttons and the review history screen show intervals.
  • You can now export .apkg files with the V2 scheduler enabled.
  • Show next learning card due time, and count for today
  • Add-on hook improvements, thanks to Glutanimate and Arthur.
  • Hide the default deck in more cases (thanks to Arthur).
  • Some improvements to the build process (thanks to Evandro).
  • Fixed negative number in "add-on incompatible" message.
  • Fixed field contents added by old add-ons like Japanese Support not appearing.
  • Fixed card info screen not appearing.
  • Fixed an error message when using very small learning steps.
  • Add "New #" prefix to the due column for new cards.
  • Add back missing fcntl for add-ons.
  • Fix a race condition in the audio playing code.
  • Fixed {{Deck}} showing the filtered deck name instead of the original deck.
  • Fixed LaTeX in cloze deletions not being rendered by the media check.
  • Cards in night mode now default to dark grey instead of black.
  • Fix issue with macOS's dark mode in the alternate Mac build.
  • Don't allow scaling of the UI below 100%, as it doesn't work properly.
  • Fixed Anki not starting on Windows installs that were lacking TTS support.
  • Interrupt current audio even if autoplay is disabled.

Changes in 2.1.21beta1

Build 683b7983.

Media syncing improvements:

  • Media syncing now happens in the background, so you can continue using Anki while the media sync completes.
  • Aside from syncing at open and close, Anki will sync any media changes every 15-20 minutes.
  • You can click on the sync button while the spinner is active to monitor progress.
  • Long filenames and problematic characters should be handled smoothly now, instead of causing syncing errors.
  • Anki should no longer sometimes forget to download files when a media sync fails due to network errors.
  • When media files are added within Anki, Anki now marks them in the database immediately, which can make things faster for people with slower disks if they are not modifying the media folder externally.

Media check improvements:

  • The Check Media function now shows progress, and can be interrupted.
  • There is now a separate button to generate missing LaTeX.
  • If LaTeX fails to build, the problem card will be revealed in the browse screen.
  • When Anki finds files that are too long or would cause errors on some operating systems, it will automatically rename them and update your notes to point to the new filename.

Both media sync and the media check now place deleted files in a media.trash folder inside your profile, instead of placing the files in the system trash. Any files that have been sitting in that folder for a week or more will be deleted permanently when you next run a media check.

Other changes:

  • Updates to the translation infrastructure - please see https://anki.tenderapp.com/discussions/announcements/138-more-updates-to-ankis-translations
  • Improvements to the readability of the scheduling code (thanks to Arthur)
  • More hooks for add-on authors (thanks to Arthur & Aristotelis)

Changes in 2.1.20beta10

Build d0284f75.

For a full list of changes since 2.1.19, please see https://apps.ankiweb.net/docs/changes.html

  • Added the ability to export selected notes from the Browse screen, thanks to Arthur.
  • Don't filter em/strong tags when pasting.
  • Fix rendering of question/answer column in browse screen.
  • Clearer error when conditional replacement closing tags are switched.
  • Show whether template errors occurred on the front or back template.
  • Drawings done in AnkiMobile now appear correctly in night mode.
  • Work around HTML editor sometimes failing to appear on macOS.
  • Fix error when double-clicking the open profile button.
  • Constrain image width in editor to the field width.
  • Tweaks to replay audio button alignment/outline.

Changes in 2.1.20beta9

Build 1fbd925f.

  • Standard Windows and Linux builds updated to latest Qt.
  • More legible colours in the stats screens in night mode.

Changes in 2.1.20beta8

Build 5d91580c.

  • Emptying a filtered deck in the V2 scheduler no longer unsuspends suspended cards inside it.
  • Added an option in the preferences to not interrupt the currently playing audio when answering.
  • In night mode, the scrollbar style is now consistent in and out of webviews.
  • Lighter buttons and scrollbars in night mode.
  • Fix the white lines showing on macOS dark mode in the browse screen.
  • Fix some misaligned dialogs in night mode.
  • Fix building from a .tar.gz file.

Changes in 2.1.20beta7

Build 77912aa2/c70badcd/a4764e2a.

  • Foreground and background colours in text are now ignored when pasting in night mode.
  • On macOS, the system theme will be used when dark mode is active.
  • Qt has been downgraded to 5.13 on macOS to facilitate the above.
  • The audio replay buttons are smaller by default, and can be styled using fill and stroke on .replay-button svg [circle|path].
  • Night mode now also used .night_mode - if you notice any problems with this please let me know.
  • Disabled elastic scrolling in webviews to work around a Qt bug.
  • Progress dialogs no longer pop up immediately.
  • Minor night mode tweaks.

Changes in 2.1.20beta6

Build 23f13a31.

  • TTS tags now accept a 'speed=1.0' option to control voice speed.
  • Adding {{tts-voices:}} to your template will show all available voices.
  • Replay audio buttons now clickable in card layout and preview screens.
  • Fix autoplay of audio in the preview screen.
  • Fix Anki filtering spaces out of pasted sound files.
  • Fix add-ons being marked as incompatible when they weren't.
  • Handle AnkiWeb's new support for multiple add-on versions.

Changes in 2.1.20beta5

Build d428b3b4.

  • Fix issues loading mpv on Mac/Linux.
  • Replay buttons now appear in {{FrontSide}}.
  • Replay buttons are shown in card layout and preview screens, but are not yet clickable.
  • More changes to the card display code, which will break more add-ons I'm afraid.
  • The template hooks have been updated - please see https://github.com/ankitects/anki-addons/commits/master for required changes.
  • A few colour fixes for night mode.
  • A change from Arthur that fixes one issue that was breaking add-ons.
  • Invert LaTeX in night mode (thanks to zjosua).
  • Support specifying min/max versions in .ankiaddon files.

Changes in 2.1.20beta4

Build 98041059.

  • The night mode option now turns the interface dark as well. Please report any areas that don't display properly.
  • Fix mplayer window popping up on Windows.
  • Alter the way negated conditionals are handled in card generation.

Changes in 2.1.20beta3

Build 95b497cc.

  • You can now use {{tts en_US:Field}} on your card templates to use the text to speech support built into Windows and macOS, changing the language code as necessary.
  • You can specify the voices you'd prefer - the first available one will be used. Eg. {{tts ja_JP voices=Apple_Otoya,Microsoft_Haruka:Field}}. The voices you specify must match the language.
  • In addition to the built in TTS, there is an example add-on that uses gTTS available here: https://ankiweb.net/shared/info/391644525
  • To see all available voices, use the following in the debug console:
for p in aqt.sound.av_player.players:
  if v := getattr(p, 'get_available_voices', None): pp(v())
  • Audio buttons are now shown on the card, and can be turned off in the preferences. They will show for both regular audio and text to speech.
  • Added shortcut keys in the review screen to pause and jump forward/backward 5 seconds.
  • Anki now starts a new copy of mplayer for each audio file on Windows, which avoids the need to create temporary files. If you notice any problems related to this, please let me know.
  • Add-ons that modified the audio code may break with this update.
  • For add-on authors, some more examples using the new hook system are available on the following page, including ported versions of the clickable tags and additional card fields add-ons: https://github.com/ankitects/anki-addons/tree/master/demos

Changes in 2.1.20beta2

Build c9a46268.

  • Anki will now check for add-on updates once a day.
  • Disabled add-ons are now included in the check as well.
  • If a user attempts to install an add-on that doesn't support the version they're on, Anki will now prevent them from doing so.
  • The 'max supported version' that add-on authors can specify in AnkiWeb is now used to prevent users from downloading add-ons that won't work on their Anki version, and to disable add-ons when they update to a new version.
  • Fix incorrect delay being logged when Hard is used on the first learning step in the V2 scheduler.
  • The editor no longer modifies percent-escaped text outside of image tags.
  • Fix an extra linebreak being left in a field when an image is attached to an empty field.

Changes in 2.1.20beta1

Build fa564772.

  • Changes to the way cards are rendered that will break some add-ons - please see here
  • A new hook system for add-ons - please see here
  • Tweaks to the 'tag updated notes' feature (thanks to Erez)
  • Fix cards being sorted in wrong order when added after the note was created (thanks to Arthur)

Changes in 2.1.17beta8

Build f4fb7319.

  • Minimum Python version is now 3.7.
  • Updated the way templates are rendered. If you notice any problems or messages printed to the console, please post on the support site.
  • Double-clicking on .ankiaddon files should now work on Mac and Windows as well.
  • Bug fix for tag updated notes feature (thanks to Erez).

Changes in 2.1.17beta7

Build a4d38d65.

  • Added an option to tag updated notes when importing (thanks to Erez).
  • Install add-ons by double clicking on their files (thanks to Glutanimate). Currently only on Linux; support for Windows/Mac will be added soon.
  • The alternate Windows build now uses Python 3.8/Qt 5.12.
  • The alternate Mac build now uses Python 3.8.
  • The alternate Linux build has been dropped.

A bunch of behind-the-scenes changes to the code in this release. If you notice any regressions, please post on the beta testing thread.

Changes in 2.1.17beta6

Build 4cead7ef.

  • Added a beta label to the experimental scheduler, as a timezone corner case needs to be addressed before general release.
  • Fixed sidebar background on Windows 10.
  • Fixed building from source on 32 bit Linux.
  • Fixed alternate template syntax not being recognized.
  • Automatically remove ':' from field names when opening the card templates screen, as it conflicts with the template syntax.

Changes in 2.1.17beta5

Build 518cc442.

  • Changing large note types is significantly faster.
  • Fix a bug that was preventing new profiles from being created.
  • Fix a bug in the handling of MathJax+Cloze (thanks to Michal).
  • Fix missing border when the user has modified the interface scale.

Changes in 2.1.17beta4

Build bfcc8379.

The standard Mac and Linux builds have now been updated to the new toolkit as well - please report any regressions.

Changes in 2.1.17beta3

Build da942617.

Another Windows-only build.

  • Improved the performance of the browse screen's sidebar.
  • If you use any add-ons that alter the sidebar, you will need to disable them prior to upgrading, as add-on authors will need to modify their code to work with the new implementation.
  • Added an option in the preferences screen to adjust the UI size.
  • Fixed a regression in the way duplicate deck names were handled.

Changes in 2.1.17beta2

Build ff6b58c2.

A Windows-only build, built with the latest toolkit version. Please report any improvements or regressions.

If you've previously customized the DPI/Scaling as described on https://apps.ankiweb.net/docs/knownissues21.html#text-size, please try running the beta without the customizations and report how you go.

In beta 2:

  • Alter the way DPI scaling is handled.
  • Remove help button from some Window titles.
  • Alter a change made in .16 that could break some editor add-ons.

Changes in 2.1.17beta1

Build 81bdd860.

A Windows-only build, built with the latest toolkit version. Please report any improvements or regressions.

Changes in 2.1.16beta4

Build 4bc33e2f.

  • Syncing should work properly now when you change timezones without visiting AnkiWeb.
  • Ensure learning cards in filtered decks with 'order due' show in template order.

Changes in 2.1.16beta3

Build bb62a3c1.

  • Remove the 'experimental' label from the new scheduler.
  • New installs default to the new scheduler.
  • You can now import and export decks with scheduling enabled in the new scheduler.
  • Fix bold/italics/underline pasting that broke in the last beta.
  • Hide empty Default deck in deck picker (thanks to Arthur).
  • Add an extra day to the interval when using Easy on a relearning card.
  • Preserve surrounding styling when making cloze deletions.

Changes in 2.1.16beta2

Build bceb4feb.

  • Pasting now includes formatting by default.
  • Preserve foreground/background color when pasting.
  • Preserve bold/italic/underline when pasting from Google Docs.
  • When pasting with the shift key, bold/italics/underline is also stripped.
  • Draw preview screen more quickly.
  • Fix race condition in preview screen (thanks to Håkon).
  • Use --exact with dvsvgm to prevent truncated subscript/superscript in LaTeX.
  • Various small fixes.

Thanks to Arthur for contributing a number of fixes:

  • Newly created cards could be given the wrong due number.
  • Sticky fields were ignored when closing the add card window.
  • Adding a note type forced a full sync.
  • Remove shortcut keys from translations.
  • Documentation changes for translators.
  • Case not being preserved when changing a deck's parent.
  • Hide default deck in other screens when empty.

Changes in 2.1.16beta1

Build 2e7b7560.

This build updates the translation handling as part of the move to Crowdin. Some languages were missing some plural forms in the past - in order to prevent errors, the missing forms have been copied from the highest previous plural.

If you'd like to contribute to the translation effort, please see https://apps.ankiweb.net/docs/manual.html#translating-anki

Also:

  • Fix qtwebengineprocesses not being cleaned up when stats window closed.
  • Allow smaller window when editing current card.
  • Support pasting multiple URLs at once.
  • Add ability to force software rendering on old Macs (thanks to Mike)
  • A fix for case insensitive field name handling in find&replace (thanks to lovac42)
  • Fix non-integer intervals being imported from Mnemosyne (thanks to Blauelf)
  • Clear undo queue when changing scheduler (thanks to lovac42)
  • Default to not closing add window (thanks to Aidan)
  • Sort new cards separately when sorting by ease (thanks to Arthur)
  • Fix a bug in the V2 scheduler.
  • Properly handle backslashes in the replacement section of Find&Replace.

Changes in 2.1.15beta1

Build 442df9d6.

This is a candidate for the next stable release, so if you encounter any issues, please let me know as soon as you can.

  • The V2 scheduler now fully randomizes review cards due on a given day.
  • Fix add-ons errors on Windows when profile path was short.
  • Fix flag changes in Browse screen not syncing.
  • Cleanup recording wav file when recording canceled.
  • Fix the window icon on Wayland (thanks to Wilco).
  • Add a progress bar to media deletion.
  • Other minor changes.