Skip to content

Commit

Permalink
Bumped deno version and nessie version. Added to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
halvardssm committed Jan 11, 2022
1 parent e889f38 commit 0aec3ec
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

env:
DENO_VERSION: 1.17.1
DENO_VERSION: 1.17.2

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish Docker

env:
DENO_VERSION: 1.17.1
DENO_VERSION: 1.17.2

on:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_nest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish Egg

env:
DENO_VERSION: 1.17.1
DENO_VERSION: 1.17.2
NEST_VERSION: 0.3.10

on:
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Nessie Change Log

## Version Next
## Version 2.0.5 - 2022-01-11

- Deno v1.17.1
- Deno v1.17.2
- Deno std v0.119.0
- Cliffy v0.20.1
- MySQL v2.10.2
- PostgreSQL v0.14.2
- SQLite v3.2.0
- Changed client queries from private constants to getters
- Added client for MySQL 5.5

## Version 2.0.4 - 2021-10-31

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ DB_MYSQL_PORT=5001
DB_USER=root
DB_PWD=pwd
DB_NAME=nessie
NESSIE_VERSION=2.0.4
DENO_VERSION=1.17.1
NESSIE_VERSION=2.0.5
DENO_VERSION=1.17.2
DOCKER_IMAGE=halvardm/nessie

test_all: test_fmt test_unit db_all_restart test_integration_cli db_all_restart test_integration_update_timestamps image_build image_test_clean image_test image_test_clean
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<img alt="Docs" src="https://img.shields.io/badge/Nessie-doc-informational.svg?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABLCAYAAAAmh0pZAAAACXBIWXMAAAEjAAABIwFyQXfeAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABltJREFUeJztnF2MHlUZx3+nXWlBWsJXaAWElI+iIBIhaAPcaDUEUrghApEQEhIMmKA1jTcmGkOUQPhKFC4gEFNpUuQC0l4YlK8CsUBLjBI+2m4pRdsldWuLLN3WbvfnxZk3u7zMO+/M+87szG75Jc3unnPmnOf5z5mZc55zTqFH1MvUP6ib1VF1p/qceot6VK/1TkvUE9WnzGZQvaxuW6cE9cvq1i6CtNivXl23zZWiHq1uyilIi1H1wrptrwz1kYKCtNikHlG3/aWjfkU91KMoqj+u24fSUR/qQxDVYfWLdfuRl1k5yy3rs53jgWv6rGPK6CqKuhA4pYS2Zo4owBkltbVUnVdSXZWSR5Sy3gVzgW+UVFel5BFloMT2Ti6xrsrI+6Iti7lT3F5P5BHl4xLb21RiXZXRjyjrC7a1A9hY8JpayCPKnJS0YeB7wLMF2vp5COFAgfLNRV2aMkJ9Pck7Qn3A7CnAfvX2uv0oFfWGFEdXt5X5mvqoOpTkHzQGn+5Xz6rL9l7J87lNG7xtm/xHCOFN4GYA9QtJ2sG+rauJXkV5r1Ph6SxGi16H+R1FmQnkEWVRStq2lLTDA3WeOt72kh1X0z7TM4ZuPeXrQGhL2z1jxhsd6CbKBSlpQ1UY0iTy9JR2dlZhSJP4vKek0FEUdTbw1ZSsw7qnLAbS1oR3VWRLY8gSJe3RAfhvFYY0iSxR0l6yAJ9UYUiT6KWnjFRhSJPopaeMqHPUu9UP1ffVFcmLeeaiLswIGl2krklJX1m33ZWiXp4hyr0ZedfWbXsZdHp8FndI/zPZ68oPOE1WAbPoJEpauGAtcDXZn+QFwC/6NaqRqGvbHoun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xhjLHl6nMZe96DpYc8x9TtJnat66DGr6tbiU6hXJE51YzgpP0f9ICX/riR/vsUfz+F6VUhB/YH6vxzGn5KUP9sY3x2elPf7SfUdp75SQJQPa3M+C2OP2dPF+LParhlQv238747uaMubbQyPDuYQpbkLcOoi9dUM49P217WuzTpQsUi9MhHpcXXLpDr/bVNWATphjPjfZtzbMplD6jEltrPAeI76hrLqrBz1qEScl4xfqEZuSP4/aLLwWOQC9ScAAAAASUVORK5CYII=" />
</a>
<a href="https://deno.land">
<img alt="Deno Version" src="https://img.shields.io/badge/deno-v1.17.1-green.svg?style=for-the-badge&logo=deno"/>
<img alt="Deno Version" src="https://img.shields.io/badge/deno-v1.17.2-green.svg?style=for-the-badge&logo=deno"/>
</a>
<a href="https://github.com/halvardssm/deno-nessie/actions?query=branch%3Amain+workflow%3ACI">
<img alt="GitHub Workflow Status (branch)" src="https://img.shields.io/github/workflow/status/halvardssm/deno-nessie/CI/main?style=for-the-badge&logo=github">
Expand Down
7 changes: 6 additions & 1 deletion clients/ClientMySQL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ import { NessieError } from "../cli/errors.ts";

export type MySQLClientOptions = Parameters<MySQLClient["connect"]>;

/** MySQL client */
/**
* MySQL client
*
* This is for MySQL versions >5.5, if you want to use version <=5.5,
* use ClientMySQL55 instead.
*/
export class ClientMySQL extends AbstractClient<MySQLClient> {
protected clientOptions: MySQLClientOptions;
dialect: DBDialects = "mysql";
Expand Down
3 changes: 2 additions & 1 deletion clients/ClientMySQL55.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {
TABLE_MIGRATIONS,
} from "../consts.ts";
import { ClientMySQL } from "./ClientMySQL.ts";
/** MySQL client */

/** MySQL 5.5 client */
export class ClientMySQL55 extends ClientMySQL {
protected get QUERY_CREATE_MIGRATION_TABLE() {
return `CREATE TABLE ${TABLE_MIGRATIONS} (id bigint UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, ${COL_FILE_NAME} varchar(${MAX_FILE_NAME_LENGTH}) NOT NULL UNIQUE, ${COL_CREATED_AT} timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP);`;
Expand Down
2 changes: 1 addition & 1 deletion consts.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bold, yellow } from "./deps.ts";

export const VERSION = "2.0.4";
export const VERSION = "2.0.5";

export const SPONSOR_NOTICE = bold(
yellow(
Expand Down
2 changes: 1 addition & 1 deletion egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://x.nest.land/eggs@0.3.8/src/schema.json",
"name": "Nessie",
"description": "A modular database migration module for Deno.",
"version": "2.0.4",
"version": "2.0.5",
"stable": true,
"repository": "https://github.com/halvardssm/deno-nessie",
"files": [
Expand Down

0 comments on commit 0aec3ec

Please sign in to comment.