1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
dependabot[bot]
e9809c0ff0
chore(deps): bump knex from 2.2.0 to 2.4.0 in /docker (#2869)
Bumps [knex](https://github.com/knex/knex) from 2.2.0 to 2.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/knex/knex/releases">knex's
releases</a>.</em></p>
<blockquote>
<h2>2.4.0</h2>
<h3>New features:</h3>
<ul>
<li>Support partial unique indexes <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5316">#5316</a></li>
<li>Make compiling SQL in error message optional <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5282">#5282</a></li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Insert array into json column <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5321">#5321</a></li>
<li>Fix unexpected max acquire-timeout <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5377">#5377</a></li>
<li>Fix: orWhereJson <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5361">#5361</a></li>
<li>MySQL: Add assertion for basic where clause not to be object or
array <a
href="https://github-redirect.dependabot.com/knex/knex/issues/1227">#1227</a></li>
<li>SQLite: Fix changing the default value of a boolean column in SQLite
<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5319">#5319</a></li>
</ul>
<h3>Typings:</h3>
<ul>
<li>add missing type for 'expirationChecker' on PgConnectionConfig <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5334">#5334</a></li>
</ul>
<h2>2.3.0</h2>
<h3>New features:</h3>
<ul>
<li>PostgreSQL: Explicit jsonb support for custom pg clients <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5201">#5201</a></li>
<li>SQLite: Support returning with sqlite3 and better-sqlite3 <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5285">#5285</a></li>
<li>MSSQL: Implement mapBinding mssql dialect option <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5292">#5292</a></li>
</ul>
<h3>Typings:</h3>
<ul>
<li>Update types for TS 4.8 <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5279">#5279</a></li>
<li>Fix typo <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5267">#5267</a></li>
<li>Fix WhereJsonObject withCompositeTableType <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5306">#5306</a></li>
<li>Fix AnalyticFunction type <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5304">#5304</a></li>
<li>Infer specific column value type in aggregations <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5297">#5297</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/knex/knex/blob/master/CHANGELOG.md">knex's
changelog</a>.</em></p>
<blockquote>
<h1>2.4.0 - 06 January, 2022</h1>
<h3>New features:</h3>
<ul>
<li>Support partial unique indexes <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5316">#5316</a></li>
<li>Make compiling SQL in error message optional <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5282">#5282</a></li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Insert array into json column <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5321">#5321</a></li>
<li>Fix unexpected max acquire-timeout <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5377">#5377</a></li>
<li>Fix: orWhereJson <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5361">#5361</a></li>
<li>MySQL: Add assertion for basic where clause not to be object or
array <a
href="https://github-redirect.dependabot.com/knex/knex/issues/1227">#1227</a></li>
<li>SQLite: Fix changing the default value of a boolean column in SQLite
<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5319">#5319</a></li>
</ul>
<h3>Typings:</h3>
<ul>
<li>add missing type for 'expirationChecker' on PgConnectionConfig <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5334">#5334</a></li>
</ul>
<h1>2.3.0 - 31 August, 2022</h1>
<h3>New features:</h3>
<ul>
<li>PostgreSQL: Explicit jsonb support for custom pg clients <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5201">#5201</a></li>
<li>SQLite: Support returning with sqlite3 and better-sqlite3 <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5285">#5285</a></li>
<li>MSSQL: Implement mapBinding mssql dialect option <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5292">#5292</a></li>
</ul>
<h3>Typings:</h3>
<ul>
<li>Update types for TS 4.8 <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5279">#5279</a></li>
<li>Fix typo <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5267">#5267</a></li>
<li>Fix WhereJsonObject withCompositeTableType <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5306">#5306</a></li>
<li>Fix AnalyticFunction type <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5304">#5304</a></li>
<li>Infer specific column value type in aggregations <a
href="https://github-redirect.dependabot.com/knex/knex/issues/5297">#5297</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3475d81668"><code>3475d81</code></a>
Prepare to release 2.4.0</li>
<li><a
href="e97f92201a"><code>e97f922</code></a>
Bump tsd from 0.24.1 to 0.25.0 (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5396">#5396</a>)</li>
<li><a
href="e145322da9"><code>e145322</code></a>
1227: add assertion for basic where clause values (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5417">#5417</a>)</li>
<li><a
href="962bb0a635"><code>962bb0a</code></a>
Bump sinon from 14.0.2 to 15.0.1 (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5413">#5413</a>)</li>
<li><a
href="ab45314e70"><code>ab45314</code></a>
Add JSDoc (TS Flavour) to mjs stub file (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5390">#5390</a>)</li>
<li><a
href="72bd1f7396"><code>72bd1f7</code></a>
Fix: orWhereJson (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5361">#5361</a>)</li>
<li><a
href="4fc939a176"><code>4fc939a</code></a>
Fixes unexpected max acquire-timeout (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5377">#5377</a>)</li>
<li><a
href="5c4837cd4f"><code>5c4837c</code></a>
Fix lib/.gitignore path separator on Windows. (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5325">#5325</a>)</li>
<li><a
href="7dbbd00701"><code>7dbbd00</code></a>
Bump actions/setup-node from 3.4.1 to 3.5.1 (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5356">#5356</a>)</li>
<li><a
href="d39051f4a5"><code>d39051f</code></a>
fix: add missing type for 'expirationChecker' on PgConnectionConfig (<a
href="https://github-redirect.dependabot.com/knex/knex/issues/5334">#5334</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/knex/knex/compare/2.2.0...2.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=knex&package-manager=npm_and_yarn&previous-version=2.2.0&new-version=2.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 14:29:01 +01:00
Simon Hornby
3d0146cca7
Fix docker build (#2326)
* fix: patch stale docker lockfile
* fix: patch docker build to respect the fact that frontend now depends on some constants defined in unleash
2022-11-03 15:02:20 +01:00
sjaanus
a1ce89bedc
Merge frontend with backend (#1962)
* fix: use the frontend dir from the backend

* Build is now working

* Fix workflows

* Fix workflows

* Fix build PRs

* Test coverage workflow

* Test coverage

* Test coverage run

* Fix jest report

* refactor: add missing frontend build

* refactor: ignore frontend dir for coverage

* refactor: run frontend build in PRs

* refactor: run backend tests in PRs

* Revert "refactor: run backend tests in PRs"

This reverts commit 22cabddfd1.

* refactor: remove unused frontend build file

* refactor: test workflows in PR

* refactor: use a prepare script for the frontend

* refactor: simplify yarn build scripts

* refactor: fix check-release script

* Revert "refactor: test workflows in PR"

This reverts commit 496ae19404.

* refactor: remove unused gitignore lines

* refactor: remove renovate config from the frontend repo

* refactor: remove frontend repo license

* refactor: remove frontend repo changelog

* refactor: update frontend repo readme

* refactor: add frontend node_modules to dockerignore

* refactor: update the docker yarn.lock snapshot

Co-authored-by: olav <mail@olav.io>
2022-08-26 07:25:31 +00:00
Gard Rimestad
e2082b4493
feat: slim down docker container (#1790)
* feat: slim down docker container

This changes the unleash-server node module to be as little as it can,
resulting in a much smaller docker container. From 383M -> 11M.
2022-07-05 16:08:06 +02:00
renovate[bot]
14392ee975 fix(deps): update dependency passport to ^0.6.0 2022-06-28 20:16:55 +00:00
Gard Rimestad
5d5fc37dfd
Feat/docker container on main builds (#1762)
* feat: build docker containers when pushing to main

The intent here is to publish a docker container for every build of
main. This will make it easier to run the tip of main.
2022-06-28 16:13:00 +02:00