Releases: milobella/oratio
Releases · milobella/oratio
Patch v1.4.7: Don't init slice with length if you append after...
Patch v1.4.6: Abilities management fixes
What's Changed
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho to v0.36.2 by @renovate in #83
- fix(deps): update opentelemetry-go monorepo by @renovate in #85
- fix(deps): update module github.com/labstack/echo/v4 to v4.9.1 by @renovate in #84
- Some fixes around abilities by @celian-garcia in #86
Full Changelog: v1.4.5...v1.4.6
Patch v1.4.5: Propagate actions properly
What's Changed
- fix(deps): update module go.mongodb.org/mongo-driver to v1.10.3 by @renovate in #78
- fix: config reading by @celian-garcia in #79
- fix(#80): Propagate actions from ability response to oratio response by @celian-garcia in #81
- refactor: server handlers initialized through builder by @celian-garcia in #82
Full Changelog: v1.4.4...v1.4.5
v1.4.4: Go 1.19 + minor deps
What's Changed
- fix(deps): update opentelemetry-go monorepo by @renovate in #45
- fix(deps): update opentelemetry-go monorepo to v1.4.1 by @renovate in #46
- fix(deps): update module go.mongodb.org/mongo-driver to v1.8.4 by @renovate in #47
- fix(deps): update module github.com/labstack/echo/v4 to v4.7.0 by @renovate in #48
- fix(deps): update module github.com/labstack/echo/v4 to v4.7.1 by @renovate in #49
- chore(deps): update dependency golang to v1.18 by @renovate in #50
- fix(deps): update module github.com/labstack/echo/v4 to v4.7.2 by @renovate in #51
- fix(deps): update opentelemetry-go monorepo to v1.5.0 by @renovate in #52
- fix(deps): update opentelemetry-go monorepo by @renovate in #53
- fix(deps): update opentelemetry-go monorepo to v1.6.0 by @renovate in #54
- fix(deps): update opentelemetry-go monorepo by @renovate in #55
- fix(deps): update module go.mongodb.org/mongo-driver to v1.9.0 by @renovate in #56
- fix(deps): update opentelemetry-go monorepo to v1.6.3 by @renovate in #57
- fix(deps): update module github.com/spf13/viper to v1.11.0 by @renovate in #58
- fix(deps): update opentelemetry-go monorepo by @renovate in #59
- fix(deps): update module go.mongodb.org/mongo-driver to v1.9.1 by @renovate in #60
- fix(deps): update module github.com/spf13/viper to v1.12.0 by @renovate in #61
- fix(deps): update opentelemetry-go monorepo by @renovate in #62
- fix(deps): update module go.mongodb.org/mongo-driver to v1.10.0 by @renovate in #63
- fix(deps): update module github.com/sirupsen/logrus to v1.9.0 by @renovate in #64
- chore(deps): update module go to 1.18 by @renovate in #65
- fix(deps): update opentelemetry-go monorepo by @renovate in #67
- fix(deps): update module go.mongodb.org/mongo-driver to v1.10.1 by @renovate in #69
- chore(deps): update module go to 1.19 by @renovate in #66
- chore(deps): update dependency golang to v1.19 by @renovate in #68
- fix(deps): update module github.com/labstack/echo/v4 to v4.8.0 by @renovate in #70
- fix(deps): update module go.mongodb.org/mongo-driver to v1.10.2 by @renovate in #73
- fix(deps): update module github.com/labstack/echo/v4 to v4.9.0 by @renovate in #71
- fix(deps): update module github.com/spf13/viper to v1.13.0 by @renovate in #72
- fix(deps): update opentelemetry-go monorepo to v1.10.0 by @renovate in #74
- fix(deps): update opentelemetry-go monorepo by @renovate in #75
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho to v0.36.0 by @renovate in #76
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho to v0.36.1 by @renovate in #77
Full Changelog: v1.4.3...v1.4.4
v1.4.3 : Add the last ability in the context even if the cache didn't work
Merge pull request #44 from milobella/action Add the last ability in the context even if the cache didn't work
v1.4.2 : Save the ability clients by it's name on start
🐞 Bugfix
- Save the ability clients by it's name on start
v1.4.1 : Fix Last ability setup
🐞 Bugfix
- Setup last ability in context if no error occurred in the call
v1.4.0 : Improve ability selection
✨ Features
- Enable some fields in the request and response
request.device.instruments
can be sent to give the list of the available instruments (e.g the list of chrome cast availables)response.actions
can be read to get the list of actions to perform, on which instrument
Disclaimer : For now models are ultra permissive and makes a heavy and unsafe usage of interface{} to propagate things as is to the ability.
It means that unexpected format error can happen.
- Ability selection has been improved. If the request's context says that a slot filling mechanism is in place, we force the future request to be sent to last ability.
📜 Configuration
- [Breaking Change] Rework on abilities configuration
- [NEW]
abilities.stop_intent
is the intent to cut the slot filling mechanism described in features.
[abilities] # new
stop_intent = "STOP" # new
[abilities.database] # moved from [abilities_database]
mongo_database = "oratio"
mongo_collection = "abilities"
mongo_url = "mongodb://localhost:27017"
[abilities.cache] # moved from [abilities_cache]
expiration = "24h"
cleanup_interval = "1h"
[[abilities.list]] # moved from [[abilities]]
name = "cinema"
intents = ["LAST_SHOWTIME"]
host = "localhost"
port = 10200
# [...]
v1.3.0 : Tracing integration
✨ Features
- Tracing implementation
📜 Configuration
- [Breaking Change]
server.log_level
takes now an integer from 1 to 7 [panic, fatal, error, warn, info, debug, trace] (corresponding to logrus log levels) - [NEW] We can set database & collection names of MongoDB Abilities collection
- [NEW] A simple tracing configuration with jaeger agent setting
- [Breaking Change] Moved the app_secret to a dedicated section
[server]
log_level = 5 # breaking change (was log_level = "<root>=INFO" before)
[tracing] # new
service_name = "milobella" # new
jaeger_agent_hostname = "0.0.0.0" # new
jaeger_agent_port = 6783 # new
[abilities_database]
mongo_database = "oratio" # new
mongo_collection = "abilities" # new
[auth] # new
app_secret = "mysecret" # moved
🔧 Maintenance
- Update dependencies to latest versions
Renovate
integration to update dependencies automatically- Upgrade to Go 1.17
Patch 1.2.1 : Content-Type header
🐞 Bugfixes
- Set the
"Content-Type": "application/json"
when requesting abilities