Skip to content

Commit

Permalink
release: version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
silverhand-bot committed Sep 18, 2024
1 parent 71f3b53 commit 6b203ec
Show file tree
Hide file tree
Showing 41 changed files with 179 additions and 70 deletions.
5 changes: 0 additions & 5 deletions .changeset/good-knives-clap.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/nice-humans-fry.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/poor-lizards-cheer.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/browser-sample/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 2.0.18

### Patch Changes

- @logto/browser@2.2.18

## 2.0.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/browser-sample",
"version": "2.0.17",
"version": "2.0.18",
"license": "MIT",
"private": true,
"source": "public/index.html",
Expand Down
7 changes: 7 additions & 0 deletions packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 2.2.18

### Patch Changes

- Updated dependencies [e92940f]
- @logto/client@2.8.1

## 2.2.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/browser",
"version": "2.2.17",
"version": "2.2.18",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/capacitor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @logto/capacitor

## 2.0.4

### Patch Changes

- @logto/browser@2.2.18

## 2.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/capacitor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/capacitor",
"version": "2.0.3",
"version": "2.0.4",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/chrome-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @logto/chrome-extension

## 0.1.12

### Patch Changes

- @logto/browser@2.2.18

## 0.1.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/chrome-extension",
"version": "0.1.11",
"version": "0.1.12",
"description": "Logto Chrome extension SDK",
"type": "module",
"files": [
Expand Down
18 changes: 18 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## 2.8.1

### Patch Changes

- e92940f: add react-native package export condition

[Enabling package export](https://reactnative.dev/blog/2023/06/21/package-exports-support#enabling-package-exports-beta) in react-native is unstable and can cause issues.

Replace the `exports` in `@logto/client` package.json with the `react-native` [condition](https://reactnative.dev/blog/2023/06/21/package-exports-support#the-new-react-native-condition).

```json
{
"react-native": "./lib/shim.js"
}
```

So the `shim.js` module can be used in react-native projects, without enabling the unstable package export feature.

## 2.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/client",
"version": "2.8.0",
"version": "2.8.1",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/express-sample/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 2.0.16

### Patch Changes

- @logto/express@2.3.16

## 2.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/express-sample",
"version": "2.0.15",
"version": "2.0.16",
"license": "MIT",
"private": true,
"type": "module",
Expand Down
6 changes: 6 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 2.3.16

### Patch Changes

- @logto/node@2.5.7

## 2.3.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/express",
"version": "2.3.15",
"version": "2.3.16",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/next-app-dir-sample/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @logto/next-app-dir-sample

## 2.1.20

### Patch Changes

- @logto/next@3.6.1

## 2.1.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-app-dir-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/next-app-dir-sample",
"version": "2.1.19",
"version": "2.1.20",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/next-sample/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 2.1.20

### Patch Changes

- @logto/next@3.6.1

## 2.1.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/next-sample",
"version": "2.1.19",
"version": "2.1.20",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/next-server-actions-sample/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# next-server-actions-sample

## 2.3.2

### Patch Changes

- @logto/next@3.6.1

## 2.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-server-actions-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/next-server-actions-sample",
"version": "2.3.1",
"version": "2.3.2",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.6.1

### Patch Changes

- @logto/node@2.5.7

## 3.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/next",
"version": "3.6.0",
"version": "3.6.1",
"type": "module",
"main": "./lib/src/index.cjs",
"module": "./lib/src/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 2.5.7

### Patch Changes

- Updated dependencies [e92940f]
- @logto/client@2.8.1

## 2.5.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/node",
"version": "2.5.6",
"version": "2.5.7",
"type": "module",
"main": "./lib/src/index.cjs",
"module": "./lib/src/index.js",
Expand Down
38 changes: 38 additions & 0 deletions packages/nuxt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @logto/nuxt

## 1.0.0

### Major Changes

- 5f4de8c: add support for secure cookie storage in Nuxt SDK and improve security handling

This is a breaking change that enhances security but requires manual configuration:

- Introduce new `cookieSecure` configuration option to set whether Logto cookie should be secure
- Remove automatic HTTPS detection based on Request URL and headers
- No longer trust `x-forwarded-proto` or similar headers by default for security reasons

Previously, the SDK would automatically determine whether to use secure cookies based on the Request URL and headers. This automatic detection has been removed to prevent potential security vulnerabilities, especially in environments using reverse proxies or load balancers.

Now, users must explicitly configure the `cookieSecure` option based on their deployment environment. This change gives users more control and ensures that secure cookies are used only when explicitly configured.

It's strongly recommended to set `cookieSecure` to `true` when using HTTPS, especially in production environments.

Usage example:

```ts
// nuxt.config.ts
export default defineNuxtConfig({
modules: ["@logto/nuxt"],
logto: {
cookieSecure: true, // Enable secure cookie in HTTPS environments
},
});
```

### Minor Changes

- 71f3b53: support custom redirect base url settings for nuxt SDK

### Patch Changes

- @logto/node@2.5.7

## 0.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/nuxt",
"version": "0.3.4",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
Expand Down
6 changes: 6 additions & 0 deletions packages/react-sample/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 2.1.17

### Patch Changes

- @logto/react@3.0.16

## 2.1.16

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/react-sample",
"version": "2.1.16",
"version": "2.1.17",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 3.0.16

### Patch Changes

- @logto/browser@2.2.18

## 3.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/react",
"version": "3.0.15",
"version": "3.0.16",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
Loading

0 comments on commit 6b203ec

Please sign in to comment.