Skip to content

0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 16:16
40193d0

🎉 specsolve is officially on PyPI!

pip install specsolve

specsolve 0.1.0 requires mathspec 0.2.0 and uses its words. A spec is the
problem a file states, with no data. A model is a spec with data attached,
which build returns as a Model
(glossary).
The messages and the docs use the two words in these senses.

Since 0.1.0rc1, this release breaks three things:

  • An archive holds its spec as spec.yaml, not model.yaml. An archive that
    0.1.0rc1 wrote is refused with a LayoutError. To read one, rename its
    model.yaml member to spec.yaml.
  • specsolve requires mathspec 0.2.0. There, the first parameter of to_spec,
    advice and the typesetting functions is spec, not model, and the module
    mathspec.model is mathspec.spec. A call that passes model= by keyword
    fails. A positional call works as before.
  • Messages say "spec" where they said "model" for the file. A test that
    matches the old text fails.

The pull requests since 0.1.0rc1:

  • docs: the site follows the reader's light or dark setting in its own violet colour, with code, diagrams and footnotes readable in both (#1767)
  • feat!: specsolve requires mathspec 0.2.0 and uses its words spec and model, so an archive holds its spec as spec.yaml (#1768)
  • docs: every link to the language's documentation points at mathspec.readthedocs.io (#1764)
  • fix: the PyPI page links the docs, issues and changelog, and a stale saved answer says the layout moves before 1.0 (#1763)