Releases: alephjs/aleph.js
Releases · alephjs/aleph.js
v0.3.0-alpha.32
- Stable loader plugin API
type LoaderPlugin = { /** `name` gives the plugin a name. */ name: string /** `type` specifies the plugin type. */ type: 'loader' /** `test` matches the import url. */ test: RegExp /** `acceptHMR` enables the HMR. */ acceptHMR?: boolean /** allowPage` allows to load the module as a page. */ allowPage?: boolean /** `resove` resolves the module url. */ resolve?(url: string): ResolveResult /** `load` loads the source content. */ load?(input: { url: string, data?: any }, app: ServerApplication): LoaderOutput | Promise<LoaderOutput> }
- Move CSS processor as a builtin loader
- Add CSS
extractSize
andremoteExternal
config option - Add toString method fo
RouterURL
- Add Land PERMISSIONS
land aleph -v
- Add
framework/core/events
testing (#292) - Use pathname + querystring as SSR key (#286)
- Fix dead loop when self-import (#285)
- Fix Markdown-Loader (#289)
- Upgrade std modules to 0.94.0
- Upgrade esbuild to 0.11.14
Credits
Huge thanks to @stereosteve @cdoremus @hyakt @KotlinIsland
v0.3.0-alpha.31
- Enhance compilation
Before this updates, we transpile modules in a synchronized queue, but some IO events speed a lot of time to get resoure, for example download the remote content, the next compilation task needs to wait the previous task done. so basically the first bootstrap time is vary slow. This update imporved this to allow alephjs to compile modules asynchronously that should gives a better bootstrap time. - Fix
createHtml
function breaks script src (#271) - Fix oak middleware (#284)
- Add router state to handle pre-redirects (#283)
- Added tests to helper_test.ts to improve coverage (#282)
- Upgrade esbuild to 0.11.12
Credits
Huge Thanks to @cdoremus
v0.3.0-alpha.30
- Use esbuild bundler instead of deno(swc) bundler
- Use esbuild to minify css instead of cleanCSS
- Add
browserslist
config option - Add es2016-es2021 polyfills for production mode
- Add oak middleware
- Add
signal
option for std server - Add
hostname
for APIRequest (#267) - Add tests for
redirect.ts
(#268) - Show prompt when the import_map is incorrect
- Fix Anchor tag respects modifiers (#275)
- Fix bundler loop compilation (#278)
- Fix
export * from "..."
statement in bundle mode (#280) - Upgrade std to 0.93
Credits
Huge thanks to @cdoremus @getspooky @stereosteve
v0.3.0-alpha.29
- Add
hostname
field forAPIRequest
(#267) - Add
redirect
method forAPIRequest
(#266) - Add
compress
option forConfig
- Rename
baseURL
tobasePath
ofConfig
· Breaking - Improve
useDeno
rendering - Fix HMR connection with baseUrl option (#257)
- Fix
build
command don't respect theoutputDir
option (#263) - Fix useDeno hook deps
- Fix markdown loader plugin
Credits
Huge thanks to @getspooky @chibat
v0.3.0-alpha.28
- Update
RouterURL
types · Breaking - Fix
useDeno
hook ignore locationquery
(#262) - Upgrade app import map automatically
v0.3.0-alpha.26
- Support CSS modules
- Fix stylesheet mismatch pages in SSR (#230)
- Improve API request compression
- Fix unescaped regex (#259 @KotlinIsland)
- Added tests for module.ts (#261 @cdoremus)
- Upgrade std deps to 0.92
v0.3.0-alpha.25
v0.3.0-alpha.24
v0.3.0-alpha.23
v0.3.0-alpha.22
- breaking: combine params and query of RouterURL
- fix: fix api routing (#218)