Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbformat v4 #6045

Merged
merged 47 commits into from Nov 3, 2014
Merged

nbformat v4 #6045

merged 47 commits into from Nov 3, 2014

Commits on Nov 1, 2014

  1. copy nbformat.v3 to v4

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    bf02094 View commit details
    Browse the repository at this point in the history
  2. update v4 schema

    use jsonschema refs, no need for jsonpointer
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    42ebfb0 View commit details
    Browse the repository at this point in the history
  3. update v4 schema mime-type expression

    fixes inappropriate JSON match
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    a99b507 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    516e7e7 View commit details
    Browse the repository at this point in the history
  5. raise ValidationError in v4 validate

    also only load the schema once and store it in a module global
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    14ea49e View commit details
    Browse the repository at this point in the history
  6. first complete pass on v4

    tests passing, notebooks validating
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    efb0afb View commit details
    Browse the repository at this point in the history
  7. Use Draft4 JSON Schema for v4

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    a33db51 View commit details
    Browse the repository at this point in the history
  8. no longer need separate v4.compose

    put it back in nbbase, and work around circular import another way
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    6dc1fae View commit details
    Browse the repository at this point in the history
  9. mv stream.stream > stream.name in nbformat.v4

    matches message spec
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    729413e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8ee671a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ff40244 View commit details
    Browse the repository at this point in the history
  12. update nbformat.current to v4

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    bd730f7 View commit details
    Browse the repository at this point in the history
  13. update nbconvert to nbformat 4

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    ba8461e View commit details
    Browse the repository at this point in the history
  14. strip transient values to/from nb files

    orig_nbformat isn’t part of the file format
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    395fdae View commit details
    Browse the repository at this point in the history
  15. add nbformat.output_from_msg

    for creating the appropriate NotebookNode from
    an output message on the IOPub channel.
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    b3e4966 View commit details
    Browse the repository at this point in the history
  16. preserve orig_nbformat when converting 3 to 4

    preserves orig_nbformat = 2 in 2->3->4
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    a889460 View commit details
    Browse the repository at this point in the history
  17. update html/js to nbformat 4

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    3954d29 View commit details
    Browse the repository at this point in the history
  18. update IPython.core to nbformat 4

    affects `%run` and `%notebook`
    
    removes `%notebook --format` conversion, that's what nbconvert is for.
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    80dee97 View commit details
    Browse the repository at this point in the history
  19. add nbformat spec to sphinx

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    7fbb095 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1e136a8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9563f89 View commit details
    Browse the repository at this point in the history
  22. move mime-bundle data to rich output.data

    from top-level output keys
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    135227a View commit details
    Browse the repository at this point in the history
  23. only rich display outputs have metadata

    even affects v3, which had some bugs that didn't describe actual js behavior
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    be819ba View commit details
    Browse the repository at this point in the history
  24. semicolons, you guys!

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    6a177aa View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    bbf8ee4 View commit details
    Browse the repository at this point in the history
  26. update nbformat spec in sphinx

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    acdb48b View commit details
    Browse the repository at this point in the history
  27. warn on invalid notebooks before/after conversion

    was raising on downgrade, warning on upgrade
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    a699b00 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    4e2e1fe View commit details
    Browse the repository at this point in the history
  29. remove heading cells in v4

    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    2d59045 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1c96eb8 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    6a5e66b View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    4633a8f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0dec22f View commit details
    Browse the repository at this point in the history
  34. use from_dict for dict->notebook

    not confusing to_notebook_json
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    9f917e2 View commit details
    Browse the repository at this point in the history
  35. address review from takluyver

    - various typos
    - discuss multi-line strings in nbformat doc
    - testing cleanup
    - py3compat simplification
    - don't use setdefault when composing notebook nodes
    - mime-type fix in svg2pdf
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    2377691 View commit details
    Browse the repository at this point in the history
  36. Add top-level IPython.nbformat API

    to avoid method:module conflict, renamed convert->converter
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    cd1bfb0 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    d22b117 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    9867311 View commit details
    Browse the repository at this point in the history
  39. move NotebookNode to top-level

    should common to all nbformats
    
    (I didn't change the old nbformats to  use it, just in case)
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    776d1fa View commit details
    Browse the repository at this point in the history
  40. don't use nbformat.current in IPython.html

    use top-level nbformat.read/write, v4 directly for compose
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    973d734 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    f3b4b76 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    7691800 View commit details
    Browse the repository at this point in the history
  43. fix gender on Jupyter

    My French is weak.
    minrk committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    9a1939d View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    aec6686 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    418df74 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    380a2e9 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    0975bf8 View commit details
    Browse the repository at this point in the history