Skip to content

Releases: xyproto/algernon

Algernon 1.14.0

04 Aug 17:37
Compare
Choose a tag to compare
  • Compile the release binaries with Go 1.19.
  • Improve the documentation (thanks Matt Mc / @tooolbox ).
  • Add support for Teal together with a Teal sample (thanks Matt Mc / @tooolbox).
  • Fix an issue with how Lua tables were pretty printed in the REPL.
  • Fix an issue with conversion from Lua tables to JSON, ref #107, #108 (thanks @linkerlin).
  • Fix an issue with the generated directory listing pages, where %2F would appear in the URL instead of /, ref #117.
  • Follow the advice of these utilities: go fmt, golint, staticcheck and to some extent fieldalignment.
  • Update dependencies.

Algernon 1.13.0

09 May 22:18
Compare
Choose a tag to compare
  • Add a flag for serving domains with CertMagic and Let's Encrypt
  • Add a flag for redirecting from HTTP to HTTPS
  • Use req.Context since CloseNotifier has been deprecated
  • Switch to Go 1.18
  • Switch from the MIT license to BSD-3
  • Fix double drawn frames around syntax highlighted code in Markdown documents
  • URL encode links when listing directories
  • Use the same directory as the pongo2 template when importing macros, ref #84
  • Let plugins continue to run if an optional argument is passed in, ref #64 (otherwise close them)
  • Switch from jvatic/goja-babel to wvanw/esbuild, ref #77 (#91)
  • Improve JSX-related error messages
  • Use yuin/gopher-lua and yuin/gluamapper
  • Use a context when running Lua functions and use the background context when creating the Lua pool
  • Update the alg2docker and benchmark scripts
  • Update the --help output
  • Fix a typo in the "single.alg" example Algernon application
  • Update example service and Dockerfiles
  • Add a base URL flag for the directory listing (#90 ?)
  • Follow the advice of the "fieldalignment" and "staticcheck" utilies
  • Fix the serve2 function so that the registration form example works
  • Update tests, dependencies, examples and documentation

Algernon 1.12.14

23 Aug 17:31
Compare
Choose a tag to compare

Changes from last release

  • Fix a typo in the documentation (thanks Felix Yan)
  • Add support for simple MSSQL queries, ref #57
  • Improve MSSQL support (thanks Matt Mc)
  • Improvements to table mappings in Lua, including changes to gluamapper (thanks Matt Mc)
  • Support headers in buffered responses, ref #75 (thanks Matt Mc)
  • Improvements to the file upload functionality (thanks Matt Mc)
  • Various minor fixes and improvements (thanks Matt Mc)
  • Add three new repl commands: pwd, serverdir and serverfile
  • Add nicer help output for built-in commands to the repl
  • Add a ServerDir function for the server configuration Lua script
  • Fix wasm mimetype issue, ref #82
  • Fix the Babl plugin configuration after updating the Babl dependency
  • Various improvements to the samples and to the "Welcome" page
  • Follow the advice of go vet, golint and staticcheck
  • Support Go 1.16 and Go 1.17 only, for now
  • Downgrade fsnotify to v1.4.9 so that building with GOOS=freebsd works again
  • Update CI configuration
  • Update dependencies
  • Update documentation

Algernon 1.12.12

18 Jan 13:45
Compare
Choose a tag to compare
  • Support the Apple M1 CPU by not including QUIC-support for darwin+arm64. See #49 for more info.

The *_nocgo.* archives are built with CGO_ENABLED=0 and Go 1.16.

Algernon 1.12.11

02 Jan 21:48
Compare
Choose a tag to compare
  • Improve the man page.
  • Minor improvements for the help and completion functionality in the REPL.
  • Let several algernon --lua instances not use the same temporary database.
  • Let .mk, .ts and .tsx be served as text/plain;charset=utf-8.
  • Initial support for rendering .frm and .form files written in SimpleForm.
  • Fix for making it possible to use . together with --autorefresh.
  • Minor fixes to the docker example files.
  • Correct a typo in a comment (thanks Felix Yan).
  • Update the Travis CI configuration (thanks Rui Chen).
  • Follow the advice of the very useful staticcheck utility.
  • Remove OpenBSD support while waiting for pkg/term to support it.
  • Use a specific commit of pkg/term so that Algernon also compiles for FreeBSD.
  • Update documentation.
  • Update dependencies.

Patch release

27 Jun 20:18
Compare
Choose a tag to compare
  • Improve CI config and Homebrew release process (thanks Rui Chen!).
  • Update supplied systemd configuration.
  • Remove mentions of nacl.
  • Remove the mitchellh/colorstring dependency.
  • Use algernon_history.txt as the REPL history filename on Windows.
  • Don't output raw color codes on Windows, use ANSI colors or disable the color.
  • Remove symlinks from the "welcome" sample.
  • Update the release script to also build with GOARM=7 for Raspberry Pi 2, 3 and 4.
  • Update dependencies.
  • Update documentation.

Patch release with updated dependencies

24 Mar 21:27
Compare
Choose a tag to compare
  • Issues with Bolt db, simplebolt and gccgo are resolved. Algernon now also supports gccgo.
  • Algernon requires Go 1.11 or later.
  • Respect TMPDIR, for improved Termux support.
  • Fix issue #42, when --dir is used together with a trailing slash.
  • Don't force the use of the bolt database when in development mode.
  • Update dependencies.

The Windows and OpenBSD releases does not compile anymore. I want to look into that at some point.

Patch release with updated dependencies

07 Jan 14:41
Compare
Choose a tag to compare
  • Now using a fork of the quic package, since there were build issues with it (could not build with gccgo and issue #41).
  • Updated dependencies.
  • There are still issues with compiling simplebolt with gccgo, which is why Algernon can not be compiled with gccgo in a way where simplebolt works, yet. This is related to different behavior between go and gccgo and will be worked around in simplebolt. See: golang/go#36430
  • The autorefresh feature (-a or --autorefresh) may now follow symlinks to diretories, to make the ./welcome.sh script and example more user-friendly when live editing for instance samples/greetings/index.md.
  • The file-search backend of the autofresh feature is now also concurrent.
  • Tested with the latest version of Go (1.13.5) on 64-bit Arch Linux.

Patch release with updated dependencies

22 Aug 18:19
Compare
Choose a tag to compare
  • Built with Go 1.13 (d9b13233378668a4fd24ac5d044e9d550cd2a8be)
  • Adds support for PostgreSQL queries with the PQ function, from Lua.
  • Updated dependencies, especially with QUIC and HTTP/2 in mind.
  • Updated the JSX sample to use the latest version of React.
  • The static executable for Linux is now built with -trimpath.
  • New HTTP client functionality from Lua, using GET or HTTPClient.
  • CookieSecret and SetCookieSecret can now be used to get and set the secure cookie secret from Lua, or it can be set with the --cookiesecret flag.

Patch release with updated dependencies

06 Apr 11:38
Compare
Choose a tag to compare
  • Fix #26, an issue with using Lua tables together with Pongo2 and the serve2 function.
  • Update dependencies.
  • Improved help function on the Lua prompt.
  • Support the IGNOREEOF environment variable.
  • Update documentation.

Updated docker images can be found at https://hub.docker.com/r/xyproto/algernon