Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Tag remove preprocessor #640
This PR implements tag based element filtering using a Preprocessor to remove entire cells, entire output areas, and individual outputs.
Cell removal is enabled by adding a tag to
Output area removal is enabled by adding a tag to
Individual output removal is enabled by adding a tag to a
I have an idea talked through with @Carreau on how to additionally filter inputs (which would create invalid notebook objects), but that can't be done with a preprocessor (since preprocessors can only produce valid notebooks). Therefore, I'll leave that to another PR.
Historically with IPython we did feature releases like '6.0' and bugfix rollups like '6.1', but since the big split we've tended more towards semver style versioning, so we increment the major version to indicate breaking changes. To some extent this is up to the people working on each individual project, though.
I'm not the biggest fan of semver - I think it ignores the complexity of real development, where almost every change can break something - but I know that when we're aiming for a new .0 release, it tends to become a Big Deal, and everyone wants their thing backported to the previous series. So I'm inclined to leave 6.0 until we actually want to break something.