Releases: AnswerDotAI/nbdev
Releases Β· AnswerDotAI/nbdev
v2.2.7
New Features
- Add
printitarg tonbdev_filterso it can be called withfnameand still print to stdout (#931), thanks to @seeM - Run
nbdev_readmeinnbdev_new(#919), thanks to @seeM - In
nbdev_prepare()auto render README if needed (#913) - Filter keys stored in modidx settings (#903)
- Regression: reintroduce
[source]link (#692)
Bugs Squashed
- Deploy Action fails with
ModuleNotFoundError: No module named 'https://github'(#936) - Correct cell index in
nbdev_update(#934), thanks to @hamelsmu - Handle repo names with dashes and correct index page rendering with file attachments (#930), thanks to @hamelsmu
IPython.display.Image(embed=True)results in incorrect image reference in GitHub Pages (#924)nbdev_previewnot starting if there is a folder with no notebook in it (#922)- Fix images (#918), thanks to @seeM
nbdev_updatecreates a new cell, instead of updating the original code (#775)
v2.2.6
v2.2.0
Breaking Changes
- Combine preprocs and postprocs into new
Processorclass (#874) - Rename
nbdev.readtonbdev.config(#879) - Use H3 for functions and properties, instead of H4 (#875)
- Remove
nbflagsdirective (#871) - Deprecate
config_keyin favor ofget_config(#856), thanks to @seeM
New Features
- Add simple qmd generation functions in
nbdev.qmd(#893) - Add
FrontmatterProc(#890) - Improvements to
nbdev_newandnbdev_create_config(#878), thanks to @seeMnbdev_create_configinfers settings from git/GitHub, prompts for missing settings, and renders the settings file with commented sectionsnbdev_newusesnbdev_create_configinstead of a file provided bynbdev-template, which means it'll benefit from future improvements tonbdev_create_configas well as always using latest defaults
- Add frontmatter bullet point processor (#873)
- Allow specifying port for preview (#872), thanks to @dleen
nbdev_newrenders notebooks with information from your config file (#866), thanks to @seeM- Improve config documentation in
readmodule (#864), thanks to @seeM - Install quarto without root access (#860)
- Explain more detail during quarto installation process (#859)
- Automatically maintain
__version__in__init__.py(#854) - Prettify output for
nbdev_test(#849), thanks to @deven367 - Ignore .ipynb_checkpoints folder in module dir (#848), thanks to @dleen
- Escape Footnotes from Docments Table (#847), thanks to @hamelsmu
- Include filename in
nbdev_exportwarning when nbdev1 syntax is used (#838), thanks to @seeM - Show title if nbdev_filter errors (#828), thanks to @hamelsmu
- Added "topics" to match GitHub's terminology (#817), thanks to @tylere
- Accelerate
quarto preview(#748) - Throw a warning when imports and code are mixed in a cell (#714)
- Make conda release work for anyone (#653)
Bugs Squashed
_all_works for strings but not objects in py3.7 (#870)show_doctitle_levelargument has no effect (#869)show_docsometimes does not show wrapped functions correctly (#863)show_doctreats functions decorated withlru_cacheas classes (#862), thanks to @seeM- Fix
show_docsignature whitespace removal (#855), thanks to @seeM nbdev_newdoesn't infer anything if no gitconfig (#846)show_docparemeter default may render as footnote (#796)- Conda description is empty (#745)
v2.1.6
v2.1.4
New Features
- Add
custom_quarto_ymlsetting (#842), thanks to @benoit-cty - Display multiline docstrings (#841)
- Include filename in
nbdev_exportwarning when nbdev1 syntax is used (#835) - Streamline
nbdev_new: outputs are now in color, you can pass--lib_name, and it callsnbdev_export(#820), thanks to @seeM - A command for uploading to the test pypi server (#818), thanks to @tourdownunder
- Include notebook title in
nbdev_previewerror message (#802) - Migrate collapsible code cell directives (#783), thanks to @hamelsmu
- Simplify
jupyter_hooksconfiguration (#780), thanks to @seeM - Support
nbdev_install_hooksin non-nbdev repos (#779), thanks to @seeM - Allow users to provide user-level settings in ~/.config/nbdev/settings.ini (#778), thanks to @seeM
- Support
nbdev_install_hooksin non-nbdev repos (#777) - Port
doc()from nbdev1 (#772) - Make
show_docfor function parameter defaults concise and deterministic (#771) - Clean
idfrom textreproutputs to further avoid git merge conflicts (#749) - Add repo root to sys path on exec (#735)
- Use frontmatter
evalandshowdocfor controlling notebook execution (#734)
Bugs Squashed
- #|exports directive does not show source code in the docs (#822)
- nbdev commands fail when
doc_pathcontains whitespace (#813), thanks to @mone27 show_dochtml renderer is incorrectly formatted (#808)show_doccell output is incorrectly styled (#807)- links aren't rendered as code (#795), thanks to @seeM
clean_idscorrupts string outputs (#794), thanks to @seeM- quarto frontmatter is removed (#789)
nbdev_mergefails ongit stash popconflict (#787), thanks to @seeM- Hooks search Jupyter start directory instead of notebook directory for settings file (#784), thanks to @dleen
- Allow for dash in Quarto directives (#782), thanks to @hamelsmu
- Fix directive migration when there is no test flag (#781), thanks to @hamelsmu
nbdev_preparethrows BrokenProcessPool error on MacOS (#731)- settings.ini not inferred by
nbdev_newon newly cloned repo on MacOS (#710)
v2.1.2
New Features
- use global defaults instead of respecifying each time (#770), thanks to @seeM
get_configworks without a settings file (#768), thanks to @seeM- add site url (#767), thanks to @hamelsmu
- add
show_srcto display rich source code (#763), thanks to @seeM - add support for
#|exports(#762) nbdev_mergeprints info likegit merge(#753)- helpers to convert fp front matter to quarto front matter (#750), thanks to @hamelsmu
- Streamline default settings (#747)
- Config keys (and their defaults) should all be documented in one place
- add
useroption tojupyter_hookssetting (#738), thanks to @seeM - Add appropriate
output-fileto existing frontmatter (#728)
Bugs Squashed
nbdev_preparesometimes throws BrokenProcessPool error on MacOS (#731)- Incorrect relative import from package root inside nested module (#773)
- Jupyter hooks break in environments without
nbdevinstalled (#760) nbdev_fixbreaks with emptyourspatch (#752)- fix
nbdev_mergeduring rebase; fixnbdev_fixnobackupdefault (#737), thanks to @seeM - non-notebooks do not have nbformat field (#732), thanks to @dleen
v2.1.1
v2.1.0
v2.0.7
New Features
- git merge hooks: automatically resolve conflicts and render markers as separate cells (#704), thanks to @seeM
- Allow clean to keep some metadata keys (#672), thanks to @dleen
- enable mac terminal install instead of visual installer (#705), thanks to @hamelsmu
- Conditional content for markdown vs HTML for README (#694), thanks to @hamelsmu
- Export a single module (#652)
Bugs Squashed
- Re-enable Mac CI #425)