Skip to content

Releases: dahong67/CacheVariables.jl

v0.2.2

28 Jan 18:02
a9f7070

Choose a tag to compare

CacheVariables v0.2.2

Diff since v0.2.1

Merged pull requests:

  • Add cached function returning output and metadata (#32) (@Copilot)
  • Add verbose flag (#33) (@dahong67)
  • Document verbose flag and add test coverage (#34) (@Copilot)

Closed issues:

  • Create new cached function (#29)

v0.2.1

19 Jan 16:04

Choose a tag to compare

CacheVariables v0.2.1

Diff since v0.2.0

Merged pull requests:

  • Add examples for caching stdout/stderr and log output (#30) (@Copilot)
  • Fix BSON load error by saving timestamp as string (#31) (@dahong67)

Closed issues:

  • Add example of caching printing / logs (#21)

v0.2.0

17 Jan 10:36
4d8de84

Choose a tag to compare

CacheVariables v0.2.0

Diff since v0.1.5

This was a significant reworking and refactoring of the code to (hopefully) set the stage for a 1.0 release.
The internals changed quite a bit (@cache now calls cache internally) and the interface was cleaned up.
The files produced by this version are not compatible with v0.1.5.

Breaking changes

  • cache and @cache have been heavily reworked (#20)
    • cache now stores metadata like cachemeta did before (cachemeta has been removed)
    • @cache now internally calls cache instead of "duplicating" the functionality
    • @cache now only supports begin...end blocks
    • @cache now accepts keyword arguments at the end instead of positional arguments
    • @cache now uses ExpressionExplorer to detect variables that have been assigned, which may change what gets detected (hopefully for the better!)
    • Julia 1.10 is now the minimum compatible version
    • the way data is saved to the file has been simplified to reduce nesting
  • cache and @cache no longer accept an argument for the BSON module (#28)

New features

  • cache and @cache now support JLD2 files in addition to BSON files (#26)

Other improvements

  • the tests are now implemented using the VS Code Test Item Framework (#25)
  • an example illustrating figure caching has been added to the README (#27)

Merged pull requests:

  • Unify macro and function interfaces with metadata by default (#20) (@Copilot)
  • Convert tests to @testitem format with TestItemRunner.jl (#25) (@Copilot)
  • Add JLD2 file format support (#26) (@Copilot)
  • Add example of caching CairoMakie (#27) (@dahong67)
  • Set compat for BSON and drop bson_mod (#28) (@dahong67)

Closed issues:

  • Add support for JLD2 (#12)
  • Unify the macro and function interfaces (#18)
  • Add example of caching CairoMakie HTML output (#22)

v0.1.5

13 Jan 20:44

Choose a tag to compare

CacheVariables v0.1.5

Diff since v0.1.4

Merged pull requests:

  • Add cachemeta function with execution metadata tracking (#14) (@Copilot)
  • Add method for path === nothing (#16) (@dahong67)
  • Add example sweep patterns to README (#17) (@dahong67)

Closed issues:

  • Add version that saves metadata? (#10)
  • Add cachemap function (#13)

v0.1.4

05 Mar 22:04

Choose a tag to compare

CacheVariables v0.1.4

Diff since v0.1.3

Merged pull requests:

v0.1.3

03 Jan 02:38

Choose a tag to compare

CacheVariables v0.1.3

Diff since v0.1.2

Closed issues:

  • Register 0.1.2 (#7)

Merged pull requests:

v0.1.2

01 Jan 11:10

Choose a tag to compare

CacheVariables v0.1.2

Diff since v0.1.1

Fixed:

  • in-module loading (for Pluto, etc.)
  • mutable field issue (for Julia 1.7.1)

Merged pull requests:

v0.1.1

13 Jul 22:02

Choose a tag to compare

CacheVariables v0.1.1

Diff since v0.1.0

Merged pull requests:

v0.1.0

12 Jul 09:22
v0.1.0
f320a4b

Choose a tag to compare

First release!