squawk-cli 0.7.1 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +10 -3
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## v0.8.1 - 2021-11-30
11
+
12
+ ### Fixed
13
+
14
+ - copy pasta of rename-table into the ban-drop-column rule (#168)
15
+ - parsing an index without a name specified (#169)
16
+
17
+ ## v0.8.0 - 2021-10-31
18
+
19
+ ### Fixed
20
+
21
+ - false positives with disallowed-unique-constraint and adding-serial-primary-key-field. Thanks @qoelet! (#161)
22
+
23
+ ## v0.7.3 - 2021-08-11
24
+
25
+ ### Fixed
26
+
27
+ - false positives with require-concurrent-index rule (#157)
28
+
29
+ ## v0.7.2 - 2021-08-02
30
+
31
+ ### Fixed
32
+
33
+ - incorrect internal schema for "alter table" statements with function calls. Thanks @qoelet! (#154)
34
+
10
35
  ## v0.7.1 - 2021-05-30
11
36
 
12
37
  ### Fixed
package/README.md CHANGED
@@ -144,6 +144,7 @@ See the ["GitHub Integration" docs](https://squawkhq.com/docs/github_app) for mo
144
144
  - <https://www.postgresql.org/docs/10/sql-altertable.html#SQL-ALTERTABLE-NOTES>
145
145
  - <https://www.postgresql.org/docs/current/explicit-locking.html>
146
146
  - <https://benchling.engineering/move-fast-and-migrate-things-how-we-automated-migrations-in-postgres-d60aba0fc3d4>
147
+ - <https://medium.com/paypal-tech/postgresql-at-scale-database-schema-changes-without-downtime-20d3749ed680>
147
148
 
148
149
  ## dev
149
150
 
@@ -157,8 +158,8 @@ cargo run
157
158
 
158
159
  ### releasing a new version
159
160
 
160
- 1. update the CHANGELOG.md and bump version in all the dependency
161
- `Cargo.toml` as well as the CLI `Cargo.toml` and commit the changes
161
+ 1. update the CHANGELOG.md and bump version in the cli `Cargo.toml`, ensure the
162
+ lock file is updated, and update `package.json` and commit the changes
162
163
 
163
164
  ```bash
164
165
  # update version in Cargo.toml files and package.json to 4.5.3
@@ -166,7 +167,13 @@ cargo run
166
167
  ```
167
168
 
168
169
  2. create a new release on github - CI will attach the binaries automatically
169
- 3. bump version in `package.json` and follow the `npm` steps
170
+ 3. wait for build artifacts to be attached to release.
171
+ 4. login to `npm` and publish new version.
172
+
173
+ ```bash
174
+ npm login
175
+ npm publish
176
+ ```
170
177
 
171
178
  ## how it works
172
179
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squawk-cli",
3
- "version": "0.7.1",
3
+ "version": "0.8.1",
4
4
  "description": "linter for PostgreSQL, focused on migrations",
5
5
  "repository": "git@github.com:sbdchd/squawk.git",
6
6
  "author": "Steve Dignam <steve@dignam.xyz>",