Whats New¶
This page keeps a detailed human friendly rendering of what’s new and changed in specific versions.
v2.0.0¶
Breaking Changes¶
Remove
flogin.jsonrpc.errors.JsonRPCVersionMismatchAPI Methods now raise
flogin.jsonrpc.errors.JsonRPCExceptioninstead of returning an instance offlogin.jsonrpc.responses.ErrorResponse
New Features¶
Add the ability to use
flogin.plugin.Plugin.search()as a classmethodAllow
flogin.jsonrpc.results.Result.callback()to returnboolandNoneontop offlogin.jsonrpc.responses.ExecuteResponseAdd the
nameargument in theflogin.utils.print()function.Add
flogin.pip.Pip
Bug Fixes¶
Fix bugs with how errors were handled inproperly
Fix bug with
flogin.query.Query.keywordshowing an empty string instead of*when a star keyword is used.Fix bug with log formatting being eager, resulting in unneccessary formatting when logs are disabled.
v1.1.0¶
New Features¶
Add the
flow_version,flow_program_dir, andflow_application_dirkeyword arguments toflogin.testing.plugin_tester.PluginTesterAdd the ability to use
flogin.plugin.Plugin.event()as a classmethod
Bug Fixes¶
Fix bug where
auto_complete_text,preview, andprogress_bararen’t present inResultConstructorArgsFix typo in the logs where
resultis spelled asreusltin the defaultflogin.jsonrpc.results.Result.on_error()implementationFix mistake where the logs generated by the default implementation of
flogin.search_handler.SearchHandler.on_error()say the error comes from areuslt callback, and ot asearch handler callback.
v1.0.0¶
Breaking Changes¶
Move
flogin.jsonrpc.results.Glyphsupport fromflogin.jsonrpc.results.Result.icontoflogin.jsonrpc.results.Result.glyph- Return
Noneif a setting is not found inflogin.settings.Setting Remove
flogin.errors.SettingNotFound
- Return
Rewrite the CLI commands
Remove
flogin.conditions.MultiConditionin favor offlogin.conditions.AnyConditionandflogin.conditions.AllConditionRemove
Query.from_jsonFor
flogin.testing.plugin_tester.PluginTester.test_query(), switch from receiving a query object to taking kwargs that will be used to make a query object- Rename the
flogin.flow_apidirectory toflogin.flow Rename
flogin.flow_api.client.pytoflogin.flow.api.py
- Rename the
Undocument
flogin.utils.cached_propertyRemove
flogin.utils.cached_coroRemove
flogin.utils.cached_gen
New Features¶
Add
Query.__repr__Let
flogin.search_handler.SearchHandler.callback()andflogin.jsonrpc.results.Result.context_menu()returnNoneAdd
Generictoflogin.search_handler.SearchHandlerforflogin.search_handler.SearchHandler.pluginAdd
Generictoflogin.jsonrpc.results.Resultforflogin.jsonrpc.results.Result.pluginUpdate
Query.__init__to allow for an easier time manually creating query objects.Add the ability to supply a default into
flogin.settings.Settings.__getitem__Add a generic to
flogin.plugin.Pluginfor a customflogin.settings.Settingsclass.Document the generic in
flogin.jsonrpc.results.Resultfor a custom plugin class.Document the generic in
flogin.search_handler.SearchHandler.pluginfor a custom plugin class.Document the generic in
flogin.query.Queryforflogin.query.Query.condition_dataMake
flogin.jsonrpc.results.Result.titleoptional- Add
flogin.flow.settings.py
- Add
- Add
flogin.flow.enums.py
- Add
Support python
3.13Add the
ignore_cancellation_requestsandsettings_no_updateparameters to theflogin.plugin.PluginconstructorAdd
SearchHandler.__init_subclassed__with the same kwargs asflogin.search_handler.SearchHandler()andflogin.plugin.Plugin.search()Add
keyword,allowed_keywords,text,patterns, anddisallowed_keywordskwargs toflogin.search_handler.SearchHandlerAdd
keyword,allowed_keywords, anddisallowed_keywordskwargs toflogin.plugin.Plugin.search()Document the on_close event
Bug Fixes¶
Fix bug where
flogin.flow.api.FlowLauncherAPI.update_results()does not register the results, so callbacks do not get triggered.Fix typing bug with
flogin.plugin.Plugin.register_search_handlers()andflogin.plugin.Plugin.register_search_handler()due toflogin.search_handler.SearchHandlerbeing a generic.Fix bug where
Glyphwas not included inResultConstructorArgsFix bug with the
PluginTTypeVar not being marked as covariantFix bug with the default settings reader looking for the wrong path.
Fix some typos in the docs
Fix deadlock on shutdown due to flogin not sending a response
Removals¶
Remove the
CLIdocs sectionRemove click as a dependency.
v0.0.5¶
New Features¶
Add the Whats New section in the docs
Add
flogin gh gitignoreCLI command- Add
flogin.jsonrpc.results.Glyph Allow
Glyphobjects inflogin.jsonrpc.results.Result.icon
- Add
Add
flogin create settingsCLI commandAdd
flogin.utils.cached_gen()
Bug Fixes¶
Fixed bug with the create plugin.json CLI command dumping the wrong data.
Add the missing dependency click
Fix bug where
flogin.search_handler.SearchHandler.pluginisNonewhenflogin.search_handler.SearchHandler.conditionis ran.Fix an
AttributeErrorthat gets raised in a couple ofFlowLauncherAPImethodsLog fatal errors that cause startup crashes to prevent them from being hidden.
Fix bug where
rounded_iconwas not present inResultConstructorArgsFix a
NameErrorthat gets raised in the defaultflogin.jsonrpc.results.Result.callback()Fix bug where
flogin.plugin.Plugin.settingswill be replaced with a newSettingsinstance every time a new query request is received, preventing making setting changes.