Releases: xyproto/algernon
Releases · xyproto/algernon
Algernon 1.15.0
- Compile the release binaries with Go 1.20.4.
- Add a
close()
function, ref #124 (thanks Malcolm Ke Win / @diyism). - Add a shell linter to the CI configuration, ref #120 (thanks Jan Macku / @jamacku).
- Support reverse proxies, ref #131 (thanks Mohamed Abdel Maksoud / @mohamed--abdel-maksoud).
- Look for
handler.lua
in parent directories, ref #95, #112 and #130 (thanks Giulio Lunati / @giuliolunati). - Add initial support for JWT tokens.
- Use
os
andio
instead of the deprecatedioutil
package. - Use
any
instead ofinterface{}
. - Use the new
unix
build constraint. - Use
strings.ReplaceAll
andbytes.ReplaceAll
. - Use
simpleredis/v2
. - Use
math.Round
. - Add an
ulimit
check to thewelcome.sh
script that also works on macOS Ventura. - Format/lint the code with
gofumpt
,golint
andstaticcheck
. - Use the
betteralign
tool, to improve struct field alignment. - Make the code debug/tracing/profiling features optional at compile time, using build tags.
- Fix a typo in one of the examples.
- Update the CI configuration.
- Update dependencies.
- Update documentation.
Algernon 1.14.0
- 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 extentfieldalignment
. - Update dependencies.
Algernon 1.13.0
- Add a flag for serving domains with CertMagic and Let's Encrypt
- Add a flag for redirecting from HTTP to HTTPS
- Use
req.Context
sinceCloseNotifier
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
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
andserverfile
- 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
andstaticcheck
- 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
- 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
- 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 astext/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
- 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
- Issues with Bolt db, simplebolt and
gccgo
are resolved. Algernon now also supportsgccgo
. - 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
- Now using a fork of the
quic
package, since there were build issues with it (could not build withgccgo
and issue #41). - Updated dependencies.
- There are still issues with compiling
simplebolt
withgccgo
, which is why Algernon can not be compiled withgccgo
in a way wheresimplebolt
works, yet. This is related to different behavior betweengo
andgccgo
and will be worked around insimplebolt
. 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 instancesamples/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
- 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
orHTTPClient
. CookieSecret
andSetCookieSecret
can now be used to get and set the secure cookie secret from Lua, or it can be set with the--cookiesecret
flag.