Releases: hikariatama/Hikka
Releases · hikariatama/Hikka
Hikka 1.1.29 -> 1.2.7
🌑 Hikka 1.2.7
- Add automatic proxy pass
- Fix --no-web argument parsing
- Fix localization error in updater
- Print out only INFO statements to stdout
- Add rotating file handler (logfile with max 10MB size)
- Show web endpoint on startup if available
- Fix gallery
inline_message_id
error - Add support for
custom_buttons
ininline.list
- Add support for
custom_buttons
ininline.gallery
- Smart fast_uploader (Do not use hard download on files smaller than 1 MB)
- Attempt to parse
unit_id
from passedInlineCall
object ininline._delete_unit_message
- Reformatting
- Change typehints
- Show list-like values in formatted way in config
- Properly escape html in config
- Split config to pages and categories (core \ non-core)
- Properly edit dictionary config (iter)
- Properly remove items from series options through built-in configurator
- Remove warning from web by replacing coroutine generation with
functools.partial
🌑 Hikka 1.2.6
- Fix processing of
# scope: hikka_min
- Add
forbid_joins.py
(to use it, download module from official repo with the same name)
🌑 Hikka 1.2.5
- Add additional exit on restart to avoid port block
- Add unloaded module name on
.unloadmod
- Add
banner_url
config var toHikkaInfo
- Add
loader.validators.Hidden
- Add
websockets
dependency, so users can load hikarichat on Heroku - Add
reply_markup
kwarg toutils.answer
. This will automatically add buttons to plain message or edit buttons of inline unit - Add suggestion to join developer's channel on module load if available
- Add
client.force_get_entity
to bypass Hikka Cacher - Add clickable link to loaded module message if specified meta developer is channel
- Add support of
action
attributes for buttons ("action": "close", "action": "unload", "action": "answer") - Add log splitter between different clients of instance (if possible)
- Fix inline events
IndexError
- Fix text in inline input
- Fix translation issue in HikkaConfig
- Fix
.dump
- Fix modules list reset if you perform
.dlmod
when userbot is not yet fully loaded - Update links in README
- Remove nalinor from official repos until new modules appear
🌑 Hikka 1.2.4
- Show current options in module config
- Add new validators:
loader.validators.Union
,loader.validators.NoneType
- Add additional Heroku deps
- Fix
load_module
reattempt - Reorder database read-writes to make postgres the ladder
- Make redis optional for non-heroku users
- Add source to Pipfile
- New Heroku dependencies list in Pipfile
- External Redis database support
- Mask more options in logs and .e output
- Remove psycopg2 from requirements.txt
- New installation banner
- Add automatic blob->raw convertion in loader
- Add banner with Hikka installation status
- Reorder config saving in web
- Fix
Unauthorized
error on Heroku
🌑 Hikka 1.2.3
- Add field
action
to inline buttons. You can pass thereclose
to close inline form,unload
to unload it from memory,answer
&text
|show_alert
to answer callback query with message - Update docstrings in inline to match unified format
- Add surrogate error ignorance in dispatcher
- Fix :obj:
EntityCache
caching username@None
- Return :obj:
InlineMessage
inhikka.inline.gallery.Gallery.gallery
- Fix typo in docstring
🌑 Hikka 1.2.2
- Update gitignore so git doesn't count shit on heroku
- Visual heroku fixes in updater
- Deepsource fixes
- Add
utils.get_entity_url
,utils.get_message_link
,utils.remove_html
,utils.get_kwargs
- Disable modules debugging on heroku
- Add
.nonickusers
,.nonickcmds
,.nonickchats
- Update blacklist command docs
- Fix grep removing everything in <...>
- Add
loader.validators.RegExp
- Automatically convert
None
to empty string \ zero integer etc., if validator is specified - More meaningful errors in
inline_handler
s - More meaningful errors in
self.inline.form
,self.inline.gallery
,self.inline.list
on user-side - Allow editing\adding media to form via
call.edit
. Currently supported:photo
,file
,video
,audio
,gif
🌑 Hikka 1.2.1
- Add termux specific requirements
- Refactor
heroku.py
app searching algorithm - Refactor postgresql database saving process
- Fix heroku restart message not being edited
- Add heroku waker
- Make
hikka-
app naming optional
🌑 Hikka 1.2.0
- Add full-featured Heroku support with additional buildpacks
- Notify which dependencies are being installed in .dlmod
- Additional GeekTG compat layer
- Fix logging chat
- Rework sessions storage and retrieval
- Rework session processing in web
- Allow adding and removing multiple items in config
- Add
ast.literal_eval
to config - Add explicit typecheck for
mod.config
Hikka 1.1.28
- Fix non-working param
share_link
in loader - Assure logging bot is a member of logchat
- Do not store partial phone number in session, only ID
- Rework fast uploader so more types can be passed. For more information check code docstrings and typehints
- Rework installer so it properly displays which action is currently happening
- Fix
Series
not accepting one item - Show upcoming commit in update and warn if update is not required
- Add reset to default button to config
- Merge
hikka_logger.py
withtest.py
- Localization
- Allow opening options of specific mod via arguments in
.config
- Add
add
andremove
buttons toSeries
params - Do not unload form immediately, if
ttl
param was passed explicitly - Reorder the steps of parsing in
loader.validators.Series
- Fix aliases (yet another time)
- Fix minor bug in
loader.validators.Series
, which allowed to put empty string in it - Fix some translation issues and type conversion ones
- Fix incorrect modules loading if multiple links end with specified name
- Fix type conversion bug in
loader.validators.String
- Fix typehints flaws
- Add additional fields to
inline.form
:gif
,file
,mime\_type
,video
,location
,audio
- Add reset-to-default action, if config is invalid while loading the userbot to prevent fall
- Add verification emoji to
input
to let user know, that new value was processed - Add badge showing how much the last restart took
- Add
min_len
,max_len
,fixed_len
params toloader.validators.Series
- Add option to show downloaded module link in result message of
.dlmod
- Add explicit database save after applying new config
- Add hint to web
- Add code of conduct
- Add changelog
- Remove redundant code in
database.py
as it literally does nothing
Hikka 1.1.26
- Add separate messages on restart and full_restart. Second one is shown, when all modules are loaded
- Replace
.uninstall_hikka
with full uninstallation (remove bot, asset chats and folder) - Clean code
- Suggest update if it is required by module
- New validator:
Float
- Buttons in
.config
of option is a boolean value - Drop support of argument
positive
inloader.validators.Integer
as it can be easily replaced withminimum=0
- Update semantic generator in validators
- Yet another protection from monkey-patching
- Hopefully finally fix aliases being reset after restart
- Remove redundant internal hook
_client_ready2
- Show user evaluated version of config value instead of pre-comp one
- Add validator for each item to
Series
, removeseparator
- Add new validator:
TelegramID
Hikka 1.1.24
- Fix bugs related to web, more specifically: Session save timing, adding more than 1 account and proper restart
- Rework Dockerfiles so they work properly
- Add
uvloop
so the asyncio runs faster - Add Docker badge to info
- Improve Okteto performance by adjusting settings in
okteto-stack.yml
- New
ascii_faces
in utils - Typehints update
- Fix Okteto pinger messages removal
- Add config validators (
loader.validators
,Boolean
,Integer
,Choice
,Series
) - Change info layout
- Add
.uninstall_hikka
- Add
.clearlogs
- Refactor code
- Fix minor bugs
- Fix aliases being reset after restart (aliases will now be available only when userbot is fully loaded)
- Add
String
andLink
validators - Fix
Series
validator - Reformat core modules to use validators
Hikka 1.1.21
- Fix translation typos
- Add nonick suggestion when adding user to group
- Add entity caching
Hikka 1.1.20
- Add legacy fs modules migration
- Add ready asyncio Event to help track userbot loading process from outside
- Replace logging in loader with module-dependent one
- Fix some bugs and bug-rist issues
- Refactor code
- Send big logs as file, rather than an infinite series of messages
- HTML-escape # meta developer:
- Make self.animate available for core modules and modules, loaded from file
Hikka 1.1.19
- Fix infinite loops
- Add client-specific check of fs modules
- Use classname of module, if it is possible to parse it with ast
- Rework infinite loops stopping and modules instance placement
Hikka 1.1.18
- Add notification about not exact match in help
- Add automatic progress bar generation to
self.fast_upload
andself.fast_download
- Make
Mod
ending in modules class name not mandatory