Anki's shared backend and web components, and the Qt frontend
OTHER License
If updating from 2.1.57 or earlier, please see the important note in the 2.1.58 change notes.
Published by dae over 1 year ago
This release has been yanked due to a packaging error. Please see 2.1.60 instead.
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:
More UI improvements/fixes thanks to Matthias, including:
Syncing has also been updated:
Other changes:
introduced:x
not working correctly when negated (thanks to Rumo).Dev related:
If updating from Anki 2.1.49 or below, please see the 2.1.50 change notes first.
New features/improvements:
Fixes:
For devs:
If updating from Anki 2.1.49 or below, please see the 2.1.50 change notes first.
Lots of UI improvements, thanks to Matthias:
mw.pm.set_force_custom_styles(True)
.V3 scheduler improvements, thanks to Rumo:
Import/export improvements, thanks to Rumo:
Other improvements:
introduced:x
now ignores manual reschedulings (thanks to Rumo).Fixes:
If updating from Anki 2.1.49 or below, please see the 2.1.50 change notes first.
A new CSV importer & exporter, thanks to Rumo:
Update to Qt 6.3.1:
Fixes & improvements:
If updating from Anki 2.1.49 or below, please see the 2.1.50 change notes first.
<br>
tags in MathJax are now handled correctly (thanks to Henrik).If updating from Anki 2.1.49 or below, please see the 2.1.50 change notes first.
<
and >
symbols in MathJax (thanks to Henrik).field_filter
hook can now check if it's running for the question or answer side (thanks to Abdo).av_player_will_play_tags
hook (thanks to Abdo).This build also includes a new implementation of apkg importing and exporting, thanks to Rumo. Some advantages:
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.
To revert to the old behaviour, replace True with False.
Things to note:
File>Create Backup
before trying it out.Published by dae over 2 years ago
If updating from Anki 2.1.49 or below, please see the 2.1.50 change notes first.
Changes:
Fixes:
<b>
and <i>
formatting tags, instead of <strong>
and <em>
.Windows:
macOS:
Linux:
sudo apt install zstd
tar xaf anki-2.1.50-linux-qt6.tar.zstd
Please see the notes for your platform:
The V1 scheduler is no longer supported. If you have not yet updated to V2 or
V3, you will be prompted to update when you attempt to review cards in 2.1.50.
This release includes a number of improvements to the V3 scheduler, mostly
thanks to Rumo:
Most of these changes are thanks to Henrik.
[anki:tts lang=en_US]Here is {{Field1}} and {{Field2}}[/anki:tts]
(thanks to Rumo). There are no plans to deprecate theparent
tag, while not matchingparent::child
: tag:re:^parent$
.target=_blank
work (thanks to Danish).<div>
being left behind when deleting field contents (thanks to Hikaru).note:
and card:
searches no longer do a substring match (thanks to Rumo).:/icons/foo.jpg
should becomeicons:foo.jpg
.pip install 'aqt[qt6]'
mw.progress.timer()
should now be passed a parent
argument, as themw
prevents the timers from being freed after theymw
in as the parent.Changes to the v3 scheduler:
Other changes:
For add-on developers:
Undo handling:
Scheduling changes:
Browser changes, mostly thanks to Rumo:
Editor changes, mostly thanks to Henrik:
State handling:
The deck options screen has been reimplemented:
Other features:
[...]
in cloze deletions is now read as "blank" by TTS (thanks to Rumo).Fixes:
A big thank you to everyone who contributed, including people who contributed translations,
and those who helped test out the beta releases and provided feedback.
Add-on authors, there are some notes on porting add-ons to 2.1.45 available.
Browser improvements:
Editing improvements:
<br>
tags will now be used by default instead of the previous <div>
Search improvements:
one two
becomes"one" AND "two"
) (thanks to Rumo).Graph improvements:
Scheduler improvements:
Reworked the Reschedule tool:
Other changes:
Fixes:
For developers: