Skip to content

Releases: alephjs/aleph.js

v0.3.0-alpha.32

25 Apr 17:51
@ije ije
Compare
Choose a tag to compare
  • 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 and remoteExternal 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

19 Apr 17:39
@ije ije
Compare
Choose a tag to compare
  • 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

17 Apr 11:58
@ije ije
Compare
Choose a tag to compare
  • 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

13 Apr 18:05
@ije ije
Compare
Choose a tag to compare
  • Add hostname field for APIRequest (#267)
  • Add redirect method for APIRequest (#266)
  • Add compress option for Config
  • Rename baseURL to basePath of Config · Breaking
  • Improve useDeno rendering
  • Fix HMR connection with baseUrl option (#257)
  • Fix build command don't respect the outputDir option (#263)
  • Fix useDeno hook deps
  • Fix markdown loader plugin

Credits

Huge thanks to @getspooky @chibat

v0.3.0-alpha.28

10 Apr 17:26
@ije ije
Compare
Choose a tag to compare
  • Update RouterURL types · Breaking
  • Fix useDeno hook ignore location query(#262)
  • Upgrade app import map automatically

v0.3.0-alpha.26

10 Apr 14:55
@ije ije
Compare
Choose a tag to compare
  • 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

04 Apr 16:11
@ije ije
Compare
Choose a tag to compare
  • Remove sass and wasm plugin · Breaking
  • Allow the revalidate of useDeno hook to 0
  • Fix jsFile is invalid on windows port (#201)
  • Add fs module testing (#248 @cdoremus )

v0.3.0-alpha.24

01 Apr 17:13
@ije ije
Compare
Choose a tag to compare
  • feat: re-add the postcss option for Config type
  • breaking: update runtime env
  • fix: fix src dir detection (#226)
  • fix: fix anchor component redirect (#227)
  • fix: rebuild when postcss plugins changed
  • fix: fix dynamic hoc typing
  • fix(plugins): fix sass importing

v0.3.0-alpha.23

01 Apr 06:10
@ije ije
Compare
Choose a tag to compare
  • feat: update react to 17.0.2
  • breaking: remove the staticPaths option of ssr
  • breaking(plugin): rename laoderoption asPage -> allowPage
  • refactor(compiler): add fixedReactEsmShBuildVersion transform option (#232)
  • refactor: minify bundler runtime code
  • fix: fix Anchor component (#227)

v0.3.0-alpha.22

28 Mar 12:54
@ije ije
Compare
Choose a tag to compare
  • breaking: combine params and query of RouterURL
  • fix: fix api routing (#218)