Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: neondatabase/serverless
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6382b3bc0b2752ee0b4ee9eb9bd159ea10e102d1
Choose a base ref
...
head repository: neondatabase/serverless
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: eac7be63bdafed0d6edef48bfa161146e4bdab58
Choose a head ref
  • 13 commits
  • 15 files changed
  • 3 contributors

Commits on Jan 10, 2024

  1. Package version bump to 0.7.2

    jawj committed Jan 10, 2024
    Copy the full SHA
    4ac4bb6 View commit details

Commits on Jan 28, 2024

  1. Use the same domain name for the connections

    Anna Khanova committed Jan 28, 2024
    Copy the full SHA
    658a375 View commit details

Commits on Jan 30, 2024

  1. Address issues

    Anna Khanova committed Jan 30, 2024
    Copy the full SHA
    842d4af View commit details
  2. Address issues

    Anna Khanova committed Jan 30, 2024
    Copy the full SHA
    e11fb76 View commit details

Commits on Feb 6, 2024

  1. Address issues

    Anna Khanova committed Feb 6, 2024
    Copy the full SHA
    15d8b0c View commit details
  2. Update changelog

    Anna Khanova committed Feb 6, 2024
    Copy the full SHA
    31dbe9b View commit details
  3. 0.3.0

    Anna Khanova committed Feb 6, 2024
    Copy the full SHA
    fc4451c View commit details
  4. 0.4.0

    Anna Khanova committed Feb 6, 2024
    Copy the full SHA
    f9e1048 View commit details
  5. Update minor version

    Anna Khanova committed Feb 6, 2024
    Copy the full SHA
    e8bbeb7 View commit details
  6. Check at least two dots

    Anna Khanova committed Feb 6, 2024
    Copy the full SHA
    6fa5334 View commit details
  7. Merge pull request #60 from neondatabase/use-the-same-domain-name-for…

    …-queries
    
    Use the same domain name for the connections
    khanova authored Feb 6, 2024
    Copy the full SHA
    94b2711 View commit details
  8. Minor tweaks

    jawj committed Feb 6, 2024
    Copy the full SHA
    17861cd View commit details
  9. Copy the full SHA
    eac7be6 View commit details
Showing with 2,031 additions and 1,946 deletions.
  1. +1 −0 .gitignore
  2. +4 −0 CHANGELOG.md
  3. +1 −1 DEVELOP.md
  4. +4 −0 dist/npm/CHANGELOG.md
  5. +1 −1 dist/npm/DEVELOP.md
  6. +546 −539 dist/npm/index.js
  7. +548 −541 dist/npm/index.mjs
  8. +3 −3 dist/npm/package-lock.json
  9. +2 −2 dist/npm/package.json
  10. +612 −605 dist/serverless.mjs
  11. +15 −1 export/index.ts
  12. +280 −248 package-lock.json
  13. +2 −2 package.json
  14. +12 −2 shims/net/index.ts
  15. +0 −1 src/index.ts
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.dev.vars
.env.local
node_modules
tmp
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.8.0 (2024-02-06)

Use a single (per-region) domain name for all connections to Neon databases. Intended to help with connection caching in V8. Passes the endpoint ID inside connection options for WebSocket connections.

## 0.7.2 (2024-01-10)

Export a full ESM build to index.mjs -- don't just wrap the CJS code -- since no wrapping method seems reliable across bundlers and platforms. It's now important to only `require` or only `import` the package: if you mix, you'll get two copies of the code that don't share configuration changes.
2 changes: 1 addition & 1 deletion DEVELOP.md
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ npm version patch # or minor or major
npm publish
```

* To run or deploy the simple test app on Cloudflare, create a `.dev.vars` file containing `DATABASE_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`.
* To run or deploy the simple test app on Cloudflare, create a `.dev.vars` file containing `NEON_DB_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`.

* To run the latencies test app in a browser, create a `.dev.vars` file as above, run `npm run browser` and visit `http://localhost:7070/dist/browser/`. To include debug output and avoid minification, use `npm run browserDebug` instead.

4 changes: 4 additions & 0 deletions dist/npm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.8.0 (2024-02-06)

Use a single (per-region) domain name for all connections to Neon databases. Intended to help with connection caching in V8. Passes the endpoint ID inside connection options for WebSocket connections.

## 0.7.2 (2024-01-10)

Export a full ESM build to index.mjs -- don't just wrap the CJS code -- since no wrapping method seems reliable across bundlers and platforms. It's now important to only `require` or only `import` the package: if you mix, you'll get two copies of the code that don't share configuration changes.
2 changes: 1 addition & 1 deletion dist/npm/DEVELOP.md
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ npm version patch # or minor or major
npm publish
```

* To run or deploy the simple test app on Cloudflare, create a `.dev.vars` file containing `DATABASE_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`.
* To run or deploy the simple test app on Cloudflare, create a `.dev.vars` file containing `NEON_DB_URL=postgres://connection_string`, run `npx wrangler dev --local` or `npx wrangler publish`.

* To run the latencies test app in a browser, create a `.dev.vars` file as above, run `npm run browser` and visit `http://localhost:7070/dist/browser/`. To include debug output and avoid minification, use `npm run browserDebug` instead.

Loading