Skip to content

Release 2.3.0 - Better custom SCSS!

Choose a tag to compare

@lemonsaurus lemonsaurus released this 28 May 13:32
· 140 commits to main since this release
30e1e73

This release adds smarter handling for custom SCSS.

This resolves two problems with the previous implementation:

  • Deeply nested static files were not supported by the previous implementation. These would in fact crash when we tried to mkdir the relative folder structure, because the os.mkdir didn't pass parents=True to allow creating the full path.

  • We required the static folders to be defined in STATICFILES_DIRS, even though they were in standard locations. This is kind of smelly, because Django will find all files as long as they are in a static folder inside the app root, for example.

The new implementation just uses all the Finders you have activated to solve this problem, even if they're custom Finders with highly tailored find methods. This makes the implementation far more resilient and flexible.

✨ This change should be fully backwards-compatible. ✨