prest

PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new

MIT License

Downloads
12
Stars
4.1K
Committers
72

Bot releases are hidden (Show)

prest - v1.1.5

Published by arxdsilva almost 2 years ago

Changelog

  • 203f06a68e7567fea6c96219685eefa7f1744d93: Add new test cases to cover this issue (@vmesel)
  • e4c6df5372984c27debbea705022d6aa92cd12dc: Adds new test cases (@vmesel)
  • 472f8998bd8a78bfff389e8c1923cab21427f0f8: Adds support to aggregation functions without group by statements (@vmesel)
  • ed0c58fc339c30593839d5f6f0d3877d9b53f9dc: Adds test case as the same on the issue (@vmesel)
  • d46ad6db6d0d4447a59c5923925452c66b7245e6: Adds testing coverage for the aggregation functions workaround (@vmesel)
  • c517c6c78958e8b47051ca2737b38446fcac2012: Fixes 'Select with one aggregate function without group by' test (@vmesel)
  • efbb535588ebbbe51bfedb3a5a4828b014a00786: Fixes chkInvalidIdentifier for table and column names (@vmesel)
  • 0e8cc7d19c8a550837b42249bb56047560d93d0a: Fixes styling (@vmesel)
  • 5ef263d62cf50b56c839720f17ca01a3908c86af: Remove unnecessary variable (@vmesel)
  • a02a591eb25cdf928018ebbabc99468035190fa1: Removes MEDIAN group function as it does not exist. (@vmesel)
  • 826d5dfa307a42259f3d5d647b0e15b8fd3088ba: Transform negative if to idiomatic go (@vmesel)
  • 26b61bd32fe3a6ee40f03b22098eaf2bb34375d4: set postgres minimal version to 9.5 (@avelino)
prest - v1.1.2

Published by arxdsilva almost 2 years ago

About

This release fixes the CORS middleware issues related to #695, #374, #674.

Fixtures

  • Replaces prest custom CORS middleware with cors, see #721 for more infos;
  • Fixes minor lint issues across all code;
  • Deprecates our custom CORS middleware.

Changelog

  • 5817d364ce56c0b4944b873b04ed4e2346045be4: add options method as default (@arxdsilva)
  • 7d4ce411b3bbf8f9232e3b5d40500f167b6ebf87: allow credentials (@arxdsilva)
  • ad79f36ab11f45926abfad57b44817649842786a: fix ctx lint err (@arxdsilva)
  • c30e946cf295495a11cc8db2e4ff21879f43004c: fix lint issues (@arxdsilva)
  • 66ae23d4779c8338bf1e0d268279267e29257633: replace cors middleware (@arxdsilva)
  • 0ac946d46462695a4b3d2a85e1eb0e2ce5897b96: set cors allow credentials configurable (@arxdsilva)
prest - v1.1.0

Published by arxdsilva about 2 years ago

Version 1.1.0 is full of new features, both to API and the postgres adapter.

PRs #713 and #666 included in this release.

Features

postgres adapter

  1. extends current interface, allowing to pass context on queries
  2. fallbacks to currentDB if no dbname found on context
  3. adds mocks to new extended interface
  4. fixes linter errors
  5. adds GetFromPool func here

API

  1. moves most implementations to use queries with Ctx from the postgres adapter
  2. adds default request timeout to 60 seconds (configurable - example)
  3. Sets maxIdleConn to 0, this avoids long lasting queries cut off by the API to leak memory into postgres

Changelog

  • 0281b4d8bedeeced687aec4340149b4bdc014487: Actually working, ready to wait for the go run (@avelino)
  • e45abe7b0b01cca9628a9f14d2fc2c94f64e8ec5: Add schema configuration for prest_users table (@benoitdm-oslandia)
  • 81ca46dfab0eacd1d279bfb91e664bf921ca60cf: Bump github.com/jmoiron/sqlx from 1.3.4 to 1.3.5 (@dependabot[bot])
  • e37bdbe646da38b4409c7de626d998211972ec09: Bump github.com/lib/pq from 1.10.4 to 1.10.5 (@dependabot[bot])
  • 02a164ffb54e7b2b3ef0ff348d4b8c2ed88ee3fa: Bump github.com/lib/pq from 1.10.5 to 1.10.6 (@dependabot[bot])
  • 0977300e530c9f5a7cb7aca17b8e7cbbc8cb1f20: Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (@dependabot[bot])
  • e46c8128446a4024636d056fb235a05edf2e11a9: Bump github.com/spf13/viper from 1.10.1 to 1.11.0 (@dependabot[bot])
  • 41cc084047ef132fcdbfd2f920ce02bfce53870d: Bump github.com/spf13/viper from 1.11.0 to 1.12.0 (@dependabot[bot])
  • 26a7e27d6db0abe0eab0cbbc8dc946fdd66fe37c: Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (@dependabot[bot])
  • d8d35790aea447eb58e9be17117470627902198a: Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (@dependabot[bot])
  • 4d9e2c4dc08a7a03360437351e539c047eb22b65: Bump github.com/tidwall/buntdb from 1.2.9 to 1.2.10 (@dependabot[bot])
  • 5669bdf33e9674ff9e97bc94ee9aa09fe5e697ec: CORS: correction and implementation of the method and header (@avelino)
  • 4b3614d8f0f138b81e9e1c27361f69f69b173149: Fix config tests (@benoitdm-oslandia)
  • 721dc03f67f01b34f9b460aed20a122991347cce: README: change pREST to prestd (@avelino)
  • 4d22efbdb50bcf5689ed76413512526d670df3b6: [ImgBot] Optimize images (@ImgBotApp)
  • 26c8e6d8e9d282884da3177ca05023426b56c617: [ImgBot] Optimize images (@ImgBotApp)
  • 5fd69de44947f3552577586bb65ed7a30584a91e: adapters/pg: count _select support (@avelino)
  • 97ea1a6afc4675e7f7566ec5c3d00b7b4b5f8d91: add BatchInsertValuesCtx and BatchInsertCopyCtx (@arxdsilva)
  • 7d49f104532bbe01323442d13cc58a1f15477bf9: add DeleteCtx (@arxdsilva)
  • 2d5bef4350656eb586a2d47aff6f15f7b8ef793d: add GetTransactionCtx and ExecuteScriptsCtx (@arxdsilva)
  • d2550d239d991269e21517366fe5ba7ca714ee9c: add InsertCtx (@arxdsilva)
  • dd930e76f9ac9ceb117d03977b713319b9b48e9b: add QueryCountCtx (@arxdsilva)
  • be10652a04afcbcf03eed11bd57efae03c6d34c0: add QueryCtx (@arxdsilva)
  • 8d451a65deb8c78192cd97631aa813e3301048d0: add ShowTableCtx (@arxdsilva)
  • a5b7f898aa07febf0fde62136d11713aa0216d53: add UpdateCtx (@arxdsilva)
  • 9a14c8131fe369f27029b144e601839a0f67f23d: add cache/test on git ignored file (@avelino)
  • b183e67608ac5d3677f95da603038af8678e1606: add comments (@arxdsilva)
  • 32d7d47b029547a07fba41689ef47e563fde5481: add context pkg (@arxdsilva)
  • d067263b17f3e8c9bf92dc8b92f04fcebe6a94f9: add default request timeout to config (@arxdsilva)
  • f7e9fb113447cb69ee3aac6cfc9cf3644a00239c: add errors (@arxdsilva)
  • d593b68c69bfa90ab2462a5b31abe9f326cd01ed: add key type for context (@arxdsilva)
  • 7dd348c789f7c61805a81b8b2c068362ebcc5c38: add local run docs (@arxdsilva)
  • 8f3c48d6e7a631bf13f4764b08daf1947c87ec8c: append author login (github account) on changelog (@avelino)
  • 76cd4ce8ff8ba288e635f76633316575e87cecbd: avoid db get error (@arxdsilva)
  • 9c3ba5133279e0ba2bee4a8da571b2b107c7e398: check err (@arxdsilva)
  • 6a276a4ced78377a706f04882a0f0d2f888a6815: controller/table: describe sql building blocks (@avelino)
  • 36ab9bc51418f59cd1ae4d16c13ed8e6e3a377fa: controller/table: go fmt (@avelino)
  • 2c4532b99b8d547a239dfff40cbef32459a4c959: controllers/tables: _count_first param support (@avelino)
  • 6375325d0e5a4b531090392014ebe6dc63f0a7d3: controlling plugin loading (@avelino)
  • 20be5df11cbd02dd7a564dbf3fa715e0d0b8d1ea: creat bashrc to user (@avelino)
  • 2d17873cce4c109487ce3aeeea6b3cfc077985fc: create basic prestd config (@avelino)
  • 552ba61be9078e23f391aef4e2aa8d1727677ffb: devcontainer: add md lint and toml vscode plugin (@avelino)
  • ae1bb371cce383f7a5a352a22a519ecc1376e232: disable v2 route (@arxdsilva)
  • 1e625ea653e789ddef463af663425d6dd1eaa15b: doc assets (@avelino)
  • 28eaf7d47856c361b2265f334d4f84062254b4ee: doc content assets (@avelino)
  • 04c563d2036fe5c79a429d8c3c01b87ca9b5e464: docker: beta releaser all commit main branch (@avelino)
  • 39cd7ca287f6abb6619e8ca2e84276fb59736668: docs: advanced queries, filter range (@avelino)
  • f4224f7635632edf045ea7af7c7b11edb270629c: docs: todo remove setdatabase (@arxdsilva)
  • 16b78a2fa32f0a7fe4910f9af965f8ffedd6a5fb: encrypt and getSelectQuery simplifications (@arxdsilva)
  • ab565afb7aa3633f836931d033c463c9022eb159: fix PR automated comments (@arxdsilva)
  • 0fa4eeac3737480027431d14adb821527746187c: fix identifier err msg (@arxdsilva)
  • 5122397d0283581fed3f4c3d4e5487d105f38913: fix json errors (@arxdsilva)
  • 5326bde94349fdd9df3022a2239f24c38aa9e988: fix lint (@arxdsilva)
  • e9414fe9d3a07a461899ebfae3e9ead1b38e49db: fix logs (@arxdsilva)
  • 925aefaf3257a806ca05c7b17a9ad8bf15e8cde8: fix router comment (@arxdsilva)
  • a2e5719f66c60614de73baf8b50e4a8b98525caa: fix schema tests (@arxdsilva)
  • 4a2a3169fd117f594cb1507688c90bd367ccc2d2: fix test case (@arxdsilva)
  • 6523b3d79a5c21ac8f537f89b5d3843bba2fec80: fix tests (@arxdsilva)
  • 234677ff95c1089eeda306df7180732f239a8859: fix tests (@arxdsilva)
  • ab5658472662818f4a07917ae68809269de7d202: fix tests to work with github workflow (@benoitdm-oslandia)
  • 498d35d7acccc2aa84be9e54b63bcd9a230ba9ee: fixed contribution link (@avelino)
  • ccacc614fbc11715a26b0680294fa37a38dc5ca7: gh action: remove netlify deploy (@avelino)
  • 9ef221dc4b0f8d65ee3e3400e4a8db4b98de0068: github codespace introduction (@avelino)
  • 9f12a5b53d79461df7ddc7d45920b413631ee904: how to alter plugin folder? (@avelino)
  • 0ed0c581ac37ccb79fdd57438d367ba1d9554aa4: image 4 from codespace was missing (@avelino)
  • e975cd5bb0c23e2678a63515e8bad1590e99eeff: initial codespace support (@avelino)
  • 77fadf4cfdc7862aab120a961cbfe2aadcb514b9: install golang plugin to vscode (@avelino)
  • cebbcf23621a13dffdd42aa7797a9ede08965afb: install psql (@avelino)
  • dcd1ce88c73a67652000859c567eae858a4fa4d7: log/pkg: change deprecated package (@avelino)
  • d8fddf80d1880842ef185ab88ea662d2b9eedf45: move ctx set (@arxdsilva)
  • f02711f8eb71d31d10dd1d73ab24947dcaab2975: only run build's docker steps on main branch (@arxdsilva)
  • d263930bc1b71843a51e0d51eb2d2d756d33e3bd: pass ctx to WriteSQL (@arxdsilva)
  • eadc8f4f40e6be4d4c658e71ecd09b04545b97f8: pass db address and fix logs (@arxdsilva)
  • 319b15c161451aca58aa2a2333b1dc0d8548a4a2: remove GOARCH from docker file (@avelino)
  • a8ea6c4da0cbef45d7f57f9ead3b202d26f23d0a: remove unused code (@arxdsilva)
  • 5e7d50d9651468955da16523f64e397116ad60c9: remove xsite error (@arxdsilva)
  • ab006bef60bddcac24e2e9dfa2ecc2a6ea60a805: revert dc comment (@arxdsilva)
  • 5fbca8d7c3d4560d209ae1c66f9d4da92619638c: route fixes (@arxdsilva)
  • 523ad15ab018b944a09c72f1e09a768f409c1e6d: separate golangci-lint in action (@arxdsilva)
  • a170823e05df67176d3a7280d8070806f4068087: simplify cfg logic (@arxdsilva)
  • fa008171113de377d0271d6ae321cb9c0420ffb1: simplify returns (@arxdsilva)
  • a24a3f5163b29af5c7619b9bf9925e8ac4f22fa2: update docker image to developer (@avelino)
  • b1712dfb0ea214cfc58beb29a5c0a7fca98b4cb9: update golang version in docker (@arxdsilva)
  • d72c1ebff08591be84317e76bb6a2ac35b5f10ed: update modules (@arxdsilva)
  • 68e29cf18702b117d140a6476c2d60212f8880b7: update settings devcontainers vscode (@avelino)
  • 4339a299e21a3ed85789a88abed752008271c184: use postgres 13 (@avelino)
  • b4b7846ea92d8bb44cb6870163b4a6f4795429e7: use require on DoRequest tests (@arxdsilva)
prest - v1.0.9

Published by avelino about 3 years ago

https://github.com/prest/prest/milestone/12

Changelog

a112c42 Add Distinct functionality for Queries
21a508c Add SSL environment variables to documentation.
dcc32c2 Bump github.com/auth0/go-jwt-middleware from 1.0.0 to 1.0.1
c2bc6a6 Bump github.com/form3tech-oss/jwt-go
b9e6145 Bump github.com/form3tech-oss/jwt-go
5f6733b Bump github.com/jmoiron/sqlx from 1.3.1 to 1.3.3
865db82 Bump github.com/jmoiron/sqlx from 1.3.3 to 1.3.4
3031d10 Bump github.com/lib/pq from 1.10.0 to 1.10.1
5b14cac Bump github.com/lib/pq from 1.10.1 to 1.10.2
5fc8851 Bump github.com/spf13/cobra from 1.1.3 to 1.2.1
f097df1 Bump github.com/spf13/viper from 1.7.1 to 1.8.0
7f8eb36 Bump github.com/spf13/viper from 1.8.0 to 1.8.1
dc8a50e Commit 336d868 changed SSLMode default value to 'require', but in PostgreSQL SSL is disabled by default so it broke some of our examples.
22287ed Fix command in tutorial
178becd Fix shell script that lacks of '' at the end of each line of the command line splitted into several lines.
b720ecd Fix typo in PREST_SSL_MODE environment variable name.
584651d Fix typo in tutorial
a1a1176 Improve performance of documentation building checking if the docbuild directory already exists and just update it before.
39676ec Link migration docs page on configuration
956e792 Spelling correction
e7942b9 Update FUNDING.yml
f9cda17 Update FUNDING.yml
6aa74b0 Update _index.en.md
e8f83a5 Update installation.en.md
e8031c2 Waits for postgres service to be healthy
018ffc9 [ImgBot] Optimize images
ccf8316 add public slack channel link
236c308 config: migration topic to text not code
d787e77 doc/query-statements: fixed distinct typo
308ec0b doc: organizing migration page
fb4cae2 docs: create deployment chapters, starting by heroku
f66ee76 fixed ident yaml
038b77f generate pREST version 1.0.9
37d0398 initial readme install manifests
6305671 initial version pREST on k8s
903c66e migration system explanation page written based on the documentation of the migration system we use (go package)
1de4e69 producthunt
ee6c4db producthunt docs
25348ef transform item list () to table
6e12aab update docker build script assets support
8c9228a write deploy by docker

prest - v1.0.8

Published by avelino over 3 years ago

Changelog

336d868 change ssl postgres default value to require require - Always SSL (skip verification)
1e77b7e generate pREST version 1.0.8

prest - v1.0.7

Published by avelino over 3 years ago

Changelog

2e14c7a change binary name in helper was with the old name from: prest to: prestd
20d577f change branch to main on travis-ci
1dab14f change travis-ci domain .org to .com
fa4c3b2 declare prefix in messages generated at the entrypoint assist in problem identification
aae5f32 generate pREST version 1.0.7 - clear docker image - replace branch master to main - hugo version upgrade
eeca3b6 moved prestd bin to /bin the distribution of prest as docker must be at the binary level and not the application level, so we move prestd to the bin folder of the operating system
3f80a4d remove README and LICENSE file of subpackages legacy of when pREST used multi repositories
4987868 rename master to main branch ref: https://github.com/github/renaming
0cbb24e set hugo version 0.82.0

prest - v1.0.6

Published by avelino over 3 years ago

Changelog

21cc631 Basic instruction to see the project works
362494c Bump github.com/jmoiron/sqlx from 1.2.0 to 1.3.0
e427be6 Bump github.com/jmoiron/sqlx from 1.3.0 to 1.3.1
b754fe3 Bump github.com/lib/pq from 1.9.0 to 1.10.0
90e5221 Bump github.com/spf13/cobra from 1.1.1 to 1.1.2 (#506)
be04cfd Bump github.com/spf13/cobra from 1.1.2 to 1.1.3
4e042f6 Migration instruction
7ef5a90 Remove patreon funding
f959d00 Upgrade sourcelevel badge
2f11d06 chore: update release version
b1c9a85 docs: add homebrew badge
de52b69 generate pREST version 1.0.6
14f135f prepare production version of docker compose file
51bad00 put prestd file (bin) on git ignore file
f7c4c44 update doc template repo name
78a6041 upgrade homebrew badget name prest to prestd
b4d6284 upgrade homebrew package name ref: https://github.com/Homebrew/homebrew-core/pull/69238
c37bed1 writing how to test and develop env pREST to simplify the testing of prest and developer input I am putting more content in the readme

prest - v1.0.5

Published by avelino almost 4 years ago

Changelog

cc7c500 301 postgres.rest to prestd.com in the project maintainers (mainly open source) we dream of having a .com or .org domain we were able to register the prestd.com domain
886a3e5 Added new Integrations section to documentation and added new (#485)
765d5f9 Auth: grant access to the endpoint when in the whitelist (#481)
6aef8fd Combine multiple appends into a single call
153da6a Fix admin bug report labels (#483)
c34b2a3 Fix script name (#484)
1d971e6 Fix support hyphen in dbname fixed: #446
01475d9 Give better visibility on the standard queries page
e6a4244 JWT white list support
69e8613 access ignore table configuration (#482)
5a646f5 added body and basic auth support
1517da3 basic documentation about the jwt token generating endpoint /auth
d224ca8 chenage jwt whitelist from string to slice (array) (#479)
548041c clear struct tag on JWTWhiteList
b912fac create dependabot file
ffdc344 create go mod in cmd/prestd folder
3b69be8 docs improvement configurations md style idents
9bb0a56 feat: implement auth jwt validation token
845487b fixed SQL against the ANSI syntax error at or near "-"
7accdb7 fixed auth table on main testdata
cb83e71 fixed batch table name set sufix -test
96047b5 fixed config package
9b677c3 fixed dbname on config parse test
0c8d4c1 fixed gofmt
2df3445 fixed title level on auth docs
48e67ec fixed typo
111db3c fixed typo: missing ',' before newline in composite literal
75e38fd fixed url match validation logic
3842962 force git checkout on goreleaser by tag
b2f8b5f full text search documentation
534a2c4 improve description of authentication documentation
f80e8c1 initial test to tsquery
df330a4 isolate jwt claims fixed: import cycle not allowed in test
c75bf67 make image size smaller
6bd9849 not check match url allow (#478)
f646e76 remove .vscode folder
5535a5c rename all database prest to prest-test on _test.go
b6a83b7 run migrate up auth on tests
8572345 set dbname with hyphen
4c7e310 set table patter on testdata toml
3fb612a starting implementation tsquery filter fixed #486
3e8451d type name will be used as auth.AuthClaims by other packages and that stutters; consider calling this Claims https://app.codacy.com/gh/prest/prest/file/49778161540/issues/source?bid=20144761&fileBranchId=20525726#l14
61b142c unify go module files (#474)
7e70316 update testify to 1.4.0
31f8b41 upgrade go dependence modules
ab086a5 upgrade pREST long description
165c1f8 use jwt-go fork by @form3tech-oss
ee3ec42 use prefix in the standard table of the prest
fc06611 use string on create database dbname script
129704a use the schema to create the table prest_users the database is deleted from each test group performed
ac068d6 user field will be username if our user (developer) wants to store email no problem, but we can not leave some places with email name and others as username

prest - v1.0.4

Published by avelino about 4 years ago

Changelog

452f88e Add port 6000 blockage infomation to configurations toml (#26)
6275fb0 Added PREST_PG_DATABASE var and network param (#36)
ef5bc0c Create LICENSE (#37)
f5d55c2 Fixed pREST logo on readme file
220e769 Include the explanation of debug mode (#31)
33c90f0 Update bug_report.md
9bb986c Update incorrect table name attribute (#33)
8628e65 Update issue_template.md
e0a10d1 Update netlify.toml
7a38559 [ImgBot] Optimize images (#35)
dcd55a2 add PREST_CONF environment var (#34)
000cf87 add example for separated configuration for read and write
3412ea6 add heroku 1-click deploy on readme
a987afd add tcp port wait on docker entrypoint fixed: #399
0aadd85 bug issue template: before reporting bug certifies
a52c804 clear dockerfile empty file
642ce43 clearing old names forgotten in some files
bb86cca clearing old names forgotten in some files
f3745ea create compose by pREST docker image
19566cd create issue template to admin project
148c468 create issue template to admin project
7ab0c71 create releases page
c3e1b86 delete old issue template
28871ed docs: fixed example custom middlewares
55e96a7 documentation HTTP PORT env refs: https://github.com/prest/config/pull/25 https://github.com/prest/prest/issues/333 https://github.com/prest/prest/issues/258
8b2fda1 enabling code scanning
cea2952 fixed typo bug label
126834a fixed typo bug label
978df02 godocs documentation url
360f542 implemented endpoint to table description (/show/...) (#414)
70ceec3 include gitter sidecar on documentation (#27)
c55cbed initial doc build
317a45e installment doc page (#39)
c963cb9 list endpoint /show on docs (#434)
4e6db61 merge docs content (md) to main repo
0057b47 merge docs content (md) to main repo
2467abc move docker login to releaser script
7d1b5c1 new logo (#38)
ba44af4 not build generate on travis
2333233 not use travisci on hugo doc render
d14cbee put comnetario in custom template to be clear
dc3e983 put comnetario in custom template to be clear
bd82ef1 query statement ilike operation (#23)
33f962c query-statements: fixed typo on ## GROUP BY
cfa0f1f refactor migrate commands (#430)
d297ac9 remove codetriage badge
d95cc51 remove docbuild folder if exist on netlify deploy
af6e41e rename api server issue template set prefix api server
15e29bc rename api server issue template set prefix api server
133f291 rename oneclick heroku repo to prest-heroku
a453f13 report database URL configuration in documentation refs - https://github.com/prest/prest/issues/315 - https://github.com/prest/config/pull/23
897d891 set coveralls button on
d9d3ebc set docker registry path (#432)
033bf64 set hugo version 0.74.3
37e3ee8 set issue templates
bf94895 set label on feature issue template
859cd99 set new pREST highlight description
11c950e set string on issue template about field
1a82648 set version 1.0.4
a40e0e8 site build by day
34ba3b0 template: split used example (#28)
6584998 travis PR: check TRAVIS_PULL_REQUEST before exec goveralls
7c3cf2b update example prest as web framework
4fa6afe upgrade editURL (#29)
a9b8c07 upgrade gitter webhook
6a4534f use github action to rebuild dynamic pages
405975b used netlify to generate hugo build

prest - v1.0.3

Published by avelino about 4 years ago

Changelog

2870dc8 active cgo
445e3f1 clear arch type
c676e1c create docker image tag by git tag name
ce697d7 create docker tag v1 to git tag name
84042ba deploy via sh script
18d439d docker build on travis skip goreleaser docker
41f2ec2 docker: use CMD not ENTRYPOINT to run prestd
fad44fa drop *bsd support
be169b8 drop netbsd support I'll make an issue of correcting this problem
7ccce41 fixed docker build cmd
eb757b3 fixed typo folder builder bin
f259d97 generate docker image latest on script travis build
66dbf31 go releaser ignore netbsd arm64
89c7a1d goreleaser check first "test"
a4b446f ignore prestd bin
d63ccb1 ignore windows i386
d20c3f2 install gcc-multilib on travis before
86b6400 link external and -static
fdaf6a3 move prestd to /app folder it's not good pattern to keep at the root of the system
ca6e694 remove arm support
cfd6c9c remove docker build on goreleaser
a7ece54 remove netgo tag
361bdfc reset build flags
cd28524 set cgo off
687c2c0 set flag netgo tags
bd49ff9 set ldflags -s -w on release ref: #391 location: https://github.com/goreleaser/goreleaser/issues/225
18f0c5e set os/arch on docker build
157f48c set varenv CGO_ENABLED
5a527af set version 1.0.3
d4f6bbe travis test goreleaser on script
455fc5b use bash to run deploy script

prest - v1.0.2

Published by avelino about 4 years ago

Changelog

05da905 remove travis build go version 1.10 at 1.13 we are unpackaged software, we need to maintain compatibility with the most current version of Go
b12898d gorelease set latest and major image
3ac35d5 gorelease ignore darwin 386
111c356 use go 1.15.x to deploy (release)
43a466f travis go 1.15.x support
d6c11ef fixed yaml ident
99aef76 docker image auto push to dockerhub by goreleaser

Docker images

  • docker pull prest/prest:v1.0.2
  • docker pull prest/ptest:v1
  • docker pull prest/prest:latest
prest - v1.0.1

Published by avelino about 4 years ago

Changelog

08c93e1 refactor: remove assert package
77843fd chore: fix package name
09bc472 chore: add test dependency
6a254cc prest/adapters: upgrade mod by tidy
eb122bd avoid panic on tx.commit calls (#55)
e3f1bf9 Merge pull request #385 from prest/increase_coverage
a544581 pass gofmt on files
ad4abcf test: increase middlewares code coverage
1596ccd test: fix var name
c9f1153 test: add test 'empty' methods
4ad58fa test: increase postgres/formatters coverage
3762b95 refactor: remove unused code
1b19436 test: increase config coverage
8462aba test: increase coverage in template/funcregistry

prest - v1.0.0

Published by avelino about 4 years ago

Changelog

d982702 force install inconshreveable/mousetrap
0a2ef40 fixed typo branch master
41e7430 travisci: set deploy on master branch
9504c3c gorelease docker img generate remove baby step
b3e0365 docker image by goreleaser
ad4a2d7 fixed docker image
94d76b0 goreleaser checker
312cac8 Merge pull request #384 from prest/avelino/more-go-version
e75a3f7 add support go 1.1[3-4] on travis build - 1.13.x - 1.14.x
b871f8e Merge pull request #382 from prest/coveralls_switch
2179774 chore: add coverage badge do readme
4bd1fe3 chore: switch codecover to coveralls
d84c8e2 chore: ignore coverage.out file
4b08c17 Merge pull request #379 from prest/avelino/upgrade-gomodules
94cf6e8 upgrade and generate all gomodule files
07cc1b6 fix main file path in Goreleaser (#377)
565f3bc fixed goreleaser ldflags merge repository
44717ed Merge pull request #375 from prest/viveksyngh/ssl-to-migrate-command-prest/cmd
1b0ba9e Merge https://github.com/viveksyngh/cmd into viveksyngh/ssl-to-migrate-command-prest/cmd
86fce87 Merge pull request #370 from prest/avelino/repositories-merge
8523763 fix: remove id and add empty return to tests
be80132 chore: add missing table
4b0a8c4 fix: controllers tests
994c8ac fix: prest tables permissions
b6590dd fix main.go path
ab75aca chore: install dependencies
0f03183 chore: remove GO111MODULE
4d4194b pass gofmt on files
0a80569 rename ConnectionPool to Pool
13a85ca add comment to exported const
fae586a update packages path
37dd02b create submodules
0b3e63d update internal modules
f7ea135 fix cmd and config path
525fc3a delete cmd vendor
15ceb2a Add ssl certs to migrate command URL
d09190e initial migration mono repo
27384f7 Merge commit '2eab00b' into avelino/repositories-merge
2eab00b Moved entire subrepo into transactions
00fe9b3 Merge commit 'faad30f' into avelino/repositories-merge
faad30f Moved entire subrepo into helpers
c21404a Merge commit 'a9224b1' into avelino/repositories-merge
a9224b1 Moved entire subrepo into template
99a4ffa Merge commit '491832a' into avelino/repositories-merge
491832a Moved entire subrepo into config
5a872ae Merge commit '5b6e7ad' into avelino/repositories-merge
5b6e7ad Moved entire subrepo into controllers
49a1d62 Merge commit '0ab9ab5' into avelino/repositories-merge
0ab9ab5 Moved entire subrepo into middlewares
2d98d85 Merge commit '7a7b49c' into avelino/repositories-merge
7a7b49c Moved entire subrepo into dbtime
322a73c Merge commit '41b8d44' into avelino/repositories-merge
41b8d44 Moved entire subrepo into cmd
57152cc Merge commit '30edd8a' into avelino/repositories-merge
30edd8a Moved entire subrepo into adapters
fe782dc Group function alias names (#53)
7200b74 Set default database on Custom Query (#22)
25fb4a6 allows user to overlay the middlewares (#16)
8a78bee Database url fix (#26)
ae0e543 add split func on template (#5)
53750aa Do not add stmt in cache if use transaction (#52)
75b2d0c treats if load postgres adapter (#14)
a5c1719 Merge pull request #15 from joelmdesouza/statements
e93a6db Update JWT token never expires
5ced9ec Update JWT never expires
f5a8ae7 Return 404 response for inserts,updates and deletes (#21)
632dbd5 Update jwt token TestJWTSignatureOk
0202572 Update testdata
6ec4bdd Move the statements package into the middlewares package
f657f41 added missing GetTransaction on mock
080ab42 Merge pull request #25 from prest/issue_333
fa41397 cloud factor support: PORT to http port ref https://github.com/prest/prest/issues/333
b7f47eb Implements transaction (#51)
b69fb39 Returning (#20)
619b861 from os/user to github.com/mitchellh/go-homedir (#24)
94d74c9 bugfix: "select by field" don't work when permissions is not set (#50)
c656d56 adds and normalizes debug messages to display SQL clause and query result
d3da479 unescape url before to send it to database (#4)
24a9991 added ilike support (#49)
e384ae0 fix some lint errors
8d07860 database connection url support (#23)
8574708 update field permission to allow multiple config and operations (#48)
c90158c delete messages (#22)
2ec5fe9 mark functions as test helpers (#47)
d1de3d3 load driver when start the server (#13)
0181674 TablePermissions respect prest conf (#46)
07dcf60 change way to show version so goreleaser can understand
dd2292c add configuration warnings (#12)
2defca4 remove warning about public configurations (#21)
c877df1 check if database is available (#45)
361ea77 Merge pull request #18 from prest/fix_insert_statuscode
12c95a5 update tests
8132088 returns status 201 instead of 200 in insert
87c3ca6 fix batch return
7244bc3 Revised batch insert (#17)
396261d Add BatchInsertInTables to make inserts with batch (#11)
a680d0f Batch insert (#16)
ce51108 fix when is not a slice
d0ed757 Merge pull request #3 from prest/script-slice
ea558e5 fix typo
114c56a add 1.10 to travis
f55a7d0 add supprt to slice on scripts
7080d6f Implement support for JWT algos (#14)
25c7971 remove go 1.7 support
7073425 Add JWT-algo configuration (#20)
806e64a sqlx stop support go 1.7 so prest stops too (#10)
03ddc99 Statements encapsulate (#15)
44e1a99 first commit
721f801 Merge pull request #14 from joelmdesouza/master
a0b6be8 Adjusted UpdateTable for compatibility with other Adapters
ad78673 Refactoring to use SQL Adapter Methods (#13)
fed004c Merge pull request #9 from negbie/master
2f8d6d7 Add HTTPHost to basic config struct (#18)
4f927b8 Listen on HTTPHost:HTTPPort
38910f4 Merge pull request #7 from prest/remove-unnecessary-else
a7ff18e remove unnecessary else
b1622cb Merge pull request #6 from RekGRpth/master
1a9f774 Merge pull request #17 from RekGRpth/master
87852e6 go fmt
a07d4aa https
3739ad5 https
04c51f2 escape url (#5)
f8b5c7f fix file mandatory (#16)
9e61e2d update version
2bb7a41 Merge pull request #11 from tiaguinho/master
e7a564d add allowCredentials header to every request
ada59db return allowed origin for every method
b5d873e Config file (#15)
6ab32d8 gae support as a framework (#4)
2389a79 configurable context path (#14)
b7c5947 Support access to all databases in PostgreSQL cluster (#10)
5e4eebe add ssl mode (#3)
9665a52 add ssl configurations (#13)
0d568c2 Joel`s conflicts and merge manuali (#11)
6d97a19 restructuring for use of more than one database adapter / middlewares (#8)
6605499 restructuring for use of more than one database adapter / config (#7)
bfca151 Merge pull request #12 from prest/cache_disable
1c44366 add config to disable cache stmt
b07db21 enable to customize jwt (#10)
23df0f5 jwt default implementation (#11)
4ed30c6 Merge pull request #2 from andrewsmedina/master
da90437 add Go 1.9 in travis platforms
14bc08e fix cors implementation (#9)
e55ed9a Support Distinct function in query (#9)
de23d7b Use SQL file to load database structure (#1)
424bf75 Use SQL file to load database structure (#8)
b76ca93 readme better
5a54eef Fix initApp that was initialize every time (#7)
06c3a14 improving support for CORS by handling preflight request and configurable allowed headers header (#6)
9c37a72 Merge pull request #5 from prest/fix/middlewares_import
43a41b5 Fix middlewares package import
4890cf7 Merge pull request #2 from prest/fix/middlewares_import
98c3a86 Add initial travis file
3475713 Fix middleware import
7df0c79 Merge pull request #5 from prest/feature/badges
7b0f398 Add status badges
b1923dc Merge pull request #4 from prest/capital
9bbb983 remove dot
419d432 remove capital
d1d7c04 Move config/middlewares to simply config.go on middlewares (#3)
19c7291 wrapper names with " (#4)
10cd2ac subindo dbtime
5e3ebb9 Initial commit
30f9da5 Add travis.yml file
06e8979 Merge pull request #2 from prest/fix_renderFormat_function
4bb1282 ad travis
f7d18d4 Merge pull request #1 from prest/improvements/refactor-cmd
6515e51 Merge github.com:prest/helpers
7e67e95 Initial commit
7ef50e3 Refactor cmd package
c834e8f Merge github.com:prest/cmd
6c5b23e Initial commit
91528fd Merge github.com:prest/template
ede1fc9 Initial commit
fc70b77 fix cors (#183)
55606d9 Migrate via gopkg (#165)
62d8edf prevent more than load when use pREST as a module (#155)
c44c1b9 implement funcs to help scripts (#152)
8029060 Prevents multiple startup when the pREST is used as a package. (#139)
6556055 set new release 0.1.7
87a5433 fix config propagate for all commands (#136)
089c60e Refactoring to prevent multiple configuration loads (#131)
6db6eb5 set new release 0.1.6
5ca7ee9 set new release 0.1.5
0cb1289 Added version command line (#125)
8df2085 Added version command line (#125)
69b40d3 possibility to reorder (#120)
2320a8f enable add custom middleware (#117)
ca84150 show error if have error in config file (#115)
ecf1ff9 updating from master
db9d0b4 added cors support
f5627cd modules structure
8d94df0 Remove _VIEW endpoint (#82)
a0d9651 Add process queries (#78)
3bde25b [WIP] Change Access Control verification (#80)
9ec35e2 Improvements tests and change endpoint to process view
fe75f07 Add Select operation from Views
af1b35a updated tests, test db and config
d130420 initial access permissions - WIP
00f4271 url based on configs
42327e8 remove cobra override default config code

prest - v0.3.5

Published by avelino about 4 years ago

Last version before joining the repositories to facilitate maintainability and contribution of the project.

From the next release it will be versioned 1.0

ref: #361

prest - v0.3.4

Published by felipeweb about 6 years ago

Changelog

51b5ee8 fix go version on deploy
ffa1ccd add unscape template function (#299)
cc17083 added pREST logo on right top readme file (#330)
cb2e1b4 Module (#328)
165a472 add ilke operator #324
f2974c3 PREST_PG_URL config var now set automatically when provisioning Postgres (#315)
44f1330 wrong fields at select (#321)

Docker images

  • docker pull prest/prest:v0.3.4
prest - v0.3.3

Published by felipeweb over 6 years ago

Changelog

269e337 postgres.Load isn't mandatory for all commands (#319)

Docker images

  • docker pull prest/prest:v0.3.3
prest - v0.3.2

Published by felipeweb over 6 years ago

Changelog

3f7e7d9 use vendor path on ldflags (#314)
7987eff BSD Support (#312)
a84f612 go version condition on release

Docker images

  • docker pull prest/prest:v0.3.2
prest - v0.3.1

Published by kemelzaidan over 6 years ago

Changelog

57e7128 enable docker on travis
348be9f change dockerfile to use just the binary because goreleaser already build the binary
f59c1e5 remove 1.8 support
f749a2c regenerate vendor to fix travis
82c3f54 travis force skip install step
b3d22c4 fix travis
26ee174 add goreleaser (#311)
cf86960 update all dependencies
6a4c35e update dependencies
9508ffb update dependencies
eb190b4 update dependencies
2fce13b update go version in dockerfile
2c3aa74 update dependencies
939fd1a update dependencies
d32adb8 update dependencies
30c224f update dependencies
9610184 update dependencies
66ac8d3 update dependencies
3429dab update dependencies
071c29d update dependencies
59c6cb3 update dependencies
2e9d70e Add CodeTriage badge to prest/prest (#270)
3d3c82c update dependencies
7e37aa7 update deps
dd46f78 update dependencies
472fd8e update dependencies
0781484 Readme: Minor fix for brackets (#264)
f78a427 update dependencies
87b2c78 update dependencies
2138c46 update dependencies
79bcb48 Merge pull request #255 from cassiobotaro/multi_stage_build
89f6516 flags sugested by @crgimenes
40a1dbc implement multi stage build to reduce image size
b43d271 update dependencies
2b451ff update dependencies
fe1bc9b update dependencies (#249)
ece1306 update dependencies (#242)

Docker images

  • docker pull prest/prest:v0.3.1
prest - v0.3.0

Published by avelino almost 7 years ago

Bug fixed:

  • Enable JWT middleware customization #230
  • CORS not work correctly (Improve support) (BUG FIXED) #219 #208 #181
  • n.Use does not work with a custom middleware #206
  • Keep getting "error": "sql: statement is closed" #205
  • Table name case sensitive issue #200
  • group by not working, permission crash #198
  • BUG on Windows platform using TOML config files #179
  • Response is not valid when SELECTing from an empty table #173

New features/improvements

  • Access multiple database #212
  • Restructuring for use of more than one database Adapter (opportunity to create new adapters to other databases, ref: #239 #240) #213
  • SSL connection availability #234
  • Support IS [NOT] {TRUE|FALSE} query operators #222
  • Support Distinct function in query #221
  • Support LIKE operator in query #220
  • Scanner.Scan now return length #214
  • Package is package, software is software #190
    • improve pREST support for use as framework
    • we split the pREST into packages
    • migrate to github organization (maintained by @nuveo)
  • Support group by #153
  • Prepare sql stateament on load #161
  • PREST_CONF must try to loading prest.toml file automatically #186
  • Show SQL Queries when Debug is True #191
prest - v0.2.0

Published by avelino over 7 years ago

Version v0.2 is being generated because we decided to improve the return pREST responses. In previous versions, we used pREST to handle the responses, but in the current version PostgreSQL will be used instead (through json_agg function). And in the body of the HTTP request the wrapper called data is no more necessary.

  • Queries with dynamic params #114
  • Insert's in JSON field not work #133
  • File configurator (prest.toml) is mandatory #138
  • Prevents multiple startup when the pREST is used as a package #139
  • Support array fields on request #140
  • Standardize the signatures of CRUD functions #142
  • Remove from request body the field data around content #145
  • Disable JWT on debug mode #147
  • Using json_agg to improve the return of json #157

Docker image: nuveo/prest:0.2

Package Rankings
Top 4.26% on Proxy.golang.org
Top 22.16% on Formulae.brew.sh
Badges
Extracted from project README
Tests GoDoc Go Report Card codecov Homebrew Discord CLA assistant Deploy to Heroku
Related Projects