Releases: alephjs/aleph.js
Releases · alephjs/aleph.js
v0.3.0-beta.12
- Add a
fastTransform
function using esbuild to transpile remote non-jsx modules instead of swc - Improve framework setup perfermance (2x faster)
- Add
--no-check
flag in install script - Fix css
@import
is not working - Upgrade esbuild to 0.12.25
- Upgrade swc deps
v0.3.0-beta.10
- Add a
resolveImport
method for Plugin System - Fix bundler error with virtual modules
v0.3.0-beta.9
- Improve the Plugin System to support aleph_plugin_windicss HMR
- Add tailwindcss example using windicss plugin above
- Update the server
Cache-Control
topublic, max-age=0, must-revalidate
- Fix JSX Magic HMR missing deps
v0.3.0-beta.8
Fix aleph_pkg_uri
resolve to avoid SSG error/missing-data when Aleph.js' version is different between import maps and cli.
v0.3.0-beta.7
Upgrade vercel-aleph
version to 0.7.0
v0.3.0-beta.6
- Support Vercel Functions
- Runtime: https://github.com/alephjs/vercel-aleph
- Optional to create
vercel.json
ininit
command
- Remove postcss types check to get better ci speed
- Fix
upgrade
command - Fix
useDeno
rendering unstable - Upgrade swc deps
- Upgrade esbuild to 0.12.24
- Upgrade std to 0.106.0
v0.3.0-beta.3
- Rename plugin API
onSSR
->onRender
that allows you to change the HTML even in SPA mode · breaking - Fix cache NOT update in
production
mode - Improve ssr data fetching
- Improve
init
command (#343)
Credits
Huge thanks to @getspooky
v0.3.0-beta.2
Fix init
command
v0.3.0-beta.1
- Rewrite
Plugin
system - Use Deno native http instead of std http
- Support API middleware
- Strip SSR code in browser
- Add
ssr
options for pagesimport type { SSROptions, Router } = 'aleph/types.ts' export const ssr: SSROptions = { props: async (router: Router) => ({ ... }), paths: async () => [ ... ], // static paths for dynamic route } export default function Index(ssrProps) { return ( <div>ssr props: {ssrProps}</div> ) }
- CSS Modules Magic
import React from "https://esm.sh/react"; export default function App() { return ( <> <link rel="stylesheet" href="../style/app.module.css" /> <h1 className="$title $bold">Hi :)</h1> <p className="$intro">Welcome!</p> </> ); }
- Improve dev bootstrap time for large app (compile on demand)
- Improve HMR (refresh page when
useDeno
was updated) - Support import maps in
aleph.config.ts
(fix #323) - Don't resolve remote deps in API modules
- Don't process
.css
files in./public
folder (fix #304) - Update docs: https://alephjs.org/docs
- Bugfixs #320 #341
v0.3.0-alpha.33
- Imporove HMR preformance (store compiled code in memory for speed up)
- Minify polyfills (200kb -> 4kb)
- Update
minDenoVersion
to 1.10.1 - Add
Fallback
component for dynamic hoc - Add
key
option foruseDeno
- Remove
withDeno
hoc · breaking - React version respects import maps (#223)
- Upgrade std to 0.96
- Upgrade esbuild to 0.11.22
- Fix import maps when has
srcDir
configured - Fix dead loop when compile modules (fix #294)
- Fix semantic version comparison (fix #312)
- Support ident callback argument in
useDeno
(fix #301) - Fix the condition of meta.className (#303)