Repository navigation
NE v2.5.0
·
101 commits
to main
since this release
Since v2.0.0
- π Bug fixes: 50+
- β‘ Performance optimizations: 20+
- β¨ New features: 8+
- π§ API/runtime improvements: 25+
- π¦ Build & package improvements: 10+
- π Documentation updates: 15+
- π§ͺ New CI/regression checks: 6+
Highlights
- New APIStatic system for compiled
.routeendpoints - Major EngineCanvas / 2D / 3D / SVG performance rewrite
- Major EngineManim performance + lifecycle improvements
- EngineScroll scheduler and navigation overhaul
- Hardened EngineBrowser SSR support
- Better lazy loading, observer pooling, media loading, and code splitting
- Large EngineAPIResolver correctness pass
- Automatic
main β main-emptypackage synchronization - New production build, APIStatic, SSR, package, and bundle-size CI checks
APIStatic
APIStatic can now:
- Compile
data/endpoint/**/*.routeinto browser-loadable static endpoint modules - Generate a route manifest automatically
- Use stable logical endpoint names without manually dealing with hashes
- Support multiple operations per endpoint
- Support
run.query,run.body,run.input, andrun.proxy - Validate and coerce typed input schemas
- Support defaults and optional values
- Use normal async functions,
fetch(), objects, arrays, and TypeScript syntax - Return normal values or explicit
response(...) - Throw controlled
error(...)responses - Call configured backend bridges through
proxy() - Discover endpoints with
APIStatic.names(),has(), andgetEndpoints() - Automatically watch and recompile
.routefiles during development - Preserve the last-known-good build if compilation fails
- Publish endpoint JS + manifest atomically
- Handle lexical scopes correctly, including normal variables like
const response - Safely support compact
helper[...]call syntax without corrupting arrays, strings, comments, regex, or shadowed variables - Integrate directly with
EngineAPIResolver - Run dedicated compiler/runtime regression tests in CI
Overall: v2.5.0 focuses heavily on performance, runtime correctness, APIStatic, and making NE's documented APIs actually match the implementation.