Releases: AnswerDotAI/nbdev
Releases Β· AnswerDotAI/nbdev
v2.3.11
New Features
- add agplv3 license to project options (#1268), thanks to @joel-lbth
- add 0 - Pre-planning status to project options (#1262), thanks to @ddobrinskiy
- add conda installation docs to end-to-end tutorial (#1215), thanks to @restlessronin
Bugs Squashed
- Fix
nbdev_condaerror when there are prior release tarballs (#1280), thanks to @restlessronin - delete build dir before pypi upload (#1277), thanks to @restlessronin
- copy contents of
_extensionsfolder from nbs (#1266), thanks to @restlessronin - Fix
nbdev_updatewhenlib_nameandlib_pathare not the same (#1254), thanks to @BirkhoffG - Make
nbdev_create_configwrite theblack_formattingsetting (#1235), thanks to @dmose - fix order of categories for migration (#1221), thanks to @hamelsmu
- make anaconda description links consistent with pypi (#1214), thanks to @restlessronin
- .get instead of acessing attr (#1023), thanks to @hamelsmu
v2.3.9
New Features
- utility that creates a
requirements.txtfile fromsettings.ini(#1202), thanks to @hamelsmu - user-friendly error if py file has
# %%comments with unexpected format (#1211), thanks to @seeM - add parameter for name to
nb_export(#1204), thanks to @hamelsmu - ensure newline at end of
_modidx.py(#1186)
Bugs Squashed
- end
sidebar.ymlwith newline (#1212), thanks to @seeM - fix: incorrect regex pattern for setting
output-file(#1210), thanks to @seeM - ensure newline at end of
_modidx.py(#1209), thanks to @seeM - fix:
nbdev_install_quartomay install and remove unrelated packages (#1208), thanks to @seeM - fix: key error if widgets is missing
state(#1207), thanks to @seeM nbdev_install_quartomay install and remove unrelated packages (#1182)- Key error if widgets is missing
state(#1167)
v2.3.8
New Features
- better error messages for
nbdev_migrate(#1177) - experimental: Users can provide extra processors via the
procskey insettings.ini(#1157), thanks to @seeM - enable Documentation Only Sites With
nbdev( + tutorial ) (#1121), thanks to @hamelsmu - support non-library projects (#1119)
- throw a warning when imports and code are mixed in a cell (#714)
Bugs Squashed
- fix duplicated sections in the sidebar (#1165), thanks to @seeM
- setting
#| echoin a cell withshow_doccauses a Quarto error (#1163) - fix copying of index assets (#1143), thanks to @hamelsmu
- images in index.ipynb causing deployments issues (#1140)
- clean takes forever on notebooks with large output (#1132)
nbdev_updateincludes folders starting with_or.(e.g..ipynb_checkpoints) (#1130), thanks to @seeMnbdev_newdefaults bool parameters toFalse(e.g.put_version_in_init) (#1129), thanks to @seeMblack_formattingsetting is ignored (#1122), thanks to @jmoraleznbdev_readme()fails on the second run for the notebook with support files (e.g. Fig image). (#1106)nbdev_newfails withAttributeError: path_(#1063)- fix #1041 (#1049), thanks to @seeM
v2.3.7
New Features
- Set recursive
Trueby default (#1117), thanks to @seeM exec_docsupports re-rendering widgets (#1113), thanks to @seeM- If users update widgets with the
exec_docdirective, the widget "view" is updated (in the cell output), but the old widget "state" is used (in notebook metadata). This refreshes widget state usingipywidgets.Widget.get_manager_state.
- If users update widgets with the
nbdev_newpins on major+minor version ofnbdev-template(#1091)nbdev_proc_nbscompletes all steps to build_procfor publishing (#1086)nbdev_newdefaultsnbs_pathsetting to'nbs'(#1083)- Since all website files (quarto config, css, images, etc) are in
nbs_path, the current defaultnbs_path='.'can clutter the root folder.
- Since all website files (quarto config, css, images, etc) are in
nbdev_newqueriesbranchfrom GitHub (#1080)
Bugs Squashed
- fix exporting
patch_towhich is decorated withstaticmethod(#1100), thanks to @seeM show_docerrors if a dependency in thenbdevgroup has a sub-dependency that isn't installed (#1097)- Running
nbdev_migratewhile upgrading removes nbdev2 compatible directives (#1089) - respect
#|hideand#|include: falsefor showdoc (#1079), thanks to @hamelsmu - Export class to library but hide from documentation (#1076)
nbdev_cleanremoves widget state (#1069)- If widget state is present, it means the user had intentionally changed settings in their notebook editor.
v2.3.4
v2.3.3
v2.3.2
v2.3.0
Breaking Changes
_quarto.ymlno longer replaced with automatically generated version- You can now customise your
_quarto.ymlfile and it will not be overridden by nbdev - This means that
custom_hostandcustom_portinsettings.iniare no longer supported -- use the standard quarto configuration instead
- You can now customise your
- Parallel ipynb filter (#961)
ipynb-filtersin_quarto.ymlis no longer needed or recommended. Instead, nbdev preprocesses your notebooks in parallel into a folder called_procbefore calling quarto- The new processing system generally results in speedups of around 10x compared to the previous approach
- Deprecate
config_keyin favor ofget_config(#856), thanks to @seeM
New Features
- Setting
put_version_in_initto make adding__version__to__init__.pyoptional (#1051), thanks to @MichaelJFishmanBA nbdev_newsupport for GitHub Enterprise (#1043), thanks to @seeM- Use
GITHUB_TOKENif present fornbdev.release(#1025) - Support non qmd py rendering scripts (#1014)
- Use penultimate suffix for extension of rendered .py scripts (#1010)
- Print
nbdev_testcell errors to stderr instead of usinglogging.warning(#1003) - Make nb meta
display_nameconsistent withnameto simplify diffs (#995) - Windows support for clean nb (#989), thanks to @jvanelteren
- Preview support for parallel filter (#976)
- Settings.ini option for choosing preview listen port (#967)
- Authenticate nbdev-template github API call (#940)
- 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 - Improve config documentation in
readmodule (#864), thanks to @seeM - Simplify
jupyter_hooksconfiguration (#780), thanks to @seeM
Bugs Squashed
- Class method doclinks target
mod.html#methodinstead ofmod.html#class.method(#1046), thanks to @seeM - "Bad credentials" error in
nbdev_newif GitHub EnterpriseGH_HOSTandGITHUB_TOKENare used (#1038) - Suppress
UserWarningfor unsetGITHUB_TOKENinnbdev_new(#1028), thanks to @seeM nbdev.releaseusescfg.lib_nameinstead ofcfg.repo(#1024), thanks to @seeMnbdev_testdoes not restore the original working directory (#1004)clean_idscorrupts string outputs (#794), thanks to @seeM
v2.2.10
v2.2.9
New Features
- Experimental: pre-commit hooks (#959), thanks to @seeM
- setup GitHub repo automatically (#955), thanks to @hamelsmu
- Authenticate nbdev-template github API call (#940)
- Support module level docstrings (#473)
Bugs Squashed
show_docincludes parsed sections from numpy docstrings (#964)AnnAssignobject has no attribute 'targets' (#953)- Exported images not found in docs (#951)
- fix #769 (#946), thanks to @hamelsmu
recursivein settings.ini ignored (#942)- Wrong source link when using @patch (#939)
- Deploy Action fails with
ModuleNotFoundError: No module named 'https://github'(#936) - Recursive mode doesn't seem to work when running
nbdev_preview(#935) - Update All Python Scripts to nbs similar to
nbdev_update_libin v1 (#769)