drash

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.

GPL-3.0 License

Downloads
119
Stars
1.1K
Committers
20

Bot releases are visible (Hide)

drash - v1.1.1

Published by crookse over 4 years ago

Requires Deno v1.x
Uses Deno Standard Modules v0.61.0

Upgrading

If you're importing the v1.x branch, then you can upgrade from the command line using the following:

deno run --reload https://deno.land/x/[email protected]/mod.ts

If you're importing specific versions of Drash, then make sure you upgrade accordingly in your .ts file(s):

import { Drash } from "https://deno.land/x/[email protected]/mod.ts";

Updates

  • fix: Return correct MIME type for requests to static path assets; PR #332
drash - v1.1.0

Published by crookse over 4 years ago

Requires Deno v1.x
Uses Deno Standard Modules v0.61.0

Upgrading

If you're importing the v1.x branch, then you can upgrade from the command line using the following:

deno run --reload https://deno.land/x/[email protected]/mod.ts

If you're importing specific versions of Drash, then make sure you upgrade accordingly in your .ts` file(s):

import { Drash } from "https://deno.land/x/[email protected]/mod.ts";

Updates

  • feat: Allow middleware to execute before and after requests to static path assets; Issue #324; PR #325
drash - v1.0.8

Published by ebebbington over 4 years ago

Older versions of Drash do not support Deno v1.2.0. Use Drash v1.0.8 if you're using Deno v1.2.0.

Requires Deno v1.x
Uses Deno Standard Modules v0.61.0

  • docs: Improved API documentation; Issue #289; PR 292;
drash - v1.0.7

Published by crookse over 4 years ago

Requires Deno v1.x (Does not support Deno v1.2.0. Upgrade to Drash v1.0.8 to use Deno v1.2.0)
Uses Deno Standard Modules v0.59.0

  • fix: use the Accept header if it's provided; issue #271; PR #273
  • fix: most lint issues; issue #264; PR #274
  • fix: response fails to parse body when content type is JSON and body is falsey; issue #270; PR #278
  • fix: this.request.getBodyParam() and this.request.getBodyFile not considering request body as multipart/form-data; issue #269; PR #280
  • Drash is now available in nest.land as well! 🎉
drash - v1.0.6

Published by crookse over 4 years ago

Requires Deno v1.x (Does not support Deno v1.2.0. Upgrade to Drash v1.0.8 to use Deno v1.2.0)
Uses Deno Standard Modules v0.57.0

  • Fix: Add missing permission to create app script help message; PR #238
  • Fix: Create App not working on windows; PR #244
  • Tests: Restructure unit tests; add integration tests; improve coverage
  • CI: Add integration tests
  • CI: Add bumper workflow to bump Deno std modules automatically and make PR if version bumps are needed
drash - v1.0.5

Published by crookse over 4 years ago

Requires Deno v1.0.5 https://github.com/denoland/deno/releases/tag/v1.0.5
Requires Deno Standard Modules v0.56.0

drash - v1.0.4

Published by crookse over 4 years ago

Requires Deno v1.0.4 https://github.com/denoland/deno/releases/tag/v1.0.4
Requires Deno Standard Modules v0.55.0

drash - v1.0.3

Published by crookse over 4 years ago

Requires Deno v1.0.3 https://github.com/denoland/deno/releases/tag/v1.0.3
Requires Deno Standard Modules v0.54.0

fix: Server crashes when handling malformed JSON; issue #223; PR #224

drash - v1.0.2

Published by crookse over 4 years ago

Requires Deno v1.0.2 https://github.com/denoland/deno/releases/tag/v1.0.2
Requires Deno Standard Modules v0.53.0

feat: Create Drash App script
fix: Resource-level middleware typings; issue https://github.com/drashland/deno-drash/issues/214; PR https://github.com/drashland/deno-drash/pull/215

drash - v1.0.1

Published by crookse over 4 years ago

Requires Deno v1.0.1 https://github.com/denoland/deno/releases/tag/v1.0.1
Requires Deno Standard Modules v0.52.0

drash - v1.0.0

Published by crookse over 4 years ago

drash - v1.0.0-rc1

Published by crookse over 4 years ago

Requires Deno v1.0.0-rc1 https://github.com/denoland/deno/releases/tag/v1.0.0-rc1

BREAKING: Remove Drash.Utils namespace

drash - v0.42.0

Published by crookse over 4 years ago

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

drash - v0.41.1

Published by crookse over 4 years ago

  • BREAKING: remove address server config. HTTP servers now run with HTTPOptions as argument. for example:
const server = new Drash.Http.Server({
  response_output: "application/json"
});

server.run({
  hostname: "localhost",
  port: 1447
});
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 the Deno server started at {address}:{port} message anymore. they will have to add console.log("Deno server started at {address}:{port}") themselves now.
drash - v0.41.0

Published by crookse over 4 years ago

Requires Deno v0.41.0 https://github.com/denoland/deno/releases/tag/v0.41.0

Yes, we skipped v0.40.0.

drash - v0.39.6

Published by crookse over 4 years ago

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";
drash - v0.39.5

Published by crookse over 4 years ago

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
drash - v0.39.4

Published by crookse over 4 years ago

Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0

  • fix: export interfaces as types
drash - v0.39.3

Published by crookse over 4 years ago

Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0

  • fix: serve favicon.ico from project root directory; issue #164; pr #166
drash - v0.39.2

Published by crookse over 4 years ago

Requires Deno v0.39.0 https://github.com/denoland/deno/releases/tag/v0.39.0

  • fix: pretty links index.html response sending content-type of null
Package Rankings
Top 1.1% on Deno.land
Top 24.17% on Npmjs.org
Badges
Extracted from project README
Drash Land Discord