Skip to content

Releases: nookit-dev/bnkit

0.5.15 Bug Fixes, Server Websocket Support

19 Jan 18:55
Compare
Choose a tag to compare
  • Bug Fixes
  • Server Websocket Support

0.5.10

27 Nov 19:10
Compare
Choose a tag to compare

What's Changed

Bun Nook Kit Medium Banner

Added a bash quickstart:

bash <(curl -fsSL https://raw.githubusercontent.com/nookit-dev/bnkit/main/scripts/quickstart.sh)

Added A CLI

CLI Docs
to install cli:
bun add bnkit -g
add this to .zshrc or .bashrc

export BNKIT_PATH="$BUN_INSTALL/install/cache/bnkit"

function run_bnk_cli() {
    echo "Bun install location: $BUN_INSTALL"
    echo "Bun Nook Kit install location: $BNKIT_PATH"

    # Find the latest version of bnkit
    versions=$(ls $BNKIT_PATH | sort -V)
    latest_version=$(echo "$versions" | tail -1)

    echo "Latest version of bnkit: $latest_version"

    # Define the path to the cli.sh script in the latest version
    cli_script_path="$BNKIT_PATH/$latest_version/scripts/cli.sh"

    echo "cli.sh path: $cli_script_path"

    # Check if the script exists
    if [[ -f "$cli_script_path" ]]; then
        # Run the script with the --dir flag set to the current directory
        "$cli_script_path" --dir "$(pwd)"
    else
        echo "cli.sh not found in the latest version of bnkit."
    fi
}

Updated Docs!

Checkout the newly updated documentation

OAuth Module

Docs will follow shortly :)

alias bnkit='run_bnk_cli'

Cleaned Up and Simplified Server Cors Middleware Module, Fetcher Modules

HTMLody factory node helper

Screenshot 2023-11-27 at 9 18 36 AM

IMG_1321

Added biome for formatting/linting in development cause this:
Screenshot 2023-11-27 at 11 31 47 AM

Bun Nook Kit Introductory Blog Post

Read Here

Full Changelog: 0.4.20...0.5.2

0.4.20 - Add Project Quick Start

23 Nov 05:32
Compare
Choose a tag to compare

Setup a server blazingly fast with a new project quickstart bash script!

bash <(curl -fsSL https://raw.githubusercontent.com/brandon-schabel/bun-nook-kit/main/utils/quickstart.sh)

Along with some improved docs I have also put together a quick-start script that will use buns bun create CLI to quickly create a new project with BNK installed and a simple server. This is a great start to quickly start a prototype. Now that I have built a single starter, I would like to ideally built out several more for common use cases like a basic DB setup with Auth, a more robust fullstack app setup, but that will likely come later :)

The current stack I have in project that I am currently building a project on is called the Payments Stack

I will provide an update once the BNK 0.5.0 release is out

0.4.1 Usability Improvements

15 Nov 02:55
Compare
Choose a tag to compare

0.4.1 Doesn't bring anything huge in the way of functionality, however it certainly bring some simplification when writing code.
When importing modules now instead of before @bnk/core/modules/server I found that a bit combersome, so now the same module can be imported with bnkit/server.

That also means the base library is no longer @bnk/core - it's now simply bnkit

Below are some usage screenshots.
Xnapper-2023-11-14-19 42 26
Xnapper-2023-11-14-19 43 47
Xnapper-2023-11-14-19 47 14
Xnapper-2023-11-14-19 51 14

Other than that, there are a lot of new docs to reference in the /docs folder.

0.3.2

10 Nov 11:22
Compare
Choose a tag to compare

What's Changed

  • Improved Docs
  • Added Experimental Turbo Support for HTMLody
  • Fix Middleware Types

Full Changelog: 0.2.20...0.3.2

0.2.20

05 Nov 02:19
Compare
Choose a tag to compare

What's Changed

  • add readItemsWhere query to sqlite
  • add readById query to sqlite
  • tons of additional sqlite unit tests
  • additional htmlody css utility classes

Full Changelog: 0.2.16...0.2.20

0.2.16

28 Oct 02:54
Compare
Choose a tag to compare

What's Changed

  • add option to encrypt JWT
  • redirect response
  • add auth factory
  • JWT backend now accepts the type for the JWT payload
  • HTMLody clean up and children function and add a render function to the page generator

0.2.13

26 Oct 06:42
Compare
Choose a tag to compare

What's Changed

  • Improved HTMLody docs
  • fix color generation 50 is darker and then 900 is much brighter than the provided color
  • additional class helpers
  • improved jwt factory with built in encrypt (later will be optional)
  • split jwt factory into more utility functions to better unit tests it
  • organize jwt files
  • add jwt refresh token and invalid tokens file handler
  • improve release versioning script

Full Changelog: 0.2.6...0.2.13

0.2.6 HTMLody CSS Generation

22 Oct 07:49
Compare
Choose a tag to compare

What's Changed

  • Added CSS class name generators
  • created htmlody plugin for the class records plugin which works similar to tailwind but object based
  • added unit tests for the css utils
  • add css color pallete generator functions
  • add generation of injecting css variables into ssr'd document
  • add initial API for responsive class names (a mix between tailwind and classnames plugin with typescript autocomplete!)

Full Changelog: 0.2.3...0.2.6

0.2.3 HTMLody Plugins, Discord, Initial work on Tailwind Like CSS handler/generator

20 Oct 05:31
Compare
Choose a tag to compare
  • HTMLody Plugins
  • A bunch of unit tests
  • Initial work on Tailwind Like CSS handler/generator (for HTMLody)

Come hang out on the BNK Discord! https://discord.gg/rQyWN7V6