Skip to content

Releases: AngelMunoz/Perla

Static Files Improvements

10 Oct 05:29

Choose a tag to compare

Pre-release

What's Changed

  • Enable perla commands in interactive in #37
  • Static files updates in #38
  • Static file improvements in #39
  • Handle Ctrl + C and Ensure exit... exits... #25
  • Static Files Copy Filters #27
  • mounted file's filepath is not preserved #31
  • Fix static files directories #33

Full Changelog: v0.12.1...v0.13.0

Fix TSX with tsconfig options

03 Oct 03:01

Choose a tag to compare

Pre-release

Fixes a particular issue with TSX projects, they were not accepting the tsconfig options correctly thus failing to be served

TS/JSX/TSX Support!

02 Oct 21:51

Choose a tag to compare

TS/JSX/TSX Support! Pre-release
Pre-release

This was an interesting release to work with, firstly I thought it would be nearly impossible to make it worth seamlessly at dev time and at build time thankfully esbuild accepts a file via stdin and with some slight changes to the importJS middleware we are able to serve these files and compile them on the fly with esbuild and since esbuild is written in go, it takes mere milliseconds to compile a single file, at this point my code logic is perhaps slower than esbuild

Check CliWrap I really love to work with when dealing with external processes, otherwise I would be in a lot of pain dealing with calling the fable/esbuild process be sure to check it, it's amazing!

Json imports

01 Oct 03:47

Choose a tag to compare

Json imports Pre-release
Pre-release

This release enables json imports, given that esbuild supports json files as default modules we added a simple middleware that transforms a json request into module with a default export you will be able to use them freely

Fix dotnet tool - single file binaries

29 Sep 02:51

Choose a tag to compare

Pre-release

Ahh quick fix... I fixed single file binaries and broke the tool... here's the fix tested on both the tool and the single file binaries

it's hard to catch runtime issues :P

Here's the fix

        let assemblyLoc =
          Path.GetDirectoryName(Reflection.Assembly.GetEntryAssembly().Location)

        if String.IsNullOrWhiteSpace assemblyLoc then
          Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName)
        else
          assemblyLoc

Bug fixes

29 Sep 02:24

Choose a tag to compare

Bug fixes Pre-release
Pre-release

fix #18 and #19
Self contained single file deploys should work the same as the dotnet tool, for livereload.js and worker.js
Also set System.Text.Json to v6+ to fix a json parsing issue in the .NET 5 version.

Binaries are .NET6 while the dotnet tool allows .NET6 and .NET5

Fix Query String

28 Sep 04:35

Choose a tag to compare

Fix Query String Pre-release
Pre-release

Fix the document query string, I forgot to save the file before publishing... I will setup CI eventually...

CSS HMR

28 Sep 04:20

Choose a tag to compare

CSS HMR Pre-release
Pre-release

CSS HMR is here, I don't have JS HMR thought yet but at least if you're using CSS imports this one is for you

Css Imports

27 Sep 23:08

Choose a tag to compare

Css Imports Pre-release
Pre-release

Finally fixed #1 via #16 you are now able to import CSS files right within your code, the resulting css file will be injected at dev time and replaced at build time, so you will have everything you need to have in place

Live Reload

26 Sep 04:56

Choose a tag to compare

Live Reload Pre-release
Pre-release

This Release adds #5 which is something that we'd certainly like to have when we're developing stuff this of course opens the road for new cool stuff to build on top of it.

Feel free to give it a try and bring up the feedback!