-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## v0.1.0 (2024-02-11) | ||
|
||
### Feat | ||
|
||
- support for namespace packages | ||
- added `lazy-imports-lite preview` command | ||
- allow setattr for lazy module attributes | ||
- raise LazyImportError if an error is raised during the lazy importing of a module | ||
- disable lazy-imports with LAZY_IMPORTS_LITE_DISABLE | ||
- loader works for simple examples | ||
- implemented import & import as | ||
- globals returns the imported modules | ||
- globals returns the imported modules | ||
|
||
### Fix | ||
|
||
- support packages with different names than the project | ||
- fixed windows support | ||
- use __package__ to find modules | ||
- fixed some issues | ||
- hide LazyObjects from modules | ||
|
||
### Refactor | ||
|
||
- scan distributions at startup | ||
- renamed v to _lazy_value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from contextlib import nullcontext as eager_imports | ||
|
||
from ._hooks import LazyImportError | ||
from contextlib import nullcontext as eager_imports | ||
|
||
from ._hooks import LazyImportError |