feat(dagster): Update dagster (minor)#508
Open
plural-copilot[bot] wants to merge 1 commit into
Open
Conversation
1b1e4f6 to
80467f1
Compare
80467f1 to
720a8f8
Compare
720a8f8 to
493a878
Compare
493a878 to
b53a4a7
Compare
b53a4a7 to
df0dd5f
Compare
df0dd5f to
7101fe3
Compare
8a1ab1f to
a5d7dd9
Compare
a5d7dd9 to
e531ab1
Compare
e531ab1 to
401489f
Compare
ba82c78 to
895ebed
Compare
b83a5f7 to
cff19c1
Compare
cff19c1 to
977f2b4
Compare
977f2b4 to
55a3a7b
Compare
f125ac5 to
8a49d67
Compare
8a49d67 to
553ae19
Compare
553ae19 to
e4e69ee
Compare
e4e69ee to
675b438
Compare
675b438 to
ab12f06
Compare
ab12f06 to
bfbf8c0
Compare
f71d0d8 to
e4ca3b3
Compare
e4ca3b3 to
05c1bed
Compare
05c1bed to
c6fdfbb
Compare
| @@ -1,4 +1,4 @@ | |||
| FROM docker.io/dagster/user-code-example:1.7.12 | |||
| FROM docker.io/dagster/user-code-example:1.11.2 | |||
Check failure
Code scanning / Trivy
Image user should not be 'root' High
| @@ -1,4 +1,4 @@ | |||
| FROM docker.io/dagster/user-code-example:1.7.12 | |||
| FROM docker.io/dagster/user-code-example:1.11.2 | |||
Check notice
Code scanning / Trivy
No HEALTHCHECK defined Low
c6fdfbb to
54682fd
Compare
Signed-off-by: plural-copilot[bot] <172153387+plural-copilot[bot]@users.noreply.github.com>
54682fd to
f7196e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.23.12->==0.27.2==0.23.12->==0.27.21.7.12->1.11.2Release Notes
dagster-io/dagster (dagster-azure)
v0.27.2New
dagsterpackage now supports Python 3.13.dagster-snowflake-polarspackage adds aSnowflakePolarsIOManagerthat can be used to read and write Snowflake tables using Polars.Bugfixes
Documentation
dbt_profiles.ymlin thedagster-dbttutorial (thanks @EFox2413!).Dagster Plus
v0.27.1New
dagster definitions validatewill now raise an exception if there are invalid partition mappings between any assets in your asset graph (for example, an upstream and downstream asset with time-based partitions definitions using different timezones).blocking.Bugfixes
@graphnow correctly allows omitting inputs when the destinations of an input mapping have a default value.@recordclasses no longer create problematic namespace conflicts with the symbol "check."Documentation
Dagster Plus
dg & Components
dg scaffold github-actionswould invoke thedgCLI with outdated parameters for serverless orgs.v0.27.0v0.26.21New
tableau_assetsdecorator is now available to create the asset definitions of all materializable assets in a given Tableau workspace. These assets can be subsetted and materialized using theTableauCloudWorkspace.refresh_and_pollmethod.get_*_asset_keymethods on theDagsterTableauTranslatorclass have been removed.Bugfixes
staleStatusByPartition,staleCausesByPartition, anddataVersionByPartitionfields on the graphqlAssetNodewould fail when called on an asset with dynamic partitions.__init__method would raise an Exception during execution.slingdependency.SlingResourcethat could cause values specified withEnvVars to provide the env var name instead of the env var value to the sling replication configuration.dagster-fivetran snapshotcommand, allowing Fivetran workspaces to be captured to a file for faster subsequent loading.Dagster Plus
dg & Components
FunctionComponent,PythonScriptComponent, andUvRunComponentto make it easier to define arbitrary computations that execute assets or asset checks when invoked.partitions_defasset customization in YAML.dg scaffold defs ....partitions_defkey.dgcache is no longer operative, sincedgnow operates in the same python environment as the projects it manipulates. Config options for the cache have been removed.load_defsentrypoint has been deprecated in favor ofload_from_defs_folder, which takes a single path for a folder to load definitions from rather than a module object.asset_post_processorsfield onSlingReplicationCollectionComponentandAirflowInstanceComponentis no longer supported, and has been replaced with the top-levelpost_processorsfield.autoload_defs=truecould not be deployed to Dagster+.@previewfromComponent.ComponentLoadContextis now frozen and no longer in preview.Resolvedsubclasses now supportEnumfields.v0.26.20New
@assetdecorator now supports ahooksargument to allow for functions to be executed on asset success / failure (thanks @brunobbaraujo)!@multi_asset_checkdecorator now supports thepoolargument.DagsterDbtTranslatorclass now has aget_asset_check_specmethod which can be overridden to customize theAssetCheckSpecsthat are produced for each individual dbt test.Bugfixes
blockingattribute on anAssetCheckSpecwould halt execution of the step as soon as any asset check failure was emitted, even if the step still had asset materializations or check evaluations to emit that were not downstream of the failed asset check. Now that this issue has been fixed, theblockingattribute onAssetCheckSpechas been made a public attribute. If you were making use of theblockingattribute on AssetCheckSpec before it was public and relying on the previous behavior, you should exit from your asset evaluation function after emitting an AssetCheckFailure from within your multi-asset in order to halt further execution of the step.GraphDefinition.to_job()would not work if an op had a custom IO manager key..allow()and.ignore()applications to not propagate through.since()automation conditions.dagster devwas sometimes failing to load code locations with a "Deadline Exceeded" error unless the--use-legacy-code-server-behaviorflag was set.google-cloud-bigquery>=1.28.3pin to correctly reflect the lowest compatible version.Breaking Changes
Dagster Plus
dg & Components (Preview)
dg check yamlwhere valid component type names were rejected if they were not registered (i.e. visible fromdg check components).dg create-dagsternow warns when scaffolding a project or workspace if it is not the latest version.project.registry_modulesconfiguration can now accept wildcards (e.g.foo_bar.components.*). This will register any module matching the pattern withdg.envYAML function now errors if the specified env var is unset. Default values can be provided as an additional argument:{{ env('MY_ENV_VAR', 'default') }}dgregistry.PipesSubprocessScriptCollectionComponenthas been removed.dg check defsanddg devin a project folder that is part of the workspace will now only apply to that project, instead of every project in the workspace.dagster_dg_cli.pluginentry point.dghas been renamed fromdagster_dg_cli.plugintodagster_dg_cli.registry_modules(projects no longer need to define an entry point group at all).dg list plugin-moduleshas been renamed todg list registry-modules.dg list defsnow supports configuring output columns with the--columns/-coption.AirbyteCloudWorkspaceComponentwhich can be used to pull in Airbyte Cloud connections into Dagsterv0.26.19New
DbIOManageris now configurable via"table"output (asset) metadata key #30310use_threads=True,num_workers=4. Thanks @HynekBlaha!build_asset_check_contextcan be used to build asset check contexts for direct invocation.Definitions.get_all_asset_specsto only return assets directly passed in as AssetSpecs or AssetsDefinitions.selectionargument fromDefinitions.map_asset_specs. If selection is needed use the newDefinitions.map_resolved_asset_specs.Definitions.get_job_defnow warns when it finds an unresolved job or no job.Definitions.get_assets_defto return an AssetsDefinition without resolving if it was passed in directly.build_schedule_from_dbt_selectionnow supports aselectorargument, allowing you to use yaml-based selectors.dagster/deployment-namelabel.Bugfixes
dg & Components (Preview)
dg check defsanddg devin a project folder that is part of the workspace will now only apply to that project, instead of every project in the workspace.dg list defsnow supports the--assets/-aoption, to show only assets matching the provided selection.dg list defsnow supports a--pathargument to subset the defs files shown.create-dagster workspacecommand now accepts the same required path argument as thecreate-dagster projectcommand, instead of defaulting to adagster-workspacesubfolder of the current working directory.dagster_dg_cli.plugintodagster_dg_cli.registry_modules(projects no longer need to define an entry point group at all).dg list plugin-moduleshas been renamed todg list registry-modules.dagster_dg_cli.pluginentry point.Resolvablesubclasses can now use baredictandlistas field types.Resolvablesubclass will no longer change empty strings toNone.@definitions-decorated functions in a single module in thedefshierarchy and they are automatically merged and incorporated into the project.@component_instanceto replace@component. This allows multiple component instances in a python file.dgcommands would sometimes output extradagster_telemetry_loggerlines to stdout at the end of commands.@template_varas an alternative approach for defining variables in a templating context.v0.26.18New
BackfillPolicyis now marked as generally available (GA).@assetdecorator overloads to make custom wrappers around the asset decorator easier. Thanks @jonathanunderwood!get_client()to SlackResource.Bugfixes
DefinitionsandAssetDefinitionwill now warn if they get differentAssetSpecs with the same key. This will become an exception in 1.11.load_definitions_from_modulesnow handle duplicateAssetSpecs.load_assets_from_fivetran_instancewhere assets whose asset keys have been customized using a Fivetran translator would lead to an exception.Documentation
required_resource_keysin@sensor. Thanks @seyf97!Breaking Changes
DefinitionsandAssetDefinitionwill now warn if they get differentAssetSpecs with the same key. This will become an exception in 1.11.Dagster Plus
--waitto thedagster-cloud job launchcommand that makes it wait until the launched run copmletes. Thanks @stevenayers!dagster-cloudcli failed to deploy PEX projects on python 3.12 in certain environments without setuptools already installed.dg & Components (Preview)
dgCLI is now installed in each project's Python environment instead of as a global tool. If you previously haddginstalled globally and are upgrading, first uninstall the global dg tool (uv tool uninstall dagster-dgorpip uninstall dagster-dg) and adddagster-dg-clias a dependency to each of your projects. Newly scaffolded projects will automatically include thedgCLI going forward.create-dagsterCLI has been added for scaffolding projects instead of workspaces.uvx create-dagster projecthas replaceddg scaffold project, anduvx create-dagster workspacehas replaceddg scaffold workspace. The commands take identical arguments.dg scaffold defs <scaffolder>instead ofdg scaffold <scaffolder>.component.yamlfile to specify a component instance is now called "defs.yaml". "component.yaml" will remain supported for several weeks, but is deprecated.libfolder in newly scaffolded projects has been renamed to "components".dg scaffold component-typehas been renamed todg scaffold component.dg list pluginshas been renamed todg list plugin-modulesand now outputs only plugin module names, not plugin objects.dg list componentnow lists component types instead of instances.dagster.componentsare now available in the top-leveldagstermodule.@component_instanceto replace@component, which allows multiple component instances in a python file.dg scaffold defs <component>, you will now be prompted with possible matches.dg scaffold defs <component>.dg launchnow supports passing config files through--config/-c.Component.from_attributes_dictandComponent.from_yaml_pathto help with testing.dagster.components.testing.component_defsutility to help with testing components.dgare now loadable by default.dg scaffold defs inline-componentcan now be used to create inline components and corresponding instances.dg list defsnow outputs resources.dagster-dbtcli flag--componentsflag now correctly findsDbtProjectComponentagain.FivetranAccountComponentwhich can be used to pull in Fivetran connections into Dagster.load_assets_from_airbyte_instanceor other APIs that return aCacheableAssetsDefinition.v0.26.17Bugfixes
v0.26.16New
typing_extensionsis now pinned to>=4.11.0instead of>=4.10.0.Enable faceted asset nodes).Display integrations marketplace). It provides easy access to the gallery of dagster-supported plugins.Bugfixes
ExternalNotebookDataRequestGRPC call that would allow it to access files outside of the current directory.op_tagsset on@observable_source_assets to be dropped from the underlying step context object when executed.dagster devwould sometimes raise a gRPC error when loading several code locations at once.BoolSourcewould evaluate to True.executable_pathin a workspace.yaml file to run code locations in a different virtual environment would not correctly inherit the PATH of that virtual environment in the code location.OpExecutionContextwas used as the type hint for the context.timeoutproperty data type inClientConfigto be str instead of int (thanks, @edsoncezar16!)Documentation
K8sRunLauncherexample (thanks, @nishan-soni!)Dagster Plus
dg & Components (Preview)
AssetKeyandAssetSpec.dg list envnow displays whether env vars are configured in each Dagster Plus scope.Resolver.passthrough()to avoid processing fields on a component model.ResolvedAssetKeyis now exported fromdagster.components.dg inithas been removed.dg scaffold projectanddg scaffold workspaceshould be used instead.dg devfailed with a temporarily file permissions error when running on Windows. Thanks @polivbr!v0.26.15New
dagster.yamlto enable submitting backfill runs in a threadpool.Enable retries from asset failurefeature flag in your user settings.FivetranWorkspaceresource is now marked as generally available (GA).Bugfixes
Documentation
Deprecations
FivetranResourceresource is now deprecated. Use the newFivetranWorkspaceresource instead.dg & Components (Preview)
Scaffolder.scaffoldto have the params object as an attribute of theScaffoldRequestobject instead of a dictionary. This is a breaking change for those who have implemented a custom scaffolder.dg scaffold dagster.resources path/to/resources.py.@definitionsin thedefshierarchy.component.yamlfile in your editor.DbtProjectComponentfields now properly evaluate templates.asset_attributesparameter totranslation, in order to match our other integration components.dg devfailed with a temporary file permissions error when running on Windows. Thanks @polivbr!v0.26.14New
build_tableau_materializable_assets_definition.Bugfixes
MultiPartitionsDefinition.has_partition_key()on invalid keys.AutomationCondition.initial_evaluationwhich could cause it to returnFalsefor an asset that went from having a condition, to having no condition at all, back to having the original condition again.DagsterDbtTranslatorSettings.enable_source_tests_as_checksreturning duplicate asset checks.Documentation
Deprecations
dagster.InitResourceContext.dagster_runhas been deprecated in favor ofInitResourceContext.run.dg & Components (Preview)
Path.cwd()oros.getcwd(). Instead, you should use a path relative to the current source file when loading paths in a component, using thecontext.resolve_source_relative_pathmethod (seeresolve_dbt_projectinDbtProjectComponentfor an example).dagster.jobscaffolder.DbtProjectComponentnow has atranslation_settingsargument for adjustingDagsterDbtTranslatorSettings.DbtProjectComponentfields now properly evaluate templates.load_defsentrypoint, thanks @mattgiles!v0.26.13New
AutomationCondition.any_deps_matchorAutomationCondition.all_dep_matchwith an allow / ignore specified, an error will no longer be produced if the provided asset selection references an asset key that does not exist.dagster devis allowed to use to open subprocesses when running on Windows, by setting theDAGSTER_PORT_RANGEenv var to a string of the form<start>=<end>- for example "20000-30000".get_objectsnow returns an empty list if no new files can be found since thesince_last_modifiedparameter. Thanks @bartcode!@dbt_assetsandbuild_dbt_manifest_asset_selectionnow support aselectorargument, allowing you to use yaml-based selectors.Bugfixes
AutomationCondition.initial_evaluationwhich could cause it to returnFalsefor an asset that went from having a condition, to having no condition at all, back to having the original condition again.AutomationCondition.any_deps_updated()condition to evaluate toFalsewhen evaluated on a self-dependency.quickstart_awsexample. Thanks @Thenkei!Documentation
dg & Components (Preview)
ResolvedAssetSpec.descriptionandexamplesarguments have been added toResolverfor documenting fields on non-pydantic model basedResolvableclasses.v0.26.12New
By partitiongrouping view for recent events for assets that do not have a definition in the workspace.Bugfixes
can_subset=Trueto error when usingdagster-pipesif not all outputs were emitted.Documentation
dg & Components (Preview)
dgwill now fail with an error message if it's version is below the minimum supported version for the version ofdagsterin your environment.dgnow checks for new versions and prompts the user to update. The check runs automatically atdgstartup once per day.dgwill now emit a warning prompting the user to reinstall the package if it detects an entry point in project metadata that does not show up when running indg list plugins.dg list defsnow collapses long system stacktraces #29507dagster.multi_assetscaffolderdagster.asset_checkscaffolderdg list defswould crash if anything was written to stdout while loading a project's definitions.dguser config file on Unix has been moved from~/.dg.tomlto~/.config/dg.toml.~/.configcan be overridden by setting$XDG_CONFIG_HOME.dgcontents of the cache were in an outdated format,dgcould crash. Now it will just rebuild the cache.pipanduv.dgCLI will now emit a warning if you are using "active" mode for your project python environment, there is a virtual environment at<project_root>/.venv, and the activated venv is not<project_root>/.venvdgsettingcli.suppress_warningsis available. This takes a list of warning types to suppress.tool.dg.project.python_environmentpreviously accepted a string,"active"or"persistent_uv". Now it accepts a table with one of two keys:{active = true}: equivalent of previous"active"{uv_managed = true}: equivalent of previous"persistent_uv"tool.dg.project.python_environmentto{active = true}. This means by default, no virtual environment oruv.lockwill be created when scaffolding a new project (viadg initordg scaffold project). You can pass--python-environment uv_managedfor the old behavior.--skip-venvflag ondg scaffold projectanddg init.dagster_componentspackage has been merged intodagsterand use of thedagster-componentspackage has been deprecated.dagster-componentswill remain as a stub package for the next few weeks, but code should be updated to import fromdagster.componentsinstead ofdagster_components.dagster-dbt project prepare-and-packagecli now supports--componentsfor handlingDbtProjectComponentDbtProjectComponenthas been reworked, changing both the python api and the yaml schema.dbthas been replaced withprojectwith a slightly different schema, andasset_attributeswithtranslation.v0.26.11New
dagster/from_ui = truetag, making it easy to filter for them.AirflowFilterAPI for use withdagster-airlift, allows you to filter down the set of dags retrieved up front for perf improvements.Bugfixes
can_subset=Trueto error when usingdagster-pipesif not all outputs were emitted.state_pathargument toDbtCliResourcenow resolves relative to the project directory as documented.DAGSTER_PIPES_K8S_CONSUME_POD_LOGS_REQUEST_TIMEOUTenvironment variable) and to retry up to 5 times if an error occurs while streaming logs from the launched Kubernetes pod (this value can be overridden by setting theDAGSTER_PIPES_K8S_CONSUME_POD_LOGS_RETRIESenvironment variable.)DbtCliInvocation.stream_raw_events. (Thanks @ross-whatnot!)Dagster Plus
dg & Components (Preview)
dgCLI will now emit a warning if you are using "active" mode for your project python environment, there is a virtual environment at<project_root>/.venv, and the activated venv is not<project_root>/.venvdgsettingcli.suppress_warningsis now available. This takes a list of warning types to suppress.tool.dg.project.python_environmentpreviously accepted a string,"active"or"persistent_uv". Now it accepts a table with one of three keys: -{active = true}: equivalent of previous"active"-{uv_managed = true}: equivalent of previous"persistent_uv"tool.dg.project.python_environmentto{active = true}. This means by default, no virtual environment oruv.lockwill be created when scaffolding a new project (viadg initordg scaffold project). You can pass--python-environment uv_managedfor the old behavior.--skip-venvflag ondg scaffold projectanddg init.dg scaffold projectwere lackingdagsteras a dependency.dgplugin" guide.dg initcommand have changed. You may pass.as an argument to initialize a project/workspace in the CWD. Seedg init --helpfor more details.dagster-componentspackage (which was converted to a stub package in the last release) is no longer being published. Alldagster-componentsfunctionality is now part ofdagster.dagster_dg.pluginentry point group instead ofdagster_dg.library.dagster_dg.librarysupport is being kept for now for backcompatibility, but will be dropped in a few weeks.project/lib/__init__.pywhen scaffolding a component type.dg env listcommand is nowdg list envdg plus env pullcommand is nowdg plus pull env.dg list component-typecommand has been removed. There is a newdg list pluginswith output that is a superset ofdg list component-type.dguser config file on Unix is now looked for at~/.dg.tomlinstead of~/dg.toml.DbtProjectComponenthas been reworked, changing both the python api and the yaml schema.dbthas been replaced withprojectwith a slightly different schema, andasset_attributeswithtranslation.v0.26.10New
blockingparameter has been added tobuild_last_update_freshness_checksandbuild_time_partition_freshness_checks.DAGSTER_GRPC_MAX_RX_BYTESandDAGSTER_GRPC_MAX_SEND_BYTESenvironment variables on the gRPC client and server processes.Definitions.map_asset_specsmethod, which allows for the transformation of properties on any AssetSpec or AssetsDefinition objects in theDefinitionsobject which match a given asset selection.Definitions.validate_loadableanddagster definitions validatewill now raise an error on assets with invalid partition mappings, like aTimeWindowPartitionMappingbetween two time-based partitions definitions with different timezones. Previously, these invalid partition mappings would not raise an error until they were used to launch a run.PipesK8sClientlog streaming when transient networking errors occur. The default behavior of thePipesK8sClientis now to reconnect to the stream of logs every 3600 seconds (this value can be overridden by setting theDAGSTER_PIPES_K8S_CONSUME_POD_LOGS_REQUEST_TIMEOUTenvironment variable) and to retry up to 5 times if an error occurs while streaming logs from the launched Kubernetes pod (this value can be overridden by setting theDAGSTER_PIPES_K8S_CONSUME_POD_LOGS_RETRIESenvironment variable.)Bugfixes
NOT_STARTEDstatus instead of aSTARTINGstatus.AutomationCondition.executed_with_tags()that would cause thetag_keysargument to not be respected. Updated the display name ofAutomationCondition.executed_with_tags()to contain the relevant tag_keys and tag_values.FivetranWorkspace.sync_and_poll(...). Instead, they skip and a warning message is logged.dagster-cloud job launchcommand when launching runs targeting large numbers of assets or asset checks.Dagster Plus
Fixed an issue with the identification of the base repository URL the
DAGSTER_CLOUD_GIT_URL. The raw URL is now exposed asDAGSTER_CLOUD_RAW_GIT_URL.dg & Components (Preview)
dagster_componentspackage has been merged intodagster. All symbols exported fromdagster_componentsare now exported bydagster.dagster_dg.pluginentry point group instead ofdagster_dg.library.dagster_dg.librarysupport is being kept for now for backcompatibility, but will be dropped in a few weeks.Component.get_schemahas been renamed toComponent.get_model_cls. Override that instead to customize the frontend of your component.Component.get_schemawill continue to work for the time being but will be removed at some point in the future.dg.tomlfiles.dgsettings inpyproject.tomlare set undertool.dg, but indg.tomlthey are set at the top level. Adg.tomlmay be used in place ofpyproject.tomlat either the project or workspace level.dg-scaffolded workspaces now include adg.tomlinstead ofpyproject.tomlfile.dg initordg scaffold projectnow follow modern Python packaging conventions, placing the root module in a top-levelsrcdirectory and usehatchlingas build backend rather thansetuptools.dagster.components.Modelinstead of getting decorated with@dataclasses.dataclass.dg scaffold dagster.assetwill no longer be commented out.dg list component-typecommand has been removed. There is a newdg list pluginswith output that is a superset ofdg list component-type.dg list defsnow includes infomation about asset checks.project/lib/__init__.pywhen scaffolding a component type.dg list defs.dgwould crash when working with Python packages with an src-based layout.v0.26.9Bugfixes
dg & Components (Preview)
dg.tomlfiles.dgsettings inpyproject.tomlare set undertool.dg, but indg.tomlthey are set at the top level. Adg.tomlmay be used in place ofpyproject.tomlat either the project or workspace level.dg-scaffolded workspaces now include adg.tomlinstead ofpyproject.tomlfile.dg-scaffolded projects now place the root package in ansrc/directory and usehatchlingas the build backend rather thansetuptools.dgwould crash when working with Python packages with an src-based layout.dg check yamlnow properly validates component files in nested subdirectories of thedefs/folder.v0.26.8New
Bugfixes
AutomationCondition.initial_evaluationcondition has been updated to become true for all partitions of an asset whenever the PartitionsDefinition of that asset changes, rather than whenever the structure of the condition changes.build_fivetran_assets_definitionsin a singleDefinitionsobject would result in "duplicate node" errors when launching a run.key:"*substring*"instead ofname:"*substring*".Documentation
dg & Components (Preview)
DefsModuleComponenthas been renamed toDefsFolderComponent.dg scaffold my_project.ComponentTypeinstead ofdg scaffold component my_project.ComponentType.dagster list defswill now read environment variables from a local .env file if present when constructing the definitions.dagster-componentshas been merged intodagsterand use of thedagster-componentspackage has been deprecated.dagster-componentswill remain as a stub package for the next few weeks, but code should be updated to import fromdagster.componentsinstead ofdagster_components.DbtProjectComponenthas been relocated to thedagster-dbtpackage,importable as
dagster_dbt.DbtProjectComponent.SlingReplicationCollectionComponenthas been relocated to thedagster-slingpackage,importable as
dagster_sling.SlingReplicationCollectionComponent.v0.26.7New
Bugfixes
AutomationCondition.initial_evaluationcondition to become true for all partitions of an asset whenever the PartitionsDefinition of that asset changes, rather than whenever the structure of the condition changes.dagster-airbyte,dagster-dlift,dagster-dbt,dagster-fivetran,dagster-looker,dagster-powerbi,dagster-sigma, anddagster-tableau.key:"*substring*"instead ofname:"*substring*".@validatorwith@field_validatorin dagster_dbt/core/resource.py to prevent Pydantic deprecation warnings. (Thanks @tintamarre!)Documentation
Configuration
dagster-gcpversion while you migrate config. Please see the full list of changed fields: https://gist.github.com/deepyaman/b4d562e04fe571e40037a344b7a9937ddagster-awsand/ordagster-sparkversion while you migrate config. Please see the full list of changed fields: https://gist.github.com/deepyaman/f358f5a70fea28d5f164aca8da3dee04Dagster Plus
dg & Components (Preview)
use_dg_managed_environmentandrequire_local_venvcontrolled the environment used when launching project subprocesses. This is now configured at the project level. Thetool.dg.project.python_environmentsetting takes a value of eitherpersistent_uvoractive.persistent_uvwill be used by default in new scaffolded projects and uses a uv-managed.venvin the project root.activeis the default if notool.dg.project.python_environmentis set, and just uses the active python environment and opts out ofdgmanagement of the environment.Resolvable, has been added. This can be used to simplify the process of defining a yaml schema for your components. Instead of manually defining a manualResolvedFrom[...]andResolvableModel, the framework will automatically derive the model schema for you based off of the annotations of your class.@component) can now contain relative imports.dg initcommand now accepts optional--workspace-nameand--project-nameoptions to allow scaffolding an initial workspace and project via CLI options instead of prompts.dagster_components.dagster.DefsFolderComponentthat can be used at any level of yourdefs/folder to apply asset attributes to the definitions at or below that level. This was previously nameddagster_components.dagster.DefsModuleComponent.v0.26.6New
AutomationCondition.executed_with_tags()condition that makes it possible to filter for updates from runs with particular tags.AssetCheckEvaluationcan now be yielded from Dagster ops to log an evaluation of an asset check outside of an asset context.kindsargument todagster.AssetOut, allowing kinds to be specified in@multi_asset.AssetCheckEvaluationsare now yielded fromopsleveragingDbtCliResource.cli(...)when asset checks are included in the dbt asset lineage.SlingResource.replicate()method now takes an optionstreamparameter, which allows events to be streamed as the command executes, instead of waiting until it completes (thanks, @natpatchara-w!).DagsterGraphQLClientnow supports anauthkeyword argument, which is passed to the underlyingRequestsHTTPTransportconstructor.Bugfixes
AutomationCondition.newly_requested()which could cause it to fail when nested withinAutomationCondition.any_deps_match()orAutomationCondition.all_deps_match().AutomationCondition.replace()that would cause it to not effectAutomationCondition.since()conditions.dagster-airbyte,dagster-dlift,dagster-dbt,dagster-fivetran,dagster-looker,dagster-powerbi,dagster-sigma, anddagster-tableau.dg & Components (Preview)
__pycache__files are no longer included in the output ofdg list component. (Thanks @stevenayers!)depsof anAssetSpecfrom yaml, multi-part asset keys are now correctly parsed. (Thanks @stevenayers!)dagster.componentstodagster_dg.library.dg check yamlis now run by default beforedg devanddg check defs.v0.26.5New
async def yield_for_executionis now supported onConfigurableResource. Anevent_loopargument has been added to context builders to support direct execution.dagster devdeduplicates stacktraces when code locations fail to load, and will by default truncate them tConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.