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 - 2024-01-03 / v3.0.0-beta.2 Latest Release

Published by crookse 10 months ago

Summary

Build No. 2 for v3.x Beta.

Docs / Guides

Full documentation and guides are at https://drash.land/drash-v3.x.

Registries

Import from your registry of choice:

Example Apps

View the GitHub repo directory below for tiny example apps:

https://github.com/drashland/drash/tree/v3.x/examples

Deno Deploy Playground

The Deno Deploy Playground is at https://dash.deno.com/playground/drash-v3x-beta-1.

drash - 2023-11-04 / v3.0.0-beta.1

Published by crookse 12 months ago

Summary

Build No. 1 for v3.x Beta.

Docs / Guides

Full documentation and guides are at https://drash.land/drash-v3.x.

Registries

Import from your registry of choice:

Example Apps

View the GitHub repo directory below for tiny example apps:

https://github.com/drashland/drash/tree/v3.x-beta/examples

Deno Deploy Playground

The Deno Deploy Playground is at https://dash.deno.com/playground/drash-v3x-beta-1.

drash - 2023-11-02 / v3.0.0-preview.4

Published by crookse 12 months ago

Test

Target branch: v3.x-beta

drash - 2023-11-01 / v3.0.0-preview.3

Published by crookse 12 months ago

Test

drash - 2023-11-01 / v3.0.0-preview.2

Published by crookse 12 months ago

Test

drash - 2023-10-17 / v3.0.0-preview.01

Published by crookse about 1 year ago

Test

drash - v2.8.1

Published by drashbot about 1 year ago

Compatibility

Requires Deno v1.37.x
Uses Deno Standard Modules 0.203.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • chore: Update deps (#694)
    • Bumps Deno Standard Modules from 0.175.0 to 0.203.0
    • Migrates CSRF Service service to use crypto and toHashString
      • createHash from was removed
    • Migrates ETag Service to use crypto and toHashString
      • createHash was removed
    • Bumps GraphQL Service from [email protected] to [email protected]
drash - v2.8.0

Published by drashbot over 1 year ago

Compatibility

Requires Deno v1.30.0
Uses Deno Standard Modules 0.175.0

  • csrf uses Deno Standard Modules 0.158.0 due to breaking changes that need to be addressed when migrating to 0.175.0.

Documentation

Usage

Note: In the event deno.land does not work or does not have this version, you can use a CDN to import Drash. See Usage (CDN Example) below.

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Usage (CDN Example)

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://cdn.jsdelivr.net/gh/drashland/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • feat(http/server): add request optionals to control reading the body (#671) (view documentation)
  • fix: sending a POST request without a body (#690, #691)
drash - v2.7.1

Published by crookse about 2 years ago

Compatibility

Requires Deno v1.26.0
Uses Deno Standard Modules 0.158.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • chore: Update deps to support Deno v1.26.0 and Deno Standard Modules 0.158.0 (#680)
  • chore: Bump ResourceLoaderService to Deno Standard Modules 0.158.0 (#685) (@tweenietomatoes)
drash - v2.7.0

Published by drashbot over 2 years ago

Compatibility

Requires Deno v1.23.2
Uses Deno Standard Modules 0.146.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • feat(services/resource_loader): add resource loader service (a resource autoloader) (#644) (view docs)
  • feat(services/tengine): check for trailing/leading slashes in Jae (#656)
  • feat(services/graphql): remove GraphQL service empty resource requirement; add option to change playground endpoint (#647) (view docs)
  • feat(http/error_handler): add connInfo to error handlers (#655) (view docs)
  • feat(http/request): allow access to the original request (#649) (view docs)
  • fix(http/request): ensure consistent falsy return values for body params (#634)
  • chore: update deps
    • update Drash to support Deno 1.23.2 / Deno Standard Modules 0.146.0
    • update services' to support Deno 1.23.2 / Deno Standard Modules 0.146.0 (#645)
    • fix STATUS_TEXT breaking change from 0.143.0 (#650)
drash - v2.6.0

Published by drashbot over 2 years ago

Compatibility

Requires Deno v1.21.3
Uses Deno Standard Modules 0.139.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • feat: allow services to run at startup (#617) view docs
  • feat: allow services to end lifecycle (#619) view docs
  • fix: check for non-empty accept header before performing accept header flow (#638)
  • fix: change service.end() to be request.end() (#625)
  • perf: don't find resource if already matched to previous request URL (#637)
  • chore: update docblocks (#633)
  • chore: update deps; remove rhum (#639)
  • chore: remove pre-release workflow related files (#615)
drash - v2.5.4

Published by drashbot over 2 years ago

Compatibility

Requires Deno v1.17 or greater
Uses Deno Standard Modules 0.126.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • Fix: Content-Disposition value for download method now used correctly (#612)
  • chore: Update dependencies and bump version numbers across repo (#610)
drash - v2.5.3

Published by drashbot over 2 years ago

Compatibility

Requires Deno v1.18.2
Uses Deno Standard Modules 0.125.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • fix: hardcoded redirection http status (#608)
drash - v2.5.2

Published by drashbot over 2 years ago

Compatibility

Requires Deno v1.17 or higher
Uses Deno Standard Modules 0.122.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • fix: Files from bodyParam are corrupted (#606) - documentation
  • chore: Update dependencies and bump version numbers across repo (#603)
drash - v2.5.1

Published by drashbot over 2 years ago

Compatibility

Requires Deno v1.17.0
Uses Deno Standard Modules 0.122.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • chore: Update dependencies and bump version numbers across repo (#601)
  • fix: Response.file not working with images (#602)
drash - v2.5.0

Published by drashbot over 2 years ago

Compatibility

Requires Deno v1.17.2
Uses Deno Standard Modules 0.120.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • feat: Support specifying status and extra headers in response body methods (#598)
drash - v2.4.0

Published by drashbot almost 3 years ago

Compatibility

Requires Deno v1.17.2
Uses Deno Standard Modules 0.120.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • fix(http/error_handler): handle errors gracefully (#596)
  • feat: make error handling configurable (#592) - View documentation

Special Thanks

  • @routmoute for #592
drash - v2.3.0

Published by drashbot almost 3 years ago

Compatibility

Requires Deno v1.17.1
Uses Deno Standard Modules 0.119.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • fix(services/dexter): fix request method not being logged (#589)
  • chore(deps): update; also remove dead code (#590)
  • feat: add etag service (#568)
drash - v2.2.0

Published by drashbot almost 3 years ago

Compatibility

Requires Deno v1.16.3
Uses Deno Standard Modules 0.116.0

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export * as Drash from "https://deno.land/x/[email protected]/mod.ts";
  1. Import Drash from your deps.ts file.
import { Drash } from "./deps.ts"

... your
... code
... here

Release Summary

  • feat: Add ETag service to support ETag header utilization (#568)
  • feat: Add GraphQL service to support using GraphQL (#570)
  • feat: Add rate limiter service to support rate limit related headers (#569)
  • feat: Add response time service to support X-Response-Time header (#567)
  • fix: request content-length and content-type checks (#572)
drash - v2.1.0

Published by drashbot almost 3 years ago

Compatibility

Importing

  • Import this latest release by using the following in your project(s):

    import { Drash } from "https://deno.land/x/[email protected]/mod.ts";
    
    import { SomeService } from "https://deno.land/x/[email protected]/src/services/<service>/<service>.ts";
    

    Note: Change SomeService and <service> to reflect the service you want to import.

Updates

Package Rankings
Top 1.1% on Deno.land
Top 24.17% on Npmjs.org
Badges
Extracted from project README
Drash Land Discord