Skip to content

Releases: jamescostian/flashcardz

v1.0.1

08 Aug 03:49
v1.0.1
150ed61
Compare
Choose a tag to compare

Added

  • "Features" section to README
  • Test against Node v8-v10 (in addition to already testing v6 and v7)

Changed

  • Update dependencies
  • Minor improvements to Docs

v1.0.0

23 Dec 22:27
v1.0.0
14eb49a
Compare
Choose a tag to compare

Added

  • Support for Node v6 and beyond

Changed

  • Use Jest instead of tape + NYC

Removed

  • Support for versions of Node before v6
  • f.copy - the implementation was poor, and in any case, Object.assign({}, card) is available in this day and age.

v0.2.3

21 Dec 23:40
v0.2.3
bc20aac
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release

Changed

  • Updated deps, use NYC instead of Istanbul
  • Use stream-string instead of the repeated, manual implementations of it throughout the files in bin

v0.2.2

24 May 01:10
v0.2.2
1973c79
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release

Changed

  • Updated deps

v0.2.1

08 Oct 13:43
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Added

  • Code of Conduct
  • Support for Node 4.x.x

Changed

  • Switch from special JSHint rules to standard
  • Make project files more in line with those from module-init
  • Switch from MIT to ISC
  • CLI quizzer now indents everything uniformly
  • Misc dep updates

v0.2.0

21 Aug 23:28
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Added

  • Support for Node v0.12
  • f.pick.smart() - a new way to intelligently pick a card
  • require('flashcardz/cli-quizzer') - now Flashcardz comes with an independent quizzer for use on a terminal
  • f.copy() - get a copy of an array
  • f.rightWrong() - how many times has a card/stack been gotten right/wrong?
  • f.addHistoryEvent() - add an event to the history of a card
  • f.dedupe() - remove duplicate cards from a stack
  • f.convert() now also accepts types "objecty", "nice", and "single" - more info here
  • More tests - it's Flashcardz's goal to always have 100% code coverage
  • flash combine - for combining multiple Flashcardz files
  • flash dedupe - remove duplicate terms
  • flash reset - reset cards by removing their history

Changed

  • require('flashcardz')() is no longer needed - just do require('flashcardz')
  • No more stack names and internal state - pass around the whole stacks
  • f.quiz() takes a whole stack and returns a promise that resolves to the new stack after the quiz ends
  • f.easiest(), f.hardest(), f.gotWrong(), and f.gotRight() no longer accept stack names, only stack arrays
  • f.idByFront() and f.idsByFront() take stack arrays instead of stack names
  • f.import() became f.convert(), which returns a stack-based representation of whatever data it gets
  • Made most binary files accept data from STDIN
  • Update README.md to match API and CLI changes
  • Update js-api.md and cli.md to match API and CLI changes
  • flash import removed in favor of flash convert
  • New flashcardz format - instead of having a right and wrong key, a history key is used instead. The history is an array of objects, where each object represents a time that the user attempted to respond to seeing a flashcard. Each event has a time and a boolean called recalled - if the user got it right, recalled is set to true, otherwise it is false
  • More web-friendly! You can require('flashcardz') with Browserify and it'll work just fine, and it won't use any dependencies

Removed

  • Support for Node v0.10 and v0.11 - use v0.12 or io.js instead
  • Everything that touched the filesystem or was OOP-like
  • extend-config
  • f.insertStack()
  • f.insertCard()
  • f.getStack()
  • f.setCard()
  • f.setByID()
  • f.setByFront()
  • f.save()
  • f.loadStacks()
  • f.loadStack()
  • f.getList()
  • f.refresh()
  • f.config
  • f.stacks
  • flash ls
  • flash cat
  • flash write
  • flash append
  • flash rm
  • flash mv
  • flash cp

v0.1.0

14 Feb 19:05
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

This was a preview release