Skip to content

Releases: pconstantinou/neoq

v0.6.0

08 Feb 23:39
94d7d68
Compare
Choose a tag to compare

Changelog

BREAKING CHANGES

  • 23098bc break: Move queue name into Handler
  • 20f5b13 break: Rename types.Backend -> neoq.Neoq

Bug fixes

  • fab0736 fix(ci): Fixed github actions tests on PRs
  • 26c6921 fix(pg): Fixed data race conditions in unit tests
  • 42da4d8 fix(pg): Fixed error logs for multi node cron jobs. (acaloiaro#94)
  • 8b21247 fix(pg): Fixing notify handling name cases oddly.
  • e95311e fix: acaloiaro#98 retries can be picked up by wrong handler
  • 84caae3 fix: acaloiaro#98 segvault when moving jobs to dead queue
  • bf2e07c fix: Accumulation of cancel() funcs enqueueing on pg backend
  • 1598184 fix: Add deadline to pool connection acquisition
  • a17ea73 fix: Bare 'make' fails due to go vet
  • 5f01b4e fix: Fix naked return in memory backend StartCron
  • 342aad6 fix: Incorrectly passing pgx connections params to pq
  • afd1f4c fix: MaxRetries not persisting in PG backend
  • 12a6667 fix: Redis backend does not respect MaxRetries
  • 41b39d5 fix: Use neoq-specific schema migrations able
  • 845f96a fix: memory backend does not respect MaxRetries
  • 0db1180 fix: neoq_jobs.id is an integer and should be bigint

Features

  • 35085be feat: Announce jobs using PG trigger
  • de2e101 feat: Default to disable synchronous postgres commit
  • 69f57ca feat: Disallow adding items to the unnamed queue
  • bc8df98 feat: Hold connections and transactions for less time
  • 6ea1bb6 feat: Improve postgres duplicate job detection performance
  • 86f7869 feat: Multiplex the listener connection
  • 5a00fa1 feat: Remove dead code
  • d66905f feat: ensure memory backend exits gracefully during Shutdown()
  • 040c0de fix: Revert "feat: Hold connections and transactions for less time"

Maintenance

  • f2ccb00 maint: Remove dead code from pg backend
  • 84c2aaa maint: Update README to point at Getting Started wiki
  • 2ce0076 maint: clean up testutils/TestLogger

Others

v0.5.0

21 Jan 19:15
Compare
Choose a tag to compare

Changelog

Others

v0.4.0

21 Jan 18:42
Compare
Choose a tag to compare

Changelog

Others

v0.3.0

21 Jan 10:02
Compare
Choose a tag to compare

Changelog

Others

  • 4c77b9f See if the old indexs helped with race conditions

v0.2.0

21 Jan 09:43
Compare
Choose a tag to compare

Changelog

Others

v0.1.1

21 Jan 09:25
Compare
Choose a tag to compare

Bug fix password
Add overriding jobs

v0.1.0

21 Jan 09:21
Compare
Choose a tag to compare

Changelog

BREAKING CHANGES

  • 23098bc break: Move queue name into Handler
  • 20f5b13 break: Rename types.Backend -> neoq.Neoq

Bug fixes

  • fab0736 fix(ci): Fixed github actions tests on PRs
  • 26c6921 fix(pg): Fixed data race conditions in unit tests
  • 42da4d8 fix(pg): Fixed error logs for multi node cron jobs. (acaloiaro#94)
  • 8b21247 fix(pg): Fixing notify handling name cases oddly.
  • e95311e fix: acaloiaro#98 retries can be picked up by wrong handler
  • 84caae3 fix: acaloiaro#98 segvault when moving jobs to dead queue
  • bf2e07c fix: Accumulation of cancel() funcs enqueueing on pg backend
  • 1598184 fix: Add deadline to pool connection acquisition
  • a17ea73 fix: Bare 'make' fails due to go vet
  • 5f01b4e fix: Fix naked return in memory backend StartCron
  • 342aad6 fix: Incorrectly passing pgx connections params to pq
  • afd1f4c fix: MaxRetries not persisting in PG backend
  • 12a6667 fix: Redis backend does not respect MaxRetries
  • 41b39d5 fix: Use neoq-specific schema migrations able
  • 845f96a fix: memory backend does not respect MaxRetries
  • 0db1180 fix: neoq_jobs.id is an integer and should be bigint

Features

  • 35085be feat: Announce jobs using PG trigger
  • de2e101 feat: Default to disable synchronous postgres commit
  • 69f57ca feat: Disallow adding items to the unnamed queue
  • bc8df98 feat: Hold connections and transactions for less time
  • 6ea1bb6 feat: Improve postgres duplicate job detection performance
  • 86f7869 feat: Multiplex the listener connection
  • 5a00fa1 feat: Remove dead code
  • d66905f feat: ensure memory backend exits gracefully during Shutdown()
  • 040c0de fix: Revert "feat: Hold connections and transactions for less time"

Maintenance

  • f2ccb00 maint: Remove dead code from pg backend
  • 84c2aaa maint: Update README to point at Getting Started wiki
  • 2ce0076 maint: clean up testutils/TestLogger

Others

  • eb430e9 Acquire a new connection for every queue listener (acaloiaro#38)
  • e1e9c1f Add full AGPL license text
  • 4559513 Add gitter chat to README
  • fc011c9 Add go.dev badge
  • b2e3dec Add goreleaser
  • 93a646a Add in-memory backend
  • dd30508 Add index for 'fingerprint' field
  • 0ec2df7 Add linting
  • 43a0a13 Add log level support (acaloiaro#49)
  • d68db7b Add log level to redis and memory backends (acaloiaro#50)
  • dbeb855 Add logger configuration options
  • f1f5ea2 Add periodic job support
  • aaed37e Add redis support (acaloiaro#44)
  • 963a4b7 Add todo_to_issue workflows
  • c74f31e Add update-dependencies make target
  • 29b2de8 Added Fingerprint error
  • 5010cab Added additional support for allowing overriding fongerprints
  • 0582c3e Added job option
  • 5517a67 Align struct
  • a02bc26 Allow overriding schedule jobs
  • 8efe34f Another round of implementtion of overriding values with a matching fingerprint
  • 68ff6c5 Bug fixing for postgres and memory backends, polish the unit tests
  • 1db5b7c Bump dependencies
  • 2a1d77c Bump golang version
  • 93fff3b Bump goreleaser go version 1.19->1.20
  • 2344b13 Code review comments
  • dd4447f Configure db
  • 1a9db7c Disable go mod tidy goreleaser hook
  • 2e5c460 Disable ireturn and testpackage linters
  • e3fa7d9 Do not compare error's string output
  • 1f86274 Documentation improvements
  • 1914536 Don't export Handler fields
  • 077fe8c Don't use error-wrapping directive in log.Fatalf calls
  • cc6a3d9 Enable goerr113 linter
  • 49d5539 Fix backends documentation
  • fcc9f0e Fix examples and remove 'sslmode' from default connect string
  • 67e83aa Fix golangci-lint workflow
  • b2fcace Fix matrix chat badge
  • 631c508 Fix memory backend support for multiple queues
  • 145c9df Fix memory backend test and WithOptions()
  • a70e9eb Fix optional pool params on connection string
  • 71dd54b Fix postgres Handler error handling (acaloiaro#47)
  • 106ab0f Fix retries in the event of handler panic (acaloiaro#48)
  • c237f31 Fix slog API change issue
  • ee5f061 Fix test
  • f8238f8 Fix todo to issue config
  • 8c77833 Fix typo in example name and clarify example comments
  • ca55aa6 Group job status consts
  • 3616ccc Ignore vendor directory
  • c232bc8 Implement Shutdown() functionality
  • ad6f6c0 Initial commit
  • d47845d Make JobWithContext private
  • 49317f4 Make [rR]edisBackend public
  • 895ea02 Make future job check interval configurable
  • 07a336a Make handler context vars backend agnostic (acaloiaro#37)
  • 3b21d02 Make matrix chat badge clickable
  • 6a368e0 Make multiple queue test less finicky
  • d5bc4d1 Make overriding an optional on enqueue
  • 900893d Mem: Add multiple handlers per queue
  • acbba8d Merge pull request #1 from jcmuller/suggestions
  • af8f9cf Merge pull request acaloiaro#10 from acaloiaro/implement-shutdown-functionality
  • 6972637 Merge pull request #2 from jcmuller/add-linting
  • ad58949 Merge pull request acaloiaro#21 from acaloiaro/make-future-job-check-interval-configurable
  • 1911da5 Merge pull request acaloiaro#24 from acaloiaro/add-with-logger-config
  • bde273b Merge pull request #3 from jcmuller/add-test-action
  • a9f2f6b Merge pull request acaloiaro#30 from acaloiaro/move-backends-to-separate-package
  • f4fad1f Merge pull request #4 from jcmuller/fix-error-checking
  • 68a3c56 Merge pull request acaloiaro#5 from acaloiaro/add-in-memory-backend
  • b0fc294 Merge pull request acaloiaro#9 from acaloiaro/more-suggestions
  • a5a5f8b Merge remote-tracking branch 'origin/bug/encode-password'
  • 5b66209 Move backends to separate packages
  • 219ea84 Move config.WithConnectionString -> postgres.WithConnectionString (acaloiaro#43)
  • d3fe760 Move goreleaser to 'main' branch
  • 81845a2 Move handlers.FromJobContext() -> jobs.FromContext() (acaloiaro#41)
  • 9ba0f62 Move queries to postgres_backend.go
  • b9ca892 Only run the manual todo to issue workflow when run manually
  • 44db35b Pass in contexts
  • 56a64d7 Provide WithOptions instead
  • 18b811f README update
  • 0217979 Really fix matrix badge?
  • 0984795 Refactor Handler WithOption function names
  • 621b105 Refactor ReplaceNonAlphanum() to use regex.ReplaceAllString()
  • 9dff9f2 Refactor: separate neoq core from backends
  • d253b50 Remove *Opt suffix from WithConfig
  • d8c6378 Remove add multiple handlers per queue (acaloiaro#42)
  • ba0032e Remove dangling import
  • 40d411f Remove logger from Hander
  • 2dd5325 Rename PgBackend so it doesn't stutter
  • e5071b4 Revert "temporarily disable linting"
  • 28cb633 Run tests
  • 57c75de Set database name on connection string
  • 45adbf3 Simpllify getting started example in README.md
  • 7259486 Support job deadlines
  • a4c54e0 Support postgres backend schema migrations
  • 6eef1d5 Trivial typo fix
  • cc7bb74 URL encode password
  • 7545d11 Update DATABASE_URL -> TEST_DATABASE_URL
  • 934594a Update README
  • 5efdee4 Update README.md
  • dbda88a Update README.md
  • 43c2bf0 Update README.md
  • 940093a Update README.md
  • 30c9da5 Update README.md
  • acd50c4 Update WithLogger TODO
  • 22fe80c Update conflict statement to match constraints
  • 4639e53 Update docs regarding lost connections while updating jobs (acaloiaro#39)
  • 68238e1 Update documentation/README
  • 51452ed Update env.sample with better examples
  • 1472507 Update env.sample with better examples
  • c04ef69 Update github action config
  • 1cae205 Update goreleaser to ignore README.md and env.sample
  • 20edd84 Update neoq Matrix chat badge
  • 1c92db5 Update slog (acaloiaro#46)
  • 5d7ca98 Updated .gitignore
  • a024be6 Updated code TODOs
  • b88400a Upgrade goreleaser github action version
  • da96409 Use WithOption
  • 697df81 Use durations
  • a43ea27 Use the tool to create the migrations
  • 84826b5 Use time.Until instead of t.Sub(time.Now())
  • 3a10351 bug(pg): Adding test to demonstrate bug with uppercase queue names
  • a87cc3d chore(deps): bump golang.org/x/crypto from 0.7.0 to 0.17.0
  • 659a654 chore(log): Make logging consistent and make sure queue is logged.
  • e6ece3c chore(log): Tweaking logging again, making everything consistent (acaloiaro#101)
  • 52e118e chore(test): Adding a test for multiple consumers with the pg backend.
  • fb1fec1 chore: Minor tweak
  • 6c33a95 combined todo to issue workflows
  • 86955cb examples: Cleanup
  • 8e8a317 go mod tidy
  • 3a1dbe0 improve logging functionality
  • 784ea57 increase test coverage over memory backend
  • aabb567 remove unused errors
  • f43f3c6 temporarily disable linting