Releases: drashland/drash
v1.0.0-rc1
Requires Deno v1.0.0-rc1 https://github.com/denoland/deno/releases/tag/v1.0.0-rc1
BREAKING: Remove Drash.Utils
namespace
v1.0.0
Requires Deno v1.0.0 https://github.com/denoland/deno/releases/tag/v1.0.0
v0.42.0
Requires Deno v0.42.0 https://github.com/denoland/deno/releases/tag/v0.42.0
BREAKING: Resource-level middleware now uses Decorators. See the documentation for more information.
feat: Add version
property to Drash
namespace (e.g., Drash.version // v0.42.0
)
feat: server.port
is now public
v0.41.1
- BREAKING: remove
address
server config. HTTP servers now run withHTTPOptions
as argument. for example:
const server = new Drash.Http.Server({
response_output: "application/json"
});
server.run({
hostname: "localhost",
port: 1447
});
- feat: support HTTPS. HTTPS servers run with
HTTPSOptions
as argument. documentation is here: Creating An HTTPS Server.
const server = new Drash.Http.Server({
response_output: "application/json"
});
server.runTLS({
hostname: "localhost",
port: 1447,
cert: "/path/to/cert_file.crt",
key: "/path/to/key_file.key"
});
- fix: make
resources
server config optional again - improvement: remove unncessary
default
keywords - improvement: remove unnecessary
--allow-env
requirement. users will NOT see theDeno server started at {address}:{port}
message anymore. they will have to addconsole.log("Deno server started at {address}:{port}")
themselves now.
v0.41.0
Requires Deno v0.41.0 https://github.com/denoland/deno/releases/tag/v0.41.0
Yes, we skipped v0.40.0.
v0.39.6
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
- BREAKING: import drash as follows:
import { Drash } from "https://deno.land/x/[email protected]/mod.ts";
- BREAKING: Remove
Response-Content-Type
header; useAccept
header - BREAKING: Remove
response_content_type
URL query param andresponse_content_type
body param; only theAccept
header is used now - ci: chain unit tests -- fail ci if any tests fail
- feat:
Accept
header support; see Content Negotiation docs (thanks @Guergeiro for bringing this up) - feat: Template Engine
- feat:
this.response.render("template.html", data)
in resources - feat: Linking JavaScripts and Stylesheets In A Docker Container
- feat
deno doc
support (e.g., https://doc.deno.land/https/deno.land/x/drash/src/http/server.ts) - fix: leaking async ops tests
- improvement: add doc blocks
- improvement: tag tests with filenames
v0.39.5
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
- ci: add unit tests to ci
- fix: add
try-catch
when serving favicon - improvement: update doc block for
Drash.Interfaces.ServerConfigs
- improvement: change
[drash]
debug message to[syslog]
- improvement: add favicon to example app tests
v0.39.4
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
- fix: export interfaces as types
v0.39.3
v0.39.2
Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0
- fix: pretty links
index.html
response sending content-type ofnull