Anki21Database#find_note_by now can take the sort field value of a note as argument.
Anki21Database#find_notes_by_exact_text_match is a new method that returns an array of notes that have in any field text matching the argument.
mod column (last modified time) to make it easier to import an updated package into Anki.
AnkiPackage.open have been removed and replaced with
AnkiPackage.update is different from
AnkiPackage.open in that it does not create a new Anki package with a timestamp. It effectively updates the original Anki package file as long as no error is thrown.
Anki21Database is yielded to the block of the above methods instead of
Collection have been reorganized to
guid attribute of notes ic computed in a different way that allows a larger number of possible values.
globally_unique_id is now a module method rather than an included instance method.
globally_unique_id has been moved to
NoteGuidHelper and included into note.
guid attribute also now has a public setter.
Deck.new was saving the deck to the
collection.anki21 database. Now it will only instantiate it and
#save must be called to save it.
Helper modules moved into the
Helpers module namespace.
AnkiPackage::new yields the collection object to the block instead of the Anki package object.
AnkiPackage::open has been developed to a point that it is useable.
AnkiPackage#execute was removed.
AnkiPackage#prepare was added. Any SQL statements executed directly against
collection.anki21 must now be prepared statements.
Note#save now updates a note (and its corresponding cards) if it was already in the
Note::new does not accept a
cloze argument anymore; this attribute can be changed after instantiation with the
Deck has a
deck_options_group attribute instead of
#inspect added to
creation_timestamp attributes had these renamed to
vers were introduced and then fixed.
vers so this was changed too.
AnkiPackage#zip_and_close renamed to
.apkg files that import into Anki.
collection.anki21 database before the zip file is created.