Skip to content

Next release #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 79 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
73a1152
pre-release on branch `next`
fquffio Feb 11, 2025
a094cf6
avoid persisting session when nothing has been written to it
fquffio Feb 13, 2025
8c506cb
add minimal string utility methods
fquffio Feb 13, 2025
99aa0ae
increase test coverage, reduce flakiness
fquffio Feb 13, 2025
e7760c7
use `@heyputer/kv.js` for in-memory cache, simplify and test
fquffio Feb 13, 2025
fcb8440
add dependabot config
fquffio Feb 13, 2025
e002505
add `asyncIterableToArray` method, fix test for node 20
fquffio Feb 13, 2025
adab7ff
run CI on current NodeJS LTS, run tests on multiple versions
fquffio Feb 13, 2025
98cf65e
Merge pull request #6 from chialab/refactor/session-persistence-optim…
fquffio Feb 13, 2025
b43b8b2
Version Packages (alpha)
github-actions[bot] Feb 13, 2025
38cbad3
Merge pull request #8 from chialab/changeset-release/next
fquffio Feb 13, 2025
0f5cf47
fix import of `@heyputer/kv.js` that caused build to fail
fquffio Feb 14, 2025
b2b5ed1
fix linter issues
fquffio Feb 14, 2025
4e49850
Version Packages (alpha)
github-actions[bot] Feb 14, 2025
281bb2f
Merge pull request #9 from chialab/changeset-release/next
fquffio Feb 14, 2025
0ab95c9
tell Changeset we're public now
fquffio Feb 14, 2025
3404b94
use patched version of `@heyputer/kv.js`
fquffio Feb 25, 2025
4318c59
Merge pull request #10 from chialab/fix/patched-kvjs-dependency
fquffio Feb 25, 2025
e888d48
Version Packages (alpha)
github-actions[bot] Feb 25, 2025
46032a3
Merge pull request #11 from chialab/changeset-release/next
fquffio Feb 25, 2025
233eaca
refactor: monorepo
DarioSacco Mar 17, 2025
7f3199a
fix CI workflows
DarioSacco Mar 17, 2025
8704d0b
CI install pnpm before using it...
DarioSacco Mar 17, 2025
a70a1e2
remove pnpm version from CI jobs
DarioSacco Mar 17, 2025
171c4f5
fix CI test command
DarioSacco Mar 19, 2025
74db3ad
fix utils package exports definition
DarioSacco Mar 20, 2025
46be015
fix path for folders ignored by eslint
DarioSacco Mar 20, 2025
c751a68
Merge pull request #12 from chialab/refactor/monorepo
DarioSacco Mar 21, 2025
a06fbbe
Version Packages (alpha)
github-actions[bot] Mar 21, 2025
3df9339
Merge pull request #13 from chialab/changeset-release/next
DarioSacco Mar 21, 2025
cc08616
chore: use correct version for `@chialab/sveltekit-utils`
DarioSacco Mar 21, 2025
d4a1a29
fix: bump to correct version of sveltekit-utils package to force publish
DarioSacco Mar 21, 2025
69c18fe
restore the store (eheh) implementation for `lazyLoad` function
DarioSacco Mar 25, 2025
cdd9919
Version Packages (alpha)
github-actions[bot] Mar 25, 2025
74b8efb
Merge pull request #14 from chialab/changeset-release/next
DarioSacco Mar 25, 2025
1830fbc
fix prettier plugin import
DarioSacco Mar 26, 2025
4a22a0a
Version Packages (alpha)
github-actions[bot] Mar 26, 2025
8d81193
Merge pull request #15 from chialab/changeset-release/next
DarioSacco Mar 26, 2025
e15506a
export fetch functions
DarioSacco Mar 26, 2025
e48edb1
Version Packages (alpha)
github-actions[bot] Mar 26, 2025
7e128a8
Merge pull request #16 from chialab/changeset-release/next
DarioSacco Mar 26, 2025
6b81e32
use cjs prettier config to be compatible with vscode prettier extension
DarioSacco Mar 27, 2025
e1133fd
Version Packages (alpha)
github-actions[bot] Mar 27, 2025
d7eca64
Merge pull request #17 from chialab/changeset-release/next
DarioSacco Mar 27, 2025
b9d7746
fix import of extended configs and plugins for stylelint
DarioSacco Mar 28, 2025
edf0d27
Version Packages (alpha)
github-actions[bot] Mar 28, 2025
fee26f5
Merge pull request #18 from chialab/changeset-release/next
DarioSacco Mar 28, 2025
702e8cd
chore: update scripts, add more dependencies to catalog
fquffio Apr 8, 2025
4e819a2
add `isomorphic-dom` utility package
fquffio Apr 8, 2025
7d35776
add support for `stripHtml` in NodeJS, decode HTML Entities
fquffio Apr 8, 2025
bd7cc11
rollback version as the package has not been published yet
fquffio Apr 8, 2025
6faa39a
fix CI
fquffio Apr 8, 2025
651f4a0
build packages before running tests
fquffio Apr 8, 2025
fc550ed
Merge pull request #19 from chialab/feat/isomorphic-dom-better-strip-…
fquffio Apr 8, 2025
b7aeec4
Version Packages (alpha)
github-actions[bot] Apr 8, 2025
4929242
Merge pull request #20 from chialab/changeset-release/next
fquffio Apr 8, 2025
291146c
move `@chialab/isomorphic-dom` to production dependencies
fquffio Apr 9, 2025
95c9804
Version Packages (alpha)
github-actions[bot] Apr 9, 2025
edda92a
Merge pull request #21 from chialab/changeset-release/next
fquffio Apr 9, 2025
24ded40
fix dist path
fquffio Apr 14, 2025
59eab1c
upgrade `@heyputer/kv.js` to latest version, fix keys never set in in…
fquffio Apr 14, 2025
41b0652
Version Packages (alpha)
github-actions[bot] Apr 14, 2025
105c73c
Merge pull request #22 from chialab/changeset-release/next
fquffio Apr 14, 2025
c58afd1
rollback to patched version of `@heyputer/kv.js` since 0.1.91 does no…
fquffio Apr 14, 2025
3975cab
Version Packages (alpha)
github-actions[bot] Apr 14, 2025
5421b9a
Merge pull request #23 from chialab/changeset-release/next
fquffio Apr 14, 2025
e7cfedb
fix: stripHtml method to remove style, script and iframes before extr…
DarioSacco Jun 10, 2025
5e097c9
Version Packages (alpha)
github-actions[bot] Jun 11, 2025
e6bac1d
Merge pull request #24 from chialab/changeset-release/next
DarioSacco Jun 11, 2025
6ab2ac7
Introducing a `S3` cache adapter
edoardocavazza Jun 12, 2025
b831790
Fix absolute expire
edoardocavazza Jun 12, 2025
9ac2d1a
More consistent clearPattern
edoardocavazza Jun 12, 2025
ee82e4a
Ensure default ttl is used
edoardocavazza Jun 12, 2025
d3383df
Explicit parseInt radix
edoardocavazza Jun 12, 2025
d130482
Handle missing key case
edoardocavazza Jun 12, 2025
4cd4d07
Use a single GetObject command
edoardocavazza Jun 13, 2025
0c0f14a
Merge pull request #25 from chialab/s3-cache-adapter
edoardocavazza Jun 16, 2025
9782c96
Version Packages (alpha)
github-actions[bot] Jun 16, 2025
5eee5af
Merge pull request #26 from chialab/changeset-release/next
fquffio Jun 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/beige-falcons-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-dev-utils": patch
---

Fix import of extended configs and plugins for stylelint
5 changes: 5 additions & 0 deletions .changeset/chubby-wasps-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": patch
---

Rollback to patched version of `@heyputer/kv.js` since 0.1.91 does not include fixes of HeyPuter/kv.js#18.
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"access": "public",
"baseBranch": "next",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/dry-lions-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chialab/sveltekit-utils': minor
---

Use `@heyputer/kv.js` for in-memory cache, simplify code and increase test coverage, add `clearPattern()` method to base cache interface.
5 changes: 5 additions & 0 deletions .changeset/few-knives-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chialab/sveltekit-utils': minor
---

Avoid persisting session if nothing has changed.
5 changes: 5 additions & 0 deletions .changeset/five-toes-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chialab/sveltekit-utils': patch
---

Fix import of `@heyputer/kv.js`.
5 changes: 5 additions & 0 deletions .changeset/funny-carrots-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": minor
---

Add support for `stripHtml` in NodeJS, decode HTML Entities.
5 changes: 5 additions & 0 deletions .changeset/giant-melons-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chialab/sveltekit-utils': patch
---

Use patched version of `@heyputer/kv.js`.
5 changes: 5 additions & 0 deletions .changeset/great-mails-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": patch
---

Move `@chialab/isomorphic-dom` to production dependencies.
5 changes: 5 additions & 0 deletions .changeset/hot-bats-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": patch
---

Fix stripHtml method to remove style, script and iframe tags before extracting the text in the html.
5 changes: 5 additions & 0 deletions .changeset/hot-spies-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chialab/sveltekit-utils': minor
---

Add `asyncIterableToArray` sort-of polyfill.
5 changes: 5 additions & 0 deletions .changeset/lazy-games-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-dev-utils": patch
---

Rename prettier config file to use commonJS to be compatible with vscode prettier extension...
5 changes: 5 additions & 0 deletions .changeset/lemon-insects-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chialab/sveltekit-utils': minor
---

Add minimal string utility methods.
5 changes: 5 additions & 0 deletions .changeset/loose-taxis-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-dev-utils": patch
---

Fix import of prettier's plugins in the config file.
5 changes: 5 additions & 0 deletions .changeset/modern-ways-stop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": patch
---

Restore the store implementation for `lazyLoad` function
5 changes: 5 additions & 0 deletions .changeset/nice-ants-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": minor
---

Introducing a `S3` cache adapter.
30 changes: 30 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"@chialab/sveltekit-utils": "0.0.2",
"@chialab/sveltekit-dev-utils": "0.0.2",
"@chialab/isomorphic-dom": "0.1.0-alpha.1"
},
"changesets": [
"beige-falcons-taste",
"chubby-wasps-serve",
"dry-lions-occur",
"few-knives-notice",
"fifty-drinks-bake",
"five-toes-live",
"funny-carrots-add",
"giant-melons-stare",
"great-mails-beg",
"hot-bats-pull",
"hot-spies-crash",
"lazy-games-serve",
"lemon-insects-laugh",
"loose-taxis-serve",
"modern-ways-stop",
"nice-ants-care",
"spicy-ghosts-fry",
"ten-views-grab",
"three-ways-pay"
]
}
5 changes: 5 additions & 0 deletions .changeset/spicy-ghosts-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": patch
---

Export fetch functions
6 changes: 6 additions & 0 deletions .changeset/ten-views-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@chialab/sveltekit-utils": minor
"@chialab/sveltekit-dev-utils": minor
---

Refactor to monorepo with configs and utils packages
5 changes: 5 additions & 0 deletions .changeset/three-ways-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/sveltekit-utils": patch
---

Upgrade `@heyputer/kv.js` to latest version, fix keys never set in in-memory cache when ttl was non-zero and key did not exist.
45 changes: 0 additions & 45 deletions .eslintrc.cjs

This file was deleted.

21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Maintain dependencies for NPM
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'

# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
groups:
gh-actions:
patterns: ['actions/*']
github:
patterns: ['github/*']
71 changes: 53 additions & 18 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,74 @@ on:
workflow_call:

jobs:
lint:
name: Lint
svelte-check:
name: Svelte Check
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
cache: yarn
node-version: "lts/*"
cache: pnpm

- name: Install project dependencies
run: pnpm install

- name: Build
run: pnpm run --recursive build

- name: Get Yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Check
run: pnpm run --recursive check

- name: Setup Yarn cache
uses: actions/cache@v4
eslint-check:
name: ESLint Check
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: "lts/*"
cache: pnpm

- name: Install project dependencies
run: yarn install

- name: Check
run: yarn run check
run: pnpm install

- name: Check eslint
run: yarn run eslint-check
run: pnpm run --recursive eslint-check

prettier-check:
name: Prettier Check
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: pnpm

- name: Install project dependencies
run: pnpm install

- name: Check prettier
run: yarn run prettier-check
run: pnpm run --recursive prettier-check
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Main
on:
workflow_dispatch:
push:
branches: [main]
branches: [main, next]
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,26 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
cache: yarn
node-version: "lts/*"
cache: pnpm

- name: Install project dependencies
run: yarn install
run: pnpm install

- name: Build project
run: yarn build
run: pnpm run --recursive build

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn changeset publish
publish: pnpm changeset publish
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading