~samwhited/xmpp

1a8e804e7af154af29f9b94ecac767a2fd7327e3 — Sam Whited a month ago b45fd77
pubsub: make internal package public

After thinking about it more, let's go ahead and make pubsub a public
package. We'll have plenty of time to fatten it up a bit before the next
release and this will save us time moving imports around in other
packages later.

Signed-off-by: Sam Whited <sam@samwhited.com>
6 files changed, 11 insertions(+), 7 deletions(-)

M CHANGELOG.md
R internal/pubsub/doc.go => pubsub/doc.go
R internal/pubsub/fetch.go => pubsub/fetch.go
R internal/pubsub/integration_test.go => pubsub/integration_test.go
R internal/pubsub/pubsub.go => pubsub/pubsub.go
R internal/pubsub/retract.go => pubsub/retract.go
M CHANGELOG.md => CHANGELOG.md +9 -0
@@ 10,6 10,15 @@ All notable changes to this project will be documented in this file.
  of `In` and `Out`


### Added:

- pubsub: new package implementing parts of [XEP-0060: Publish-Subscribe] and
  [XEP-0163: Personal Eventing Protocol]

[XEP-0060: Publish-Subscribe]: https://xmpp.org/extensions/xep-0060.html
[XEP-0163: Personal Eventing Protocol]: https://xmpp.org/extensions/xep-0163.html


## v0.20.0 — 2021-09-26

### Security

R internal/pubsub/doc.go => pubsub/doc.go +1 -6
@@ 3,12 3,7 @@
// license that can be found in the LICENSE file.

// Package pubsub implements data storage using a publish–subscribe pattern.
//
// This package is currently in internal while the API is flushed out as part of
// work on other higher-level packages that use it under the hood.
// It will eventually be moved to the exported packages once enough
// functionality is implemented and the API is somewhat more stable.
package pubsub // import "mellium.im/xmpp/internal/pubsub"
package pubsub // import "mellium.im/xmpp/pubsub"

// Various namespaces used by this package, provided as a convenience.
const (

R internal/pubsub/fetch.go => pubsub/fetch.go +0 -0
R internal/pubsub/integration_test.go => pubsub/integration_test.go +1 -1
@@ 20,7 20,7 @@ import (
	"mellium.im/xmpp/internal/integration"
	"mellium.im/xmpp/internal/integration/ejabberd"
	"mellium.im/xmpp/internal/integration/prosody"
	"mellium.im/xmpp/internal/pubsub"
	"mellium.im/xmpp/pubsub"
)

func TestIntegrationPubFetch(t *testing.T) {

R internal/pubsub/pubsub.go => pubsub/pubsub.go +0 -0
R internal/pubsub/retract.go => pubsub/retract.go +0 -0